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 josm
Recipients josm, robertwb
Date 2007-12-01.01:37:18
SpamBayes Score 0.4253635
Marked as misclassified No
Message-id <1196473038.8.0.375307527311.issue1533@psf.upfronthosting.co.za>
In-reply-to
Content
Is this a bug?
  print range(MyInt(2**64), MyInt(2**64+10)) 
produced
 TypeError: range() integer start argument expected, got instance.

print range(int(MyInt(2**64)), int(MyInt(2**64+10)))
should work.
History
Date User Action Args
2007-12-01 01:37:18josmsetspambayes_score: 0.425364 -> 0.4253635
recipients: + josm, robertwb
2007-12-01 01:37:18josmsetspambayes_score: 0.425364 -> 0.425364
messageid: <1196473038.8.0.375307527311.issue1533@psf.upfronthosting.co.za>
2007-12-01 01:37:18josmlinkissue1533 messages
2007-12-01 01:37:18josmcreate