Message151720
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:37 | r.david.murray | set | recipients:
+ r.david.murray, terry.reedy, eric.smith, docs@python, py.user |
2012-01-21 04:48:37 | r.david.murray | set | messageid: <1327121317.63.0.157154868056.issue13790@psf.upfronthosting.co.za> |
2012-01-21 04:48:37 | r.david.murray | link | issue13790 messages |
2012-01-21 04:48:36 | r.david.murray | create | |
|