Serhiy Storchaka added the comment: Patch updated. Now IĀ get rid of __del__ to prevent hanging on reference cicles as Antoine suggested on IRC. Added test for check that XMLGenerator doesn't close the file passed as argument.
---------- Added file: http://bugs.python.org/file28797/XMLGenerator-5.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1470548> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com