[New-bugs-announce] [issue15004] add weakref support to types.SimpleNamespace
Eric Snow
report at bugs.python.org
Tue Jun 5 04:58:52 CEST 2012
New submission from Eric Snow <ericsnowcurrently at gmail.com>:
Currently types.SimpleNamespace does not support weak references. Amaury asked for this in #14673, but I'd like to see more discussion. What are the use cases for weak references in this case?
The type is a simple wrapper around dict, which does not support weak references. In fact most of the builtin types do not support them. However, I freely admit that I haven't used weak references very much and am not familiar with the use cases.
----------
messages: 162323
nosy: amaury.forgeotdarc, eric.snow
priority: normal
severity: normal
stage: needs patch
status: open
title: add weakref support to types.SimpleNamespace
type: enhancement
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15004>
_______________________________________
More information about the New-bugs-announce
mailing list