This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients docs@python, eric.smith, py.user, r.david.murray, terry.reedy
Date 2012-01-21.04:48:36
SpamBayes Score 0.012924
Marked as misclassified No
Message-id <>
Oh, I see.  Yes, that is a problem.

object.__format__ knows the type of the object it was called on, right?  Couldn't it catch the error and re-raise it with the correct type?  (If the type isn't str, of course, we don't want to get into an infinite recursion.)
Date User Action Args
2012-01-21 04:48:37r.david.murraysetrecipients: + r.david.murray, terry.reedy, eric.smith, docs@python, py.user
2012-01-21 04:48:37r.david.murraysetmessageid: <>
2012-01-21 04:48:37r.david.murraylinkissue13790 messages
2012-01-21 04:48:36r.david.murraycreate