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

Created on 2013-06-07 20:56 by brett.cannon, last changed 2013-06-15 21:06 by ezio.melotti.

Messages (1)
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.
Date User Action Args
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