Message321374
Hi Raymond, would updating the attached PR to change https://github.com/remilapeyre/cpython/blob/7c78350f8903f162e5f70ee147c0e97cb1ed5181/Lib/cmd.py#L270 (and others) from `compfunc = getattr(self, 'complete_' + cmd)` to `compfunc = getattr(self.__class__, 'complete_' + cmd)` to have a consistent behavior for the help and the complection ?
Maybe the methods could all rely on `get_names` that return `dir(self.__class__)`, that way, the behavior would be more consistent and Błażej could override this method only to get its desired result. |
|
Date |
User |
Action |
Args |
2018-07-10 10:16:32 | remi.lapeyre | set | recipients:
+ remi.lapeyre, rhettinger, tuxtimo, Błażej Michalik |
2018-07-10 10:16:32 | remi.lapeyre | set | messageid: <1531217792.65.0.56676864532.issue28657@psf.upfronthosting.co.za> |
2018-07-10 10:16:32 | remi.lapeyre | link | issue28657 messages |
2018-07-10 10:16:32 | remi.lapeyre | create | |
|