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 r.david.murray
Recipients Vjacheslav.Fyodorov, r.david.murray
Date 2015-04-09.00:18:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This is presumably a result of the exception object being saved on the context manager object and there being a circular reference chain that doesn't immediately get GCed.  This is just how python works.

I don't know if it would be sensible/useful to use the new lightweight traceback stuff in assertRaises.  If so it would probably have to be optional for backward compatibility reasons.
Date User Action Args
2015-04-09 00:18:43r.david.murraysetrecipients: + r.david.murray, Vjacheslav.Fyodorov
2015-04-09 00:18:42r.david.murraysetmessageid: <>
2015-04-09 00:18:42r.david.murraylinkissue23890 messages
2015-04-09 00:18:40r.david.murraycreate