Author loewis
Recipients loewis, ocean-city
Date 2009-05-13.18:44:48
SpamBayes Score 8.85091e-07
Marked as misclassified No
Message-id <>
I would propose a different approach: the same function can be both
argument parser and cleanup function. In parsing, the PyObject* points
to the parameter being converted. In cleanup, it points to NULL.

This would allow the O& to continue to be used even if cleanup is
needed. As not all converters would need or support cleanup, converters
that do need cleanup could be required to return Py_CLEANUP_SUPPORTED
(which would be, say, 131072).
Date User Action Args
2009-05-13 18:44:51loewissetrecipients: + loewis, ocean-city
2009-05-13 18:44:50loewissetmessageid: <>
2009-05-13 18:44:49loewislinkissue6012 messages
2009-05-13 18:44:48loewiscreate