Issue 8251: WeakRefSet - Python tracker (original) (raw)

Issue8251

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.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/52498

classification

Title: WeakRefSet
Type: enhancement Stage: needs patch
Components: Library (Lib) Versions: Python 2.7

process

Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: michael.foord, pitrou
Priority: normal Keywords:

Created on 2010-03-28 11:39 by michael.foord, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg101859 - (view) Author: Michael Foord (michael.foord) * (Python committer) Date: 2010-03-28 11:39
WeakRefSet would be a useful addition to the weakref module. I needed this for unittest recently but made do with a WeakRefKeyDictionary and setting the values to 1.
msg101878 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-03-28 22:57
Python 3.2a0 (py3k:79464, Mar 27 2010, 19🔞14) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from weakref import WeakSet >>>
msg101881 - (view) Author: Michael Foord (michael.foord) * (Python committer) Date: 2010-03-28 23:09
Ha. I tried 2.7. I guess it would be nice if it was backported.
History
Date User Action Args
2022-04-11 14:56:59 admin set github: 52498
2010-03-28 23:14:12 michael.foord set status: open -> closedresolution: not a bug
2010-03-28 23:09:42 michael.foord set messages: + versions: - Python 3.2
2010-03-28 22:57:25 pitrou set nosy: + pitroumessages: +
2010-03-28 11:39:03 michael.foord create

Supported by The Python Software Foundation,
Powered by Roundup

Copyright © 1990-2022, Python Software Foundation
Legal Statements