-
Notifications
You must be signed in to change notification settings - Fork 161
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
Remove support for deprecated ast nodes #625
Commits on Dec 22, 2022
-
Remove code that was used to implement legacy
<>
syntaxIn Python 2, this used to be one of the possible not-equal syntax. This is no longer used in Python 3.
Configuration menu - View commit details
-
Copy full SHA for 947805f - Browse repository at this point
Copy the full SHA 947805fView commit details -
Remove code that was used to implement legacy
except Exception, e:
……syntax This used to mean the same as `except Exception as e:`, but was deprecated long ago.
Configuration menu - View commit details
-
Copy full SHA for 3e6a4e2 - Browse repository at this point
Copy the full SHA 3e6a4e2View commit details -
Remove code that was used to implement legacy
exec
statementPython 3 no longer has exec-statement, instead this is now replaced with an exec() function which is treated identically with other regular functions.
Configuration menu - View commit details
-
Copy full SHA for eedb0ba - Browse repository at this point
Copy the full SHA eedb0baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59e8954 - Browse repository at this point
Copy the full SHA 59e8954View commit details -
Remove code that was used to implement legacy
print
statementPython 3 no longer has print-statement, instead this is now replaced with an print() function which can be treated identically with other regular functions.
Configuration menu - View commit details
-
Copy full SHA for d040726 - Browse repository at this point
Copy the full SHA d040726View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdbdab6 - Browse repository at this point
Copy the full SHA bdbdab6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68c6e29 - Browse repository at this point
Copy the full SHA 68c6e29View commit details -
Remove _PatchingASTWalker._Sliceobj
Python now represents Slice using ast.Slice rather than ast.Sliceobj, so this is no longer needed.
Configuration menu - View commit details
-
Copy full SHA for 1622c4b - Browse repository at this point
Copy the full SHA 1622c4bView commit details -
Remove code that was used to implement long integer literal suffix
This was Python 2 syntax where 12L is treated as always creating long integer. Python 3 nowadays automatically creates long integer as needed and it no longer allows this suffix.
Configuration menu - View commit details
-
Copy full SHA for 0636ae9 - Browse repository at this point
Copy the full SHA 0636ae9View commit details -
Remove code that was used to implement legacy tuple parameter unpacking
This was deprecated by PEP3113 - Removal of Tuple Parameter Unpacking since Python 3.
Configuration menu - View commit details
-
Copy full SHA for eb9a9f5 - Browse repository at this point
Copy the full SHA eb9a9f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bf88e5 - Browse repository at this point
Copy the full SHA 7bf88e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99cf37f - Browse repository at this point
Copy the full SHA 99cf37fView commit details