]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-88943: Improve syntax error for non-ASCII character that follows a numerical liter...
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 7 Sep 2023 14:00:13 +0000 (17:00 +0300)
committerGitHub <noreply@github.com>
Thu, 7 Sep 2023 14:00:13 +0000 (17:00 +0300)
commitb2729e93e9d73503b1fda4ea4fecd77c58909091
tree1dbd2482d926c33423c48fde3a2e3505cbb5c5a6
parentac31f714c3e55a7951a9f3f9c823740c20c5d595
gh-88943: Improve syntax error for non-ASCII character that follows a numerical literal (GH-109081)

It now points on the invalid non-ASCII character, not on the valid numerical literal.
Lib/test/test_grammar.py
Misc/NEWS.d/next/Core and Builtins/2023-09-07-16-05-36.gh-issue-88943.rH_X3W.rst [new file with mode: 0644]
Parser/tokenizer.c