[Python-bugs-list] [ python-Bugs-536469 ] module array: C type descriptions wrong

noreply@sourceforge.net noreply@sourceforge.net
Mon, 01 Apr 2002 15:06:06 -0800


Bugs item #536469, was opened at 2002-03-28 15:57
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=536469&group_id=5470

Category: Documentation
Group: Python 2.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Mark Histed (histed)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: module array:  C type descriptions wrong

Initial Comment:
The C types corresponding to the 'array' type codes
seem to be documented incorrectly.

See:
http://www.python.org/doc/current/lib/module-array.html

All C integer types are listed as 'int' or 'unsigned
int'.  I'm guessing from the sizes and the C standard
that these should be 'char', 'short', 'int', and 'long'.

This agrees with what the Python Essential reference
has to say (Beazley, p127)



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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-04-01 18:06

Message:
Logged In: YES 
user_id=3066

Fixed in Doc/lib/libarray.tex revisions 1.31.8.1 and 1.33.

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

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