classification
Title: Make old-style classes weak referenceable
Type: enhancement Stage: resolved
Components: Interpreter Core Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: amaury.forgeotdarc, pitrou, stutzbach
Priority: normal Keywords: patch

Created on 2010-03-30 22:58 by pitrou, last changed 2010-03-31 21:38 by pitrou. This issue is now closed.

Files
File name Uploaded Description Edit
weakref-classobj.patch pitrou, 2010-03-30 23:22
Messages (3)
msg101957 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-03-30 22:58
New-style classes are weak referenceable, but old-style classes are not.
For a proper implementation of ABC caches without any memory leaks (see issue2521), this limitation should be raised.
msg101958 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-03-30 23:21
Here is a patch.
msg102035 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-03-31 21:38
Fixed in r79535.
History
Date User Action Args
2010-03-31 21:38:49pitrousetstatus: open -> closed
resolution: fixed
messages: + msg102035

stage: patch review -> resolved
2010-03-30 23:22:24pitrousetfiles: + weakref-classobj.patch
2010-03-30 23:22:17pitrousetfiles: - weakref-classobj.patch
2010-03-30 23:21:21pitrousetfiles: + weakref-classobj.patch

nosy: + amaury.forgeotdarc
messages: + msg101958

keywords: + patch
stage: needs patch -> patch review
2010-03-30 22:58:36pitroulinkissue2521 dependencies
2010-03-30 22:58:12pitroucreate