Hirokazu Yamamoto <ocean-c...@m2.ccsnet.ne.jp> added the comment: > the same function can be both > argument parser and cleanup function
Here is an another experimental patch to implement this. (Is this right usage of PyCObject_FromVoidPtrAndDesc?) > As not all converters would need or support cleanup, converters > that do need cleanup could be required to return Py_CLEANUP_SUPPORTED Well, this is not implemented yet. (I introduced another format temporary) Does this mean converter should return Py_CLEANUP_SUPPORTED instead of 1 when cleanup is needed? ---------- Added file: http://bugs.python.org/file13982/experimental_getargs_with_cleanup_v2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6012> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com