summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-04-27 17:15:14 (GMT)
committerGitHub <noreply@github.com>2022-04-27 17:15:14 (GMT)
commit43a8bf1ea43127aa0d4d05f9db74827899808266 (patch)
tree906a7d4a0f551b97316c202d561d02de9ba0571f /Misc
parentf60b4c3d74f241775f80affe60dcba6448634fe3 (diff)
downloadcpython-43a8bf1ea43127aa0d4d05f9db74827899808266.zip
cpython-43a8bf1ea43127aa0d4d05f9db74827899808266.tar.gz
cpython-43a8bf1ea43127aa0d4d05f9db74827899808266.tar.bz2
gh-87999: Change warning type for numeric literal followed by keyword (GH-91980)
The warning emitted by the Python parser for a numeric literal immediately followed by keyword has been changed from deprecation warning to syntax warning.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-04-27-10-36-43.gh-issue-87999.YSPHfO.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-04-27-10-36-43.gh-issue-87999.YSPHfO.rst b/Misc/NEWS.d/next/Core and Builtins/2022-04-27-10-36-43.gh-issue-87999.YSPHfO.rst
new file mode 100644
index 0000000..b0ad9b5
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-04-27-10-36-43.gh-issue-87999.YSPHfO.rst
@@ -0,0 +1,3 @@
+The warning emitted by the Python parser for a numeric literal immediately
+followed by keyword has been changed from deprecation warning to syntax
+warning.