[Python-checkins] [python/cpython] 2eca5b: [3.6] bpo-30682: Removed a too-strict assertion th...

GitHub noreply at github.com
Fri Jun 16 09:29:43 EDT 2017


  Branch: refs/heads/3.6
  Home:   https://github.com/python/cpython
  Commit: 2eca5b465f7404cc8484457b7966f828f434ec20
      https://github.com/python/cpython/commit/2eca5b465f7404cc8484457b7966f828f434ec20
  Author: Serhiy Storchaka <storchaka at gmail.com>
  Date:   2017-06-16 (Fri, 16 Jun 2017)

  Changed paths:
    M Lib/test/test_fstring.py
    M Misc/NEWS
    M Python/ast.c

  Log Message:
  -----------
  [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)




More information about the Python-checkins mailing list