Martin Panter added the comment: You “forgot” to call close():
>>> parser.close() Encountered some data : eggs Perhaps this is a documentation bug, since there is a lot of example code given, but none of the examples call close(). ---------- assignee: -> docs@python components: +Documentation nosy: +docs@python, vadmium _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23144> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com