commit | 400d8ee6fa59bd2969c67cbd1e4f6d9663edb090 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Apr 08 21:28:47 2003 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Apr 08 21:28:47 2003 +0000 |
tree | aefe767a61d9c1e08230262f3661f6cc7e032da6 | |
parent | 547eb42d75c888fa5ac43275d3cf874099ea0d78 [diff] |
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.