Message295796
Not exactly a bug, but I think that an improvement is possible. My plan is to delay computing the repr until the error is formatted, so that code which catches the TypeError can carry on safely.
I think this is more relevant for inspect than for many other modules, because by design, we're often calling inspect functions on arbitrary objects which we can make few guarantees about. |
|
Date |
User |
Action |
Args |
2017-06-12 15:36:05 | takluyver | set | recipients:
+ takluyver, r.david.murray |
2017-06-12 15:36:05 | takluyver | set | messageid: <1497281765.04.0.376126436946.issue30639@psf.upfronthosting.co.za> |
2017-06-12 15:36:05 | takluyver | link | issue30639 messages |
2017-06-12 15:36:04 | takluyver | create | |
|