[issue9856] Change object.__format__(s) where s is non-empty to a TypeError

Terry J. Reedy report at bugs.python.org
Mon May 13 04:07:09 CEST 2013


Terry J. Reedy added the comment:

Everying is an instance of object. If its class does not override .__format__, then it seems that it should act the same as a direct object instance. If this a the current plan (or patch already committed, I think I would stay with that.

----------

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


More information about the Python-bugs-list mailing list