This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Błażej Michalik
Recipients Błażej Michalik
Date 2016-11-10.11:14:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478776450.68.0.870801686772.issue28657@psf.upfronthosting.co.za>
In-reply-to
Content
The issue here seems to originate from the implementation of Cmd.get_names():

    def get_names(self):                                   
        # This method used to pull in base class attributes
        # at a time dir() didn't do it yet.                
        return dir(self.__class__)                         

Changing it to dir(self) would make dynamical adding helpstrings for commands possible.
History
Date User Action Args
2016-11-10 11:14:10Błażej Michaliksetrecipients: + Błażej Michalik
2016-11-10 11:14:10Błażej Michaliksetmessageid: <1478776450.68.0.870801686772.issue28657@psf.upfronthosting.co.za>
2016-11-10 11:14:10Błażej Michaliklinkissue28657 messages
2016-11-10 11:14:10Błażej Michalikcreate