-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
gh-104825: Remove implicit newline in the line attribute in tokens emitted in the tokenize module #104846
Conversation
pablogsal
commented
May 24, 2023
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Issue: Token lines in the tokenize module always end in new line #104825
…ens emitted in the tokenize module
CC: @mgmacias95 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, @pablogsal, I could not cleanly backport this to |
… in tokens emitted in the tokenize module (pythonGH-104846). (cherry picked from commit c8cf9b4) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
GH-104850 is a backport of this pull request to the 3.12 branch. |
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, @pablogsal, I could not cleanly backport this to |
I backported the test to 3.11 so I thought it would need this fix, but now I realize that 3.11 still has the old tokenizer, for which the patch is correct as it (tested). Sorry for the noise. But see #104850 (comment) |