[issue8022] Leak when creating certain classes that subclass ABCs

2010-02-25 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> duplicate status: open -> closed superseder: -> ABC caches should use weak refs ___ Python tracker ___ _

[issue8022] Leak when creating certain classes that subclass ABCs

2010-02-25 Thread Daniel Stutzbach
New submission from Daniel Stutzbach : Attached is a minimal example. It has a function called leak(). The end of the script calls that function, runs the garbage collector, and prints out the number of objects in the system. In Python 2.6, the number of objects increases after each iterati