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.

Title: sys.maxint not found in Python 3.0a2
Type: compile error Stage:
Components: Documentation Versions: Python 3.0
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, loewis, orivej, rclark
Priority: normal Keywords:

Created on 2008-01-25 00:10 by rclark, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg61661 - (view) Author: Robert Clark (rclark) Date: 2008-01-25 00:10
line 971, in __init__
    self.maxLen = sys.maxint

AttributeError: 'module' object has no attribute 'maxint'
msg61663 - (view) Author: Robert Clark (rclark) Date: 2008-01-25 00:15
sys.maxint was changed to sys.maxsize, but this was not noted in the
msg61664 - (view) Author: Orivej Desh (orivej) * Date: 2008-01-25 00:19
Maybe it was not noted, but it is documented:
msg61671 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-01-25 05:45
sys.maxint was *not* changed to sys.maxsize - it was simply removed.
pyparsing apparently hasn't been ported to Python 3; please bring this
up with the pyparsing authors (but then, Python 3 hasn't been released,
so they might decide not to take any action for several years, until,
say, Python 3.2).

sys.maxint used to indicate the maximum value that an int could have. In
Python 3, the int type has no maximum value anymore.

The only place where this might need some notice is the whatsnew text.
msg61680 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2008-01-25 11:12
I've added a comment next to long -> int in r60280.

Please note that Python 2.x doesn't run under 3.0. You have to port the
code to 2.6 first, make arrangements and at last use the 2to3 tool.
Date User Action Args
2022-04-11 14:56:30adminsetgithub: 46224
2008-01-25 11:12:06christian.heimessetstatus: open -> closed
nosy: + christian.heimes
resolution: not a bug
messages: + msg61680
2008-01-25 05:45:14loewissetnosy: + loewis
messages: + msg61671
2008-01-25 01:34:44gvanrossumsetcomponents: + Documentation
2008-01-25 00:19:07orivejsetnosy: + orivej
messages: + msg61664
2008-01-25 00:15:11rclarksetmessages: + msg61663
2008-01-25 00:10:06rclarkcreate