Title: 'value' attribute for ValueError
Type: enhancement Stage: test needed
Components: Interpreter Core Versions: Python 3.5
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: BreamoreBoy, barry, brett.cannon, cvrebert, ezio.melotti
Priority: normal Keywords:

Created on 2013-06-07 20:56 by brett.cannon, last changed 2014-10-05 17:32 by BreamoreBoy.

Messages (2)
msg190781 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2013-06-07 20:56
A 'value attribute for ValueError could store a weakref to the value which triggered the exception. It should be a weakref so at to prevent accidental prevention of GC of the value.
msg228594 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-10-05 17:32
Just a gentle reminder guys.
Date User Action Args
2014-10-05 17:32:34BreamoreBoysetnosy: + BreamoreBoy

messages: + msg228594
versions: + Python 3.5, - Python 3.4
2013-06-15 21:06:15ezio.melottisetnosy: + ezio.melotti
2013-06-14 16:26:05cvrebertsetnosy: + cvrebert
2013-06-07 21:23:57barrysetnosy: + barry
2013-06-07 20:56:56brett.cannoncreate