[issue5309] distutils doesn't parallelize extension module compilation

Éric Araujo report at bugs.python.org
Sun Sep 7 23:23:42 CEST 2014


É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 <report at bugs.python.org>
<http://bugs.python.org/issue5309>
_______________________________________


More information about the Python-bugs-list mailing list