> > Issue 2440: fix the handling of %n in Python/getargs.c's
> convertsimple(),
> > extend Objects/abstract.c's PyNumber_Index() to accept PyObjects that
> have nb_int slots,
> > and update test_getargs2 to test that an exception is thrown when
> __int__() returns a non-int object.
>
> Does this mean that floats can now be used as list indexes?
> Preventing this was the motivation for introducing the nb_index slot.

It sure did!  At least, between r62269 and r62279 ;-)  Ben pointed out my 
error, which I fixed in r62280.

        Trent.
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to