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 belopolsky
Recipients Alexander.Belopolsky, akitada, belopolsky, christian.heimes, josm, loewis, mark.dickinson, rhettinger, robertwb, zanella
Date 2010-05-04.18:30:16
SpamBayes Score 0.00017133325
Marked as misclassified No
Message-id <1272997818.78.0.377096469151.issue1533@psf.upfronthosting.co.za>
In-reply-to
Content
I am attaching a py3k patch that adds new tests.  Since there are no end user visible changes, I don't believe a Misc/NEWS entry is needed.  A commit message may read:

Issue #1533: Tests only. Added tests for consistency in range function argument processing. 

Note that the first chunk:

-        # Reject floats when it would require PyLongs to represent.
-        # (smaller floats still accepted, but deprecated)
+        # Reject floats.
+        self.assertRaises(TypeError, range, 1., 1., 1.)

is applicable to the trunk as well.
History
Date User Action Args
2010-05-04 18:30:19belopolskysetrecipients: + belopolsky, loewis, rhettinger, mark.dickinson, christian.heimes, josm, robertwb, zanella, akitada, Alexander.Belopolsky
2010-05-04 18:30:18belopolskysetmessageid: <1272997818.78.0.377096469151.issue1533@psf.upfronthosting.co.za>
2010-05-04 18:30:17belopolskylinkissue1533 messages
2010-05-04 18:30:17belopolskycreate