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 mfxmfx
Recipients mfxmfx
Date 2009-06-24.10:51:40
SpamBayes Score 1.0212511e-08
Marked as misclassified No
Message-id <1245840703.27.0.965976477326.issue6334@psf.upfronthosting.co.za>
In-reply-to
Content
Please note that the correct answer is 25, and the last element is missing !

This bug does not show on 64-bit versions (but 46337**2 is near 2**31).

~Markus


C:\Python31>python
Python 3.1rc2 (r31rc2:73414, Jun 13 2009, 16:43:15) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> len(list(range(46337**2, 46349**2, 46337)))
24

C:\Python30>python.exe
Python 3.0.1 (r301:69561, Feb 13 2009, 20:04:18) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> len(list(range(46337**2, 46349**2, 46337)))
24
History
Date User Action Args
2009-06-24 10:51:43mfxmfxsetrecipients: + mfxmfx
2009-06-24 10:51:43mfxmfxsetmessageid: <1245840703.27.0.965976477326.issue6334@psf.upfronthosting.co.za>
2009-06-24 10:51:41mfxmfxlinkissue6334 messages
2009-06-24 10:51:40mfxmfxcreate