[Python-bugs-list] [ python-Bugs-590207 ] PyMapping_Keys unexported in dll

noreply@sourceforge.net noreply@sourceforge.net
Tue, 27 Aug 2002 13:20:48 -0700


Bugs item #590207, was opened at 2002-08-02 11:38
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=590207&group_id=5470

Category: Windows
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Marco Beri (marcoberi)
Assigned to: Tim Peters (tim_one)
Summary: PyMapping_Keys unexported in dll

Initial Comment:
PyMapping_Keys (as lots of other C API) is not 
exported in python22.dll.

Moreover, with a binary search I find an undocumented 
PyMapping_Size function.


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

>Comment By: Tim Peters (tim_one)
Date: 2002-08-27 16:20

Message:
Logged In: YES 
user_id=31435

PyMapping_Keys is a macro -- it can't be exported, as there 
is no function of that name.  Its expansion is supplied by 
including Python.h.

PyMapping_Size is deliberately undocumented; it's an 
obsolete name for PyMapping_Length.  Note that the point 
isn't to export every conceivable entry point, it's to make the 
documented C API available.  A lot of stuff in the header files 
exists only for backward compatibility with obsolete spellings.

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

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