[issue30590] str.format no longer accepts unpacked defaultdict for default values

Serhiy Storchaka report at bugs.python.org
Wed Jun 7 13:49:40 EDT 2017


Serhiy Storchaka added the comment:

There was a bug (see issue18531). It was fixed in 3.6.

Use str.format_map() for formatting with arbitrary mapping.

----------
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list