[issue7463] PyDateTime_IMPORT() causes compiler warnings
Alexander Belopolsky
report at bugs.python.org
Sun Jun 6 20:04:09 CEST 2010
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
PyCObject is deprecated in 2.7 and removed in 3.x. PyCapsule_Import() should be used instead of PyCObject_Import() and it already has correct signature:
Include/pycapsule.h:PyAPI_FUNC(void *) PyCapsule_Import(const char *name, int no_block);
Since this is not a bug, I don't think it is appropriate to change it in 2.x.
----------
resolution: -> out of date
stage: needs patch -> committed/rejected
status: open -> pending
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7463>
_______________________________________
More information about the Python-bugs-list
mailing list