Larry Hastings added the comment:

Having slept on it, I agree with Steve.  We should make the minimal change 
necessary in order to not crash.

However, it still needs a regression test.  The test can use JohnLeitch's 
proposed test as a good starting point, but it must accept either success or 
ValueError as passing the test.

I still think there's merit in detecting a trailing unquoted % at the end of 
the format string, but that would only be appropriate for 3.6 at this point.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24917>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to