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 <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