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 self.assertEqual(x.foobar, 42) self.assertEqual(x.__dict__["foobar"], 42) + x.x = x with self.assertRaises(AttributeError): x.vararg and you'll get a reference leak. ---------- assignee: benjamin.peterson components: Interpreter Core messages: 165001 nosy: benjamin.peterson, pitrou priority: normal severity: normal status: open title: AST nodes do not support garbage collection type: resource usage versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15293> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com