This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients benjamin.peterson, pitrou
Date 2012-07-08.10:47:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341744454.01.0.740763019773.issue15293@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-07-08 10:47:34pitrousetrecipients: + pitrou, benjamin.peterson
2012-07-08 10:47:34pitrousetmessageid: <1341744454.01.0.740763019773.issue15293@psf.upfronthosting.co.za>
2012-07-08 10:47:33pitroulinkissue15293 messages
2012-07-08 10:47:33pitroucreate