[issue9734] ABC issubclass/isinstance leaks in Python 2

2010-09-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: Will be fixed in 2.7.1. -- nosy: +benjamin.peterson resolution: -> out of date status: open -> closed ___ Python tracker ___ ___

[issue9734] ABC issubclass/isinstance leaks in Python 2

2010-09-01 Thread Jim Fulton
New submission from Jim Fulton : I assume ABCs use some sort of cache for issubclass checks. I also assume the cache doesn't use weakrefs, leading to leaks in classes created on the fly (as is common in tests). The attached script demonstrates the leak. The leak doesn't seem to occur in Pytho