]> granicus.if.org Git - python/commit
[3.6] bpo-30682: Removed a too-strict assertion that failed for certain f-strings...
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 16 Jun 2017 13:29:42 +0000 (16:29 +0300)
committerericvsmith <ericvsmith@users.noreply.github.com>
Fri, 16 Jun 2017 13:29:42 +0000 (09:29 -0400)
commit2eca5b465f7404cc8484457b7966f828f434ec20
tree24eb2215c217bd8669b0f5da5e098f3ebf0cd3be
parenta0ccc54e6dffacf9e7c06f2a3e9056d2d35d21eb
[3.6] bpo-30682: Removed a too-strict assertion that failed for certain f-strings. (GH-2232) (#2242)

This caused a segfault on eval("f'\\\n'") and eval("f'\\\r'") in debug build..
(cherry picked from commit 11e97f2f80bf65cc828c127eafc95229df35d403)
Lib/test/test_fstring.py
Misc/NEWS
Python/ast.c