Xiang Zhang added the comment: Actually it does move forward since in goahead, it first store a "copy" of the initial self.rawdata and use it to control the flow. If you make some change to self.rawdata when parsing, for example call reset, goahead can not feel it. But methods parse_* can. So the data conflicts.
I think it's not proper to change self.rawdata when parsing. You can easily get various errors by doing that. ---------- _______________________________________ 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