This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nemeskeyd
Recipients amaury.forgeotdarc, loewis, nemeskeyd
Date 2012-09-06.07:28:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346916511.97.0.807091990866.issue15775@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2012-09-06 07:28:32nemeskeydsetrecipients: + nemeskeyd, loewis, amaury.forgeotdarc
2012-09-06 07:28:31nemeskeydsetmessageid: <1346916511.97.0.807091990866.issue15775@psf.upfronthosting.co.za>
2012-09-06 07:28:31nemeskeydlinkissue15775 messages
2012-09-06 07:28:30nemeskeydcreate