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

Eric V. Smith report at bugs.python.org
Sun Dec 23 17:19:25 CET 2012


Eric V. Smith added the comment:

The more I think about this, the more overly restrictive I realize it is. If the type of the object really is "object", then it can use string formatting. It's only for non-objects that I want to add the error.

I'll re-open it and give it some more thought.

----------
resolution: fixed -> 
stage: committed/rejected -> 
status: closed -> open

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


More information about the Python-bugs-list mailing list