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.012923993
Marked as misclassified No
Message-id <1327121317.63.0.157154868056.issue13790@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
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: <1327121317.63.0.157154868056.issue13790@psf.upfronthosting.co.za>
2012-01-21 04:48:37r.david.murraylinkissue13790 messages
2012-01-21 04:48:36r.david.murraycreate