[issue28146] Confusing error messages in str.format()

Eric V. Smith report at bugs.python.org
Wed Sep 14 07:32:11 EDT 2016


Eric V. Smith added the comment:

See also issue 27772.

The difference in the error messages is due to the first ones looking for specific invalid combinations (in this case things the string formatter does not understand), and the last one which is "I have no idea what you're asking for".

----------
nosy: +eric.smith
type:  -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28146>
_______________________________________


More information about the Python-bugs-list mailing list