[ python-Bugs-1296321 ] Python/C API Reference Manual, 7.2.1.1 Boolean Objects
SourceForge.net
noreply at sourceforge.net
Tue Sep 20 14:54:12 CEST 2005
Bugs item #1296321, was opened at 2005-09-20 13:56
Message generated for change (Comment added) made by birkenfeld
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1296321&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.3
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Li Daobing (nichloas)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python/C API Reference Manual, 7.2.1.1 Boolean Objects
Initial Comment:
1. PyBool_Check is double documented.
[1] http://www.python.org/doc/2.3.5/api/boolObjects.html
2. PyBool_FromLong's return type should be PyObject*,
this bug also in python2.4[2], the funtcion declaration
in header file[3][4] is
PyAPI_FUNC(PyObject *) PyBool_FromLong(long);
[1] http://www.python.org/doc/2.3.5/api/boolObjects.html
[2] http://www.python.org/doc/2.4.1/api/boolObjects.html
[3] /usr/include/python2.3/boolobject.h
[4] /usr/include/python2.4/boolobject.h
Thanks
----------------------------------------------------------------------
>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-09-20 14:54
Message:
Logged In: YES
user_id=1188172
Both are already fixed in 2.4 CVS.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1296321&group_id=5470
More information about the Python-bugs-list
mailing list