]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-87999: Change warning type for numeric literal followed by keyword (GH-91980)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 27 Apr 2022 17:15:14 +0000 (20:15 +0300)
committerGitHub <noreply@github.com>
Wed, 27 Apr 2022 17:15:14 +0000 (20:15 +0300)
commit43a8bf1ea43127aa0d4d05f9db74827899808266
tree906a7d4a0f551b97316c202d561d02de9ba0571f
parentf60b4c3d74f241775f80affe60dcba6448634fe3
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.
Lib/test/test_grammar.py
Misc/NEWS.d/next/Core and Builtins/2022-04-27-10-36-43.gh-issue-87999.YSPHfO.rst [new file with mode: 0644]
Parser/tokenizer.c