]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40246: Revert reporting of invalid string prefixes (GH-19888)
authorLysandros Nikolaou <lisandrosnik@gmail.com>
Mon, 4 May 2020 11:32:18 +0000 (14:32 +0300)
committerGitHub <noreply@github.com>
Mon, 4 May 2020 11:32:18 +0000 (12:32 +0100)
commit846d8b28ab9bb6197ee81372820311c0abe509c0
treebbcdb73b768194661bef017b18aed9e870d98c24
parente10e7c771bf06112c4a311e0ef6b8af6423b0cca
bpo-40246: Revert reporting of invalid string prefixes (GH-19888)

Due to backwards compatibility concerns regarding keywords immediately followed by a string without whitespace between them (like in `bg="#d00" if clear else"#fca"`) will fail to parse,
commit 41d5b94af44e34ac05d4cd57460ed104ccf96628 has to be reverted.
Include/errcode.h
Lib/test/test_fstring.py
Misc/NEWS.d/next/Core and Builtins/2020-05-03-23-28-11.bpo-40246.c1D7x8.rst [new file with mode: 0644]
Parser/pegen/pegen.c
Parser/tokenizer.c
Python/pythonrun.c