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 robertwb
Date 2007-12-01.00:28:09
SpamBayes Score 0.024279
Marked as misclassified No
Message-id <>
Range accepts arguments coerce-able into ints via __int__, but rejects
arguments coerce-able into longs but to large to fit into an int. 

The problem is in handle_range_longs in bltinmodule.c:1527-1541. If they
type is not an int or long, it should try to make it so before failing
(for consistency with smaller values at least). 

Attached is a file that reproduces this bug.
File name Uploaded robertwb, 2007-12-01.00:28:09
Date User Action Args
2007-12-01 00:28:10robertwbsetspambayes_score: 0.024279 -> 0.024279
recipients: + robertwb
2007-12-01 00:28:10robertwbsetspambayes_score: 0.024279 -> 0.024279
messageid: <>
2007-12-01 00:28:10robertwblinkissue1533 messages
2007-12-01 00:28:09robertwbcreate