[Python-bugs-list] [ python-Bugs-440041 ] Inconsistencies in C API calls

noreply@sourceforge.net noreply@sourceforge.net
Tue, 10 Jul 2001 06:31:44 -0700


Bugs item #440041, was opened at 2001-07-10 06:31
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=440041&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Inconsistencies in C API calls

Initial Comment:
Hello,

While writing a code generator for calling Python
functions from C, I encountered some inconsistencies in
a few calls in C API interface:

- PyLong_AS_LONG() does not exist, while
PyInt_AS_LONG() does
- The return type of PyList_SET_ITEM() is different
from 'void PyTuple_SET_ITEM()

I also found a number of documentation bugs, but those
are reported in report #440037

Albert

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=440041&group_id=5470