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 Ziyuan.Lin
Recipients Ziyuan.Lin
Date 2013-12-08.20:57:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386536231.5.0.310444534169.issue19932@psf.upfronthosting.co.za>
In-reply-to
Content
In Include\import.h, line 89-97:

PyAPI_FUNC(PyObject *)_PyImport_FindBuiltin(
    const char *name            /* UTF-8 encoded string */
    );
PyAPI_FUNC(PyObject *)_PyImport_FindExtensionObject(PyObject *, PyObject *);
PyAPI_FUNC(int)_PyImport_FixupBuiltin(
    PyObject *mod,
    char *name                  /* UTF-8 encoded string */
    );
PyAPI_FUNC(int)_PyImport_FixupExtensionObject(PyObject*, PyObject *, PyObject *);


Shouldn't they be the following:

PyAPI_FUNC(PyObject *) _PyImport_FindBuiltin(
    const char *name            /* UTF-8 encoded string */
    );
PyAPI_FUNC(PyObject *) _PyImport_FindExtensionObject(PyObject *, PyObject *);
PyAPI_FUNC(int)_PyImport_FixupBuiltin(
    PyObject *mod,
    char *name                  /* UTF-8 encoded string */
    );
PyAPI_FUNC(int) _PyImport_FixupExtensionObject(PyObject*, PyObject *, PyObject *);
History
Date User Action Args
2013-12-08 20:57:11Ziyuan.Linsetrecipients: + Ziyuan.Lin
2013-12-08 20:57:11Ziyuan.Linsetmessageid: <1386536231.5.0.310444534169.issue19932@psf.upfronthosting.co.za>
2013-12-08 20:57:11Ziyuan.Linlinkissue19932 messages
2013-12-08 20:57:11Ziyuan.Lincreate