Message165001
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. |
|
Date |
User |
Action |
Args |
2012-07-08 10:47:34 | pitrou | set | recipients:
+ pitrou, benjamin.peterson |
2012-07-08 10:47:34 | pitrou | set | messageid: <1341744454.01.0.740763019773.issue15293@psf.upfronthosting.co.za> |
2012-07-08 10:47:33 | pitrou | link | issue15293 messages |
2012-07-08 10:47:33 | pitrou | create | |
|