This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author baruch.sterin
Recipients baruch.sterin, docs@python
Date 2012-03-04.06:06:06
SpamBayes Score 6.387421e-06
Marked as misclassified No
Message-id <1330841228.13.0.736937779561.issue14190@psf.upfronthosting.co.za>
In-reply-to
Content
The following functions are documented, but do not exist in the code:

* PyCodec_KnownEncoding
* PyRun_SimpleFileFlags

The following function is documented and exists in the code, but is not exposed through any of the header files:

PyParser_SimpleParseStringFlagsFilename

The prototype in the documentation is incorrect:

* PyOS_stricmp returns int, not char*
* PyOS_strnicmp returns int, not char*
* PyCode_GetNumFree accepts a PyCodeObject* not PyObject*
* PyCode_NewEmpty returns a PyCodeObject* not PyObject*
* PyFile_SetBufSize accepts a PyObject*, not PyCodeObject
* PyGILState_GetThisThreadState returns PyThreadState* not PyThreadState
* PyUnicode_EncodeRawUnicodeEscape accepts 2, not 3 arguments
* PyUnicode_RichCompare returns PyObject*, not int
* PyType_IS_GC needs a PyTypeObject*, not PyObject*
* PyType_HasFeature needs a PyTypeObject*, not PyObject*

In addition, PyLong_FromSsize_t and PyLong_FromSsize_t are documented twice in long.html.
History
Date User Action Args
2012-03-04 06:07:08baruch.sterinsetrecipients: + baruch.sterin, docs@python
2012-03-04 06:07:08baruch.sterinsetmessageid: <1330841228.13.0.736937779561.issue14190@psf.upfronthosting.co.za>
2012-03-04 06:06:07baruch.sterinlinkissue14190 messages
2012-03-04 06:06:07baruch.sterincreate