[issue37030] Lib/cmd.py: Hide undocumented commands in help and completenames

2019-06-07 Thread Aldwin Pollefeyt


Aldwin Pollefeyt  added the comment:

Can there be a review of the PR to let me know if all changes are correct?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37030] Lib/cmd.py: Hide undocumented commands in help and completenames

2019-06-03 Thread Rémi Lapeyre

Rémi Lapeyre  added the comment:

It will be done automatically after someone validated the PR.

--
nosy: +remi.lapeyre

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37030] Lib/cmd.py: Hide undocumented commands in help and completenames

2019-06-02 Thread Aldwin Pollefeyt


Aldwin Pollefeyt  added the comment:

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."

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37030] Lib/cmd.py: Hide undocumented commands in help and completenames

2019-05-29 Thread Aldwin Pollefeyt


Aldwin Pollefeyt  added the comment:

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

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37030] Lib/cmd.py: Hide undocumented commands in help and completenames

2019-05-24 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

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

--
nosy: +xtreak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37030] Lib/cmd.py: Hide undocumented commands in help and completenames

2019-05-24 Thread Aldwin Pollefeyt


Change by Aldwin Pollefeyt :


--
keywords: +patch
pull_requests: +13450
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37030] Lib/cmd.py: Hide undocumented commands in help and completenames

2019-05-24 Thread Aldwin Pollefeyt


New submission from Aldwin Pollefeyt :

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).

--
components: Library (Lib)
messages: 343346
nosy: aldwinaldwin
priority: normal
severity: normal
status: open
title: Lib/cmd.py: Hide undocumented commands in help and completenames
type: enhancement
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com