-
-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3 preparation: Rename sys.maxint to sys.maxsize #15991
Comments
Branch: u/chapoton/15991 |
Author: Frédéric Chapoton |
New commits:
|
Commit: |
comment:2
Some additional information form WhatsNew Python 3 //The sys.maxint constant was removed, since there is no longer a limit to the value of integers. However, sys.maxsize can be used as an integer larger than any practical list or string index. It conforms to the implementation’s “natural” integer size and is typically the same as sys.maxint in previous releases on the same platform (assuming the same build options).// and from the Python 3 docmentation sys.maxsize |
comment:3
The patch looks good. I did
on top of
|
comment:4
Reviewer name |
Reviewer: Wilfried Luebbe |
Changed branch from u/chapoton/15991 to |
Only the modern name is accepted by Python 3.
Changes according to
lib2to3/fixes/renames.py
:This ticket is tracked as a dependency of meta-ticket ticket:15980.
Component: distribution
Author: Frédéric Chapoton
Branch/Commit:
1f0a49b
Reviewer: Wilfried Luebbe
Issue created by migration from https://trac.sagemath.org/ticket/15991
The text was updated successfully, but these errors were encountered: