This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author robertwb
Recipients akitada, belopolsky, christian.heimes, josm, rhettinger, robertwb, zanella
Date 2008-11-29.20:45:36
SpamBayes Score 0.020776885
Marked as misclassified No
Message-id <1227991537.71.0.00164645391464.issue1533@psf.upfronthosting.co.za>
In-reply-to
Content
I think *both* behaviors are wrong, the 3.0 one is backwards
incompatible, and the 2.7 one is inconsistent (accepting MyInt if it's <
32 bits, rejecting it for > 64 bits). 

For our particular use case, it is very annoying to not be able to use
non-ints. It goes against the principle duck typing by simply defining
the __int__ and __index__ methods.
History
Date User Action Args
2008-11-29 20:45:38robertwbsetrecipients: + robertwb, rhettinger, belopolsky, christian.heimes, josm, zanella, akitada
2008-11-29 20:45:37robertwbsetmessageid: <1227991537.71.0.00164645391464.issue1533@psf.upfronthosting.co.za>
2008-11-29 20:45:36robertwblinkissue1533 messages
2008-11-29 20:45:36robertwbcreate