Yannick Duchêne added the comment: > And I don't see how to stop the process either.
I just did it with `raise StopIteration`, caught at a proper place (in the procedure which invokes `feed` and `close`), and it seems to be fine, I have no more strange behaviours. At least, I cannot see a cleaner way. Now `reset` is invoked after end of parsing only (thus to be able to have a next round). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26210> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com