A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-March/022039.html below:

[Python-Dev] Unused PyArg_* functions

[Python-Dev] Unused PyArg_* functions [Python-Dev] Unused PyArg_* functionsNeal Norwitz neal@metaslash.com
Sun, 31 Mar 2002 17:26:35 -0500
All of these functions are undocumented and used in exactly one place:
Modules/glmodule.c.  The functions are defined in Modules/cgensupport.c.
They are not exported in Include/modsupport.h.

PyArg_GetObject
PyArg_GetLong
PyArg_GetShort
PyArg_GetFloat
PyArg_GetString
PyArg_GetChar
PyArg_GetLongArraySize
PyArg_GetShortArraySize
PyArg_GetLongArray
PyArg_GetShortArray
PyArg_GetDoubleArray
PyArg_GetFloatArray

Are these generally useful?  Are they used by extensions (other than gl)?
Should they be moved to glmodule?

PyArg_VaParse() is exported in modsupport, but it is neither used 
nor documented.  Should I do leave it alone or remove it?

Are there other simple cleanups that need/ought to get done?

Neal



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4