Éric Araujo added the comment: > 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5309> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com