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 brett.cannon
Recipients Jim Fasarakis-Hilliard, Julian, Sean.Ochoa, brett.cannon, eamanu, eric.araujo, ezio.melotti, ncoghlan, petri.lehtinen, rhettinger, serhiy.storchaka, terry.reedy, vstinner
Date 2017-05-26.18:15:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495822514.07.0.683187458747.issue13349@psf.upfronthosting.co.za>
In-reply-to
Content
A potential compromise would be if ValueError gained a 'value' attribute. That would allow for the exception message to be static but still provide the information for introspection later if desired to figure out exactly what object led to the cause of the ValueError. If I remember correctly previous objections to this idea was worry about memory, though, so it seems attaching more information about the trigger of a ValueError will inevitably lead to more cost somehow.
History
Date User Action Args
2017-05-26 18:15:14brett.cannonsetrecipients: + brett.cannon, rhettinger, terry.reedy, ncoghlan, vstinner, ezio.melotti, eric.araujo, Julian, petri.lehtinen, serhiy.storchaka, Sean.Ochoa, Jim Fasarakis-Hilliard, eamanu
2017-05-26 18:15:14brett.cannonsetmessageid: <1495822514.07.0.683187458747.issue13349@psf.upfronthosting.co.za>
2017-05-26 18:15:14brett.cannonlinkissue13349 messages
2017-05-26 18:15:13brett.cannoncreate