Mailing List Archive

[ python-Bugs-1296321 ] Python/C API Reference Manual, 7.2.1.1 Boolean Objects
Bugs item #1296321, was opened at 2005-09-20 19:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
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


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1296321&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[ python-Bugs-1296321 ] Python/C API Reference Manual, 7.2.1.1 Boolean Objects [ In reply to ]
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
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com