[New-bugs-announce] [issue18166] 'value' attribute for ValueError

Brett Cannon report at bugs.python.org
Fri Jun 7 22:56:56 CEST 2013


New submission from Brett Cannon:

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.

----------
components: Interpreter Core
messages: 190781
nosy: brett.cannon
priority: normal
severity: normal
stage: test needed
status: open
title: 'value' attribute for ValueError
type: enhancement
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18166>
_______________________________________


More information about the New-bugs-announce mailing list