[issue9306] distutils: raise informative error message when cmd_class is None

2011-09-23 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Given that it is documented that the argument must be a dictionary, I’m rejecting this. -- assignee: tarek - eric.araujo resolution: - wont fix stage: - committed/rejected status: open - closed ___

[issue9306] distutils: raise informative error message when cmd_class is None

2011-03-20 Thread Éric Araujo
Éric Araujo mer...@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

[issue9306] distutils: raise informative error message when cmd_class is None

2010-07-19 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar sridh...@activestate.com: Current I see this: File /opt/ActivePython-2.7/lib/python2.7/distutils/dist.py, line 806, in get_command_class klass = self.cmdclass.get(command) AttributeError: 'NoneType' object has no attribute 'get' more context:

[issue9306] distutils: raise informative error message when cmd_class is None

2010-07-19 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok versions: -Python 2.7, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9306 ___