Message87700
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:51 | loewis | set | recipients:
+ loewis, ocean-city |
2009-05-13 18:44:50 | loewis | set | messageid: <1242240290.87.0.659111575293.issue6012@psf.upfronthosting.co.za> |
2009-05-13 18:44:49 | loewis | link | issue6012 messages |
2009-05-13 18:44:48 | loewis | create | |
|