New submission from Марк Коренберг:
$ python3 -c "'{0:s}'.format(b'qwe')"
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: non-empty format string passed to object.__format__
Spent many hours to detect bug in my code.
----------
components: Library (Lib)
messages: 278244
nosy: mmarkk
priority: normal
severity: normal
status: open
title: Non-informative exception while formatting strings.
versions: Python 3.5, Python 3.6, Python 3.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue28385>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com