Eric V. Smith added the comment: Cleaned up the error handling in fstring_expression_compile so it's easier to verify and more robust in the face of future changes.
Added a test for an un-doubled '}', which is an error in a top-level literal (and ends a nested expression). Modified existing tests to match. ---------- Added file: http://bugs.python.org/file40502/pep-498-9.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24965> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com