[issue26906] format(object.__reduce__) fails intermittently

Terry J. Reedy report at bugs.python.org
Fri May 6 15:23:32 EDT 2016


Terry J. Reedy added the comment:

Is there a way to have format() try to force the initialization, by explicitly doing the equivalent of obj.__format__, at least for types, instead of raising the TypeError?

----------
nosy: +terry.reedy

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


More information about the Python-bugs-list mailing list