[issue15775] Add StopParser() to expat
Nemeskey Dávid
report at bugs.python.org
Thu Sep 6 09:28:31 CEST 2012
Nemeskey Dávid added the comment:
Amaury: see my previous comment. There are two problems with the method you proposed:
1. It is not mentioned in the documentation that exceptions are propagated through parse().
2. Exceptions usually mean that an error has happened, and is not the preferred way for flow control (at least this is the policy in other languages e.g. Java, I don't know about Python).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15775>
_______________________________________
More information about the Python-bugs-list
mailing list