R. David Murray <rdmur...@bitdance.com> added the comment: Here is the promised patch, with tests. For once writing the patch was harder than writing the tests, but only just :)
I'm not sure all the 100% sure the cleanups will work on all systems (I'm looking at you, Windows), but since any problems will occur in a path where an error is already being raised, it doesn't seem as though it can make things worse. Looking for review and RM approval. ---------- priority: normal -> release blocker stage: test needed -> patch review Added file: http://bugs.python.org/file20738/mailbox_cleanup.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11116> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com