Author loewis
Recipients loewis, ocean-city
Date 2009-05-13.18:44:48
SpamBayes Score 8.85091e-07
Marked as misclassified No
Message-id <1242240290.87.0.659111575293.issue6012@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2009-05-13 18:44:51loewissetrecipients: + loewis, ocean-city
2009-05-13 18:44:50loewissetmessageid: <1242240290.87.0.659111575293.issue6012@psf.upfronthosting.co.za>
2009-05-13 18:44:49loewislinkissue6012 messages
2009-05-13 18:44:48loewiscreate