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 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.
History
Date User Action Args
2014-09-07 21:23:42eric.araujosetrecipients: + eric.araujo, pitrou, scoder, christian.heimes, tarek, Arfrever, bfroehle, Sjlver
2014-09-07 21:23:42eric.araujosetmessageid: <1410125022.25.0.497531571471.issue5309@psf.upfronthosting.co.za>
2014-09-07 21:23:42eric.araujolinkissue5309 messages
2014-09-07 21:23:42eric.araujocreate