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 <rep...@bugs.python.org>
<http://bugs.python.org/issue15775>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to