[Python-Dev] [Python-checkins] cpython (3.3): Reject float as uid or gid.

Serhiy Storchaka storchaka at gmail.com
Mon Feb 11 16:07:31 CET 2013


On 11.02.13 01:06, Eric V. Smith wrote:
> Instead of special-casing float, isn't using __index__ the preferred way
> to do this?

Perhaps. I just copied this code from PyArg_ParseTuple*() for 'l' format.



More information about the Python-Dev mailing list