[issue37821] IDLE shell uses wrong namespace for completions

2019-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The current behavior is the quick and easy/dirty solution that we have, not what we especially want. #27609 has multiple issues and ideas for completion improvements. I made testing and improving the code priorities before worrying about most of the propos

[issue37821] IDLE shell uses wrong namespace for completions

2019-08-13 Thread Tal Einat
Tal Einat added the comment: Terry, many thanks for the clarifications! > The intended behavior is to complete if at all possible. I can see the point in that. > What is odd to me is that you seem happy using the more numerous non-user > IDLE imports when there is no Shell. The alternative

[issue37821] IDLE shell uses wrong namespace for completions

2019-08-13 Thread Tal Einat
Change by Tal Einat : -- Removed message: https://bugs.python.org/msg349556 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37821] IDLE shell uses wrong namespace for completions

2019-08-13 Thread Tal Einat
Tal Einat added the comment: Terry, many thanks for the clarifications! > The intended behavior is to complete if at all possible. I can see the point in that. > What is odd to me is that you seem happy using the more numerous non-user > IDLE imports when there is no Shell. The alternative

[issue37821] IDLE shell uses wrong namespace for completions

2019-08-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think the current behavior is intended. The IDLE doc Completions subsection, written by Kurt Kaiser in help.text and copied to idle.rst in #5066, has this paragraph Completions are currently limited to those in the namespaces. Names in an Editor window

[issue37821] IDLE shell uses wrong namespace for completions

2019-08-11 Thread Tal Einat
Tal Einat added the comment: See fix in PR GH-15207. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue37821] IDLE shell uses wrong namespace for completions

2019-08-11 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +14936 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15207 ___ Python tracker ___ __

[issue37821] IDLE shell uses wrong namespace for completions

2019-08-11 Thread Tal Einat
New submission from Tal Einat : Currently, when running an IDLE shell with a sub-process, it will allow completing attributes of objects not actually in the shell's namespace. For example, typing "codecs." will bring up completions for the codecs module's attributes, despite that not having b