[New-bugs-announce] [issue23726] Don't enable GC for classes that don't add new fields
report at bugs.python.org
Fri Mar 20 21:25:57 CET 2015
New submission from Eugene Toder:
As far as I can tell, if a new class does not add any new fields, and its base class doesn't use GC, there's no reason to enable GC for the new class.
This is useful for creating lightweight wrappers around classes implemented in C.
nosy: eltoder, pitrou
title: Don't enable GC for classes that don't add new fields
versions: Python 3.6
Added file: http://bugs.python.org/file38610/class_gc.diff
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce