diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-04-08 21:28:47 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-04-08 21:28:47 (GMT) |
commit | 400d8ee6fa59bd2969c67cbd1e4f6d9663edb090 (patch) | |
tree | aefe767a61d9c1e08230262f3661f6cc7e032da6 /Lib/httplib.py | |
parent | 547eb42d75c888fa5ac43275d3cf874099ea0d78 (diff) | |
download | cpython-400d8ee6fa59bd2969c67cbd1e4f6d9663edb090.zip cpython-400d8ee6fa59bd2969c67cbd1e4f6d9663edb090.tar.gz cpython-400d8ee6fa59bd2969c67cbd1e4f6d9663edb090.tar.bz2 |
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 'Lib/httplib.py')
0 files changed, 0 insertions, 0 deletions