Skip to content

[3.6] bpo-30682: Removed a too-strict assertion that failed for certain f-strings. (GH-2232)#2242

Merged
ericvsmith merged 1 commit into
python:3.6from
serhiy-storchaka:backport-11e97f2-3.6
Jun 16, 2017
Merged

[3.6] bpo-30682: Removed a too-strict assertion that failed for certain f-strings. (GH-2232)#2242
ericvsmith merged 1 commit into
python:3.6from
serhiy-storchaka:backport-11e97f2-3.6

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

This caused a segfault on eval("f'\\n'") and eval("f'\\r'") in debug build..
(cherry picked from commit 11e97f2)

…in f-strings. (pythonGH-2232)

This caused a segfault on eval("f'\\\n'") and eval("f'\\\r'") in debug build..
(cherry picked from commit 11e97f2)
@ned-deily

Copy link
Copy Markdown
Member

LGTM

@ericvsmith

Copy link
Copy Markdown
Member

Looks good to me, too.

@ericvsmith ericvsmith merged commit 2eca5b4 into python:3.6 Jun 16, 2017
@serhiy-storchaka serhiy-storchaka deleted the backport-11e97f2-3.6 branch August 9, 2017 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants