bpo-45574: fix warning about `print_escape` being unused by sobolevn · Pull Request #29172 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Merged
Conversation
Member
Quick grep tells that it is just used in one place under Py_DEBUG: https://github.com/python/cpython/blame/f6e8b80d20159596cf641305bad3a833bedd2f4f/Parser/tokenizer.c#L1047-L1051

I am not sure, but it also looks like a private thing, it should not affect other users.
https://bugs.python.org/issue45574
Automerge-Triggered-By: GH:pablogsal
sobolevn
requested review from
lysnikolaou and
pablogsal
as code owners
bedevere-bot
added
the
awaiting review
label
the-knights-who-say-ni
added
the
CLA signed
label
sobolevn
commented
Oct 22, 2021
sobolevn commented
Member Author
Looks like no warnings are generated 🎉
pablogsal
approved these changes
pablogsal
left a comment
pablogsal
left a comment
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks a lot for the PR 👌
bedevere-bot
added
awaiting merge
and removed
awaiting review
labels
miss-islington
merged commit
4bc5473
into
python:main
miss-islington
commented
Oct 22, 2021
miss-islington commented
Contributor
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖
bedevere-bot
removed
the
awaiting merge
label
bedevere-bot
commented
Oct 22, 2021
bedevere-bot commented
GH-29176 is a backport of this pull request to the 3.10 branch.
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
) It used to be like this: <img width="1232" alt="Снимок экрана 2021-10-22 в 23 07 40" src="https://user-images.githubusercontent.com/4660275/138516608-fef6ec01-a96a-40f4-81ef-52265b0f536b.png"> Quick `grep` tells that it is just used in one place under `Py_DEBUG`: https://github.com/python/cpython/blame/f6e8b80d20159596cf641305bad3a833bedd2f4f/Parser/tokenizer.cGH-L1047-L1051 <img width="752" alt="Снимок экрана 2021-10-22 в 23 08 09" src="https://user-images.githubusercontent.com/4660275/138516684-ea503136-1e92-48a5-95bb-419e190d5866.png"> I am not sure, but it also looks like a private thing, it should not affect other users. Automerge-Triggered-By: GH:pablogsal (cherry picked from commit 4bc5473) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
pablogsal pushed a commit that referenced this pull request
…29176) It used to be like this: <img width="1232" alt="Снимок экрана 2021-10-22 в 23 07 40" src="https://user-images.githubusercontent.com/4660275/138516608-fef6ec01-a96a-40f4-81ef-52265b0f536b.png"> Quick `grep` tells that it is just used in one place under `Py_DEBUG`: https://github.com/python/cpython/blame/f6e8b80d20159596cf641305bad3a833bedd2f4f/Parser/tokenizer.cGH-L1047-L1051 <img width="752" alt="Снимок экрана 2021-10-22 в 23 08 09" src="https://user-images.githubusercontent.com/4660275/138516684-ea503136-1e92-48a5-95bb-419e190d5866.png"> I am not sure, but it also looks like a private thing, it should not affect other users. Automerge-Triggered-By: GH:pablogsal (cherry picked from commit 4bc5473) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
