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.0207769
Marked as misclassified No
Message-id <>
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.
Date User Action Args
2008-11-29 20:45:38robertwbsetrecipients: + robertwb, rhettinger, belopolsky, christian.heimes, josm, zanella, akitada
2008-11-29 20:45:37robertwbsetmessageid: <>
2008-11-29 20:45:36robertwblinkissue1533 messages
2008-11-29 20:45:36robertwbcreate