[issue6012] enhance getargs O& to accept cleanup function

Martin v. Löwis report at bugs.python.org
Sun May 24 23:39:42 CEST 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

> Reusing O& looks better to me (we already have too many type specifiers). 
> Why have you chosen 0x20000 for Py_CLEANUP_SUPPORTED? Are there other
> possible values below that?

It's essentially random. I want it to be a power of two, in case we make
it a bit mask some day, and significantly different from 1. 0x20000 was
the smallest number that qualified :-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6012>
_______________________________________


More information about the Python-bugs-list mailing list