summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-10-23 13:35:48 (GMT)
committerGitHub <noreply@github.com>2021-10-23 13:35:48 (GMT)
commitcadf06eab75c887dfc753ca80ef35cd2a7871135 (patch)
treea105b20ad07634aa541bebec8993a04e9a90bf25 /Misc
parentf812fef2f8f12441ce559335645433c8124e7db5 (diff)
downloadcpython-cadf06eab75c887dfc753ca80ef35cd2a7871135.zip
cpython-cadf06eab75c887dfc753ca80ef35cd2a7871135.tar.gz
cpython-cadf06eab75c887dfc753ca80ef35cd2a7871135.tar.bz2
bpo-45574: fix warning about `print_escape` being unused (GH-29172) (#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 4bc5473a42c5eae0928430930b897209492e849d) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-10-22-23-06-33.bpo-45574.svqA84.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-10-22-23-06-33.bpo-45574.svqA84.rst b/Misc/NEWS.d/next/Library/2021-10-22-23-06-33.bpo-45574.svqA84.rst
new file mode 100644
index 0000000..b404d24
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-10-22-23-06-33.bpo-45574.svqA84.rst
@@ -0,0 +1 @@
+Fix warning about ``print_escape`` being unused.