Message226546
| Author |
eric.araujo |
| Recipients |
Arfrever, Sjlver, bfroehle, christian.heimes, eric.araujo, pitrou, scoder, tarek |
| Date |
2014年09月07日.21:23:42 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1410125022.25.0.497531571471.issue5309@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> self.parallel = int(self.parallel) would raise ValueError when a
> non-number is passed. I suggest to print user-friendly error message.
The distutils idiom would be to catch the TypeError/ValueError and raise DistutilsOptionError. Higher layers convert that to a message. |
|