[issue6860] Inconsistent naming of custom command in setup.py help output
Tarek Ziadé
report at bugs.python.org
Wed Sep 16 00:17:00 CEST 2009
Tarek Ziadé <ziade.tarek at gmail.com> added the comment:
Right, thanks for noticing this.
Here's the change I am going to make:
The code will use command.get_command_name() *everywhere* for the help
display.
This method implemented in Command does the following:
- if the attribute "command_name" is present, it is returned
- __class__.__name__ ortherwise.
Meaning that you can define the name you want in the class.
Notice that this is under-documented so I need to add some document
for that behavior/feature.
I will not push this change in 2.7 since I don't consider this as a
bug.
----------
priority: -> normal
resolution: -> accepted
versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6860>
_______________________________________
More information about the Python-bugs-list
mailing list