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

2011-09-23 Thread Éric Araujo
Éric Araujo 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 ___ Python tracker

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

2011-03-20 Thread Éric Araujo
Éric Araujo 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 cle

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

2010-07-19 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok versions: -Python 2.7, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list U

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

2010-07-19 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : 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: https://bugs.launchpad.net/pyr