[issue14190] Minor C API documentation bugs

2012-07-13 Thread Eli Bendersky
Eli Bendersky added the comment: Closing, as I don't think it's terribly important to backport this. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue14190] Minor C API documentation bugs

2012-06-02 Thread Eli Bendersky
Eli Bendersky added the comment: Fixed what was relevant for default (3.3) in 90f0dd118aa4 (the commit message there has a typo in the issue number). Since 3.3 is going to be out soon, I see no real reason to backport to 3.2 If anyone is willing to create a complete patch for 2.7 that fixes t

[issue14190] Minor C API documentation bugs

2012-03-10 Thread Ejaj Hassan
Ejaj Hassan added the comment: The diff file is the second submission containing the fixes to the following bugs: * PyCode_GetNumFree accepts a PyCodeObject* not PyObject* * PyOS_strnicmp returns int, not char* * PyUnicode_RichCompare returns PyObject*, not int * PyType_IS_GC needs a PyTypeObje

[issue14190] Minor C API documentation bugs

2012-03-10 Thread Ejaj Hassan
Ejaj Hassan added the comment: The patch removes the function *PyCodec_KnownEncoding form document codec.rst found in cpython/doc/c-api -- keywords: +patch nosy: +ejjy Added file: http://bugs.python.org/file24779/issues14190.diff ___ Python tracker

[issue14190] Minor C API documentation bugs

2012-03-04 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +haypo, loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14190] Minor C API documentation bugs

2012-03-04 Thread Eli Bendersky
Changes by Eli Bendersky : -- keywords: +easy versions: +Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue14190] Minor C API documentation bugs

2012-03-04 Thread Baruch Sterin
Baruch Sterin added the comment: A few additional ones: The prototype in the documentation is incorrect: * PyFile_SetEncoding accepts PyObject*, not PyFileObject* * PyFile_SetEncodingAndErrors accepts PyObject*, not PyFileObject* PyLong_AsSsize_t is also duplicated. -- _

[issue14190] Minor C API documentation bugs

2012-03-04 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue14190] Minor C API documentation bugs

2012-03-03 Thread Baruch Sterin
New submission from Baruch Sterin : 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_SimpleParseString