Skip to content
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

Merged
merged 12 commits into from
Dec 22, 2022
Merged

Commits on Dec 22, 2022

  1. Remove code that was used to implement legacy <> syntax

    In Python 2, this used to be one of the possible not-equal syntax. This
    is no longer used in Python 3.
    lieryan committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    947805f View commit details
    Browse the repository at this point in the history
  2. 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.
    lieryan committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    3e6a4e2 View commit details
    Browse the repository at this point in the history
  3. Remove code that was used to implement legacy exec statement

    Python 3 no longer has exec-statement, instead this is now replaced with
    an exec() function which is treated identically with other regular
    functions.
    lieryan committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    eedb0ba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    59e8954 View commit details
    Browse the repository at this point in the history
  5. Remove code that was used to implement legacy print statement

    Python 3 no longer has print-statement, instead this is now replaced with
    an print() function which can be treated identically with other regular
    functions.
    lieryan committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    d040726 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bdbdab6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    68c6e29 View commit details
    Browse the repository at this point in the history
  8. Remove _PatchingASTWalker._Sliceobj

    Python now represents Slice using ast.Slice rather than ast.Sliceobj, so
    this is no longer needed.
    lieryan committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    1622c4b View commit details
    Browse the repository at this point in the history
  9. 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.
    lieryan committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    0636ae9 View commit details
    Browse the repository at this point in the history
  10. Remove code that was used to implement legacy tuple parameter unpacking

    This was deprecated by PEP3113 - Removal of Tuple Parameter Unpacking
    since Python 3.
    lieryan committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    eb9a9f5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7bf88e5 View commit details
    Browse the repository at this point in the history
  12. Update CHANGELOG.md

    lieryan committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    99cf37f View commit details
    Browse the repository at this point in the history