summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2021-11-17 23:17:18 (GMT)
committerGitHub <noreply@github.com>2021-11-17 23:17:18 (GMT)
commite3aa9fd77bf474bb3e8a7a1d1bd1ebf45147945a (patch)
treee1211dfaad7341169da5e497a89b9eb9b60ac506 /Misc/NEWS.d
parent4ffde90dccd741b04a448f2e44f0b82a41b6fe96 (diff)
downloadcpython-e3aa9fd77bf474bb3e8a7a1d1bd1ebf45147945a.zip
cpython-e3aa9fd77bf474bb3e8a7a1d1bd1ebf45147945a.tar.gz
cpython-e3aa9fd77bf474bb3e8a7a1d1bd1ebf45147945a.tar.bz2
[3.10] bpo-45822: Respect PEP 263's coding cookies in the parser even if flags are not provided (GH-29582) (GH-29586)
(cherry picked from commit da20d7401de97b425897d3069f71f77b039eb16f) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-11-16-19-41-04.bpo-45822.OT6ueS.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-11-16-19-41-04.bpo-45822.OT6ueS.rst b/Misc/NEWS.d/next/Core and Builtins/2021-11-16-19-41-04.bpo-45822.OT6ueS.rst
new file mode 100644
index 0000000..1ac7a8b
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-11-16-19-41-04.bpo-45822.OT6ueS.rst
@@ -0,0 +1,2 @@
+Fixed a bug in the parser that was causing it to not respect :pep:`263`
+coding cookies when no flags are provided. Patch by Pablo Galindo