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 takluyver
Recipients r.david.murray, takluyver
Date 2017-06-12.15:36:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497281765.04.0.376126436946.issue30639@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-06-12 15:36:05takluyversetrecipients: + takluyver, r.david.murray
2017-06-12 15:36:05takluyversetmessageid: <1497281765.04.0.376126436946.issue30639@psf.upfronthosting.co.za>
2017-06-12 15:36:05takluyverlinkissue30639 messages
2017-06-12 15:36:04takluyvercreate