diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-04-08 21:28:47 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-04-08 21:28:47 +0000 |
commit | 400d8ee6fa59bd2969c67cbd1e4f6d9663edb090 (patch) | |
tree | aefe767a61d9c1e08230262f3661f6cc7e032da6 /Python/getcompiler.c | |
parent | 547eb42d75c888fa5ac43275d3cf874099ea0d78 (diff) | |
download | cpython-git-400d8ee6fa59bd2969c67cbd1e4f6d9663edb090.tar.gz |
Make staticmethods and classmethods participate in GC.
If a class was defined inside a function, used a static or class
method, and used super() inside the method body, it would be caught in
an uncollectable cycle. (Simplified version: The static/class method
object would point to a function object with a closure that referred
to the class.)
Bugfix candidate.
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions