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

Sridhar Ratnakumar report at bugs.python.org
Mon Jul 19 18:35:21 CEST 2010


New submission from Sridhar Ratnakumar <sridharr at 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: https://bugs.launchpad.net/pyreadline/+bug/607329

----------
assignee: tarek
components: Distutils
messages: 110776
nosy: srid, tarek
priority: normal
severity: normal
status: open
title: distutils: raise informative error message when cmd_class is None
type: feature request
versions: Python 2.7, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9306>
_______________________________________


More information about the Python-bugs-list mailing list