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.
___
Python-Dev mailing list
Python-Dev@python.org
On 2/10/2013 4:29 PM, serhiy.storchaka wrote:
> http://hg.python.org/cpython/rev/4ef048f4834e
> changeset: 82147:4ef048f4834e
> branch: 3.3
> parent: 82145:b322655a4a88
> user:Serhiy Storchaka
> date:Sun Feb 10 23:28:02 2013 +0200
> summary:
> Reject float as uid or g