[issue15293] AST nodes do not support garbage collection

2014-05-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: How are you reproducing the bug? In Python 2, the AST base class doesn't have a __dict__, and it's subtypes do support GC. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15293

[issue15293] AST nodes do not support garbage collection

2014-05-22 Thread Charles-François Natali
Charles-François Natali added the comment: Would it be possible to backport this to 2.7? We've been bitten by this at work (pyflakes introduces reference cycles in AST). -- nosy: +neologix ___ Python tracker rep...@bugs.python.org

[issue15293] AST nodes do not support garbage collection

2014-05-22 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15293 ___ ___ Python-bugs-list

[issue15293] AST nodes do not support garbage collection

2012-07-08 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: Add the following to test_ast: diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py --- a/Lib/test/test_ast.py +++ b/Lib/test/test_ast.py @@ -199,6 +199,7 @@ class AST_Tests(unittest.TestCase): x.foobar = 42

[issue15293] AST nodes do not support garbage collection

2012-07-08 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 8538d01c by Benjamin Peterson in branch 'default': add gc support to the AST base type (closes #15293) http://hg.python.org/cpython/rev/8538d01c -- nosy: +python-dev resolution: - fixed stage: -