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

Fix parsing of octal literal by patchedast #627

Merged
merged 2 commits into from Dec 22, 2022
Merged

Conversation

lieryan
Copy link
Member

@lieryan lieryan commented Dec 22, 2022

Description

Python 3 no longer supports the 01234 syntax for specifying octal literals (it raises a syntax error), now you have to use 0o1234.

Checklist (delete if not relevant):

  • I have added tests that prove my fix is effective or that my feature works
  • I have updated CHANGELOG.md

@lieryan lieryan self-assigned this Dec 22, 2022
@lieryan lieryan added the bug Unexpected or incorrect user-visible behavior label Dec 22, 2022
@lieryan lieryan added this to the 1.7.0 milestone Dec 22, 2022
@lieryan lieryan merged commit fb38b83 into master Dec 22, 2022
@lieryan lieryan deleted the lieryan-fix-octal-literal branch December 22, 2022 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected or incorrect user-visible behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant