Message169905
| 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:32 | nemeskeyd | set | recipients:
+ nemeskeyd, loewis, amaury.forgeotdarc |
| 2012年09月06日 07:28:31 | nemeskeyd | set | messageid: <1346916511.97.0.807091990866.issue15775@psf.upfronthosting.co.za> |
| 2012年09月06日 07:28:31 | nemeskeyd | link | issue15775 messages |
| 2012年09月06日 07:28:30 | nemeskeyd | create |
|