[issue9306] distutils: raise informative error message when cmd_class is None
Éric Araujo
report at bugs.python.org
Mon Mar 21 02:13:22 CET 2011
Éric Araujo <merwok at netwok.org> added the comment:
I’m inclined to reject the bug: http://docs.python.org/distutils/apiref#distutils.core.setup clearly says that the argument should be a dictionary. The code in pyreadline should set it to an empty dict instead of None. While it can be argued that providing clearly helpful messages is a service for our users, especially given that people writing setup scripts may be beginners, it seems to me that adding type checking would not be the Python way. Raymond, what do you think?
----------
components: +Distutils2 -Distutils
nosy: +alexis, rhettinger
versions: +3rd party -Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9306>
_______________________________________
More information about the Python-bugs-list
mailing list