Issue 37030: Lib/cmd.py: Hide undocumented commands in help and completenames (original) (raw)

Created on 2019-05-24 07:25 by aldwinaldwin, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 13536 open aldwinaldwin,2019-05-24 07:35
Messages (6)
msg343346 - (view) Author: Aldwin Pollefeyt (aldwinaldwin) * Date: 2019-05-24 07:25
A flag, defaulting to false. If true, :meth:`do_help` and :meth:`completenames` won't include undocumented commands (that is, there are do_*() methods without corresponding help_*() methods).
msg343361 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2019-05-24 09:29
I believe this PR at least addresses the concern raised at [0] to provide a way where internal and undocumented commands can be hidden from the user. [0] https://bugs.python.org/issue13214#msg309788
msg343873 - (view) Author: Aldwin Pollefeyt (aldwinaldwin) * Date: 2019-05-29 08:41
The EOF mentioned in [0] is indeed the same and was the first reason why I searched in the library code for a solution. Then saw it as an opportunity to create hidden functions in the shell. [0] https://bugs.python.org/issue13214#msg309788
msg344346 - (view) Author: Aldwin Pollefeyt (aldwinaldwin) * Date: 2019-06-03 00:33
How to add a label 'awaiting core review' to pull request? tirkarthi: "Left comment for doc and test. But in general would like to hear from a core dev on this."
msg344422 - (view) Author: Rémi Lapeyre (remi.lapeyre) * Date: 2019-06-03 14:25
It will be done automatically after someone validated the PR.
msg344935 - (view) Author: Aldwin Pollefeyt (aldwinaldwin) * Date: 2019-06-07 13:34
Can there be a review of the PR to let me know if all changes are correct?
History
Date User Action Args
2022-04-11 14:59:15 admin set github: 81211
2019-06-07 13:34:33 aldwinaldwin set messages: +
2019-06-03 14:25:40 remi.lapeyre set nosy: + remi.lapeyremessages: +
2019-06-03 00:33:29 aldwinaldwin set messages: +
2019-05-29 08:41:27 aldwinaldwin set messages: +
2019-05-24 09:29:53 xtreak set nosy: + xtreakmessages: +
2019-05-24 07:35:53 aldwinaldwin set keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest13450>
2019-05-24 07:25:53 aldwinaldwin create