classification
Title: IDLE: Enhance import statement completion
Type: enhancement Stage: needs patch
Components: IDLE Versions: Python 3.4
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Ramchandra Apte, roger.serwy, serhiy.storchaka, terry.reedy
Priority: normal Keywords:

Created on 2013-02-19 15:32 by Ramchandra Apte, last changed 2013-06-17 20:35 by serhiy.storchaka.

Messages (3)
msg182392 - (view) Author: Ramchandra Apte (Ramchandra Apte) * Date: 2013-02-19 15:32
[patch under development]
I propose to add completions for 
import <tab>
from <tab>
from x import <tab>

Also, if one types imp.<tab> , IDLE should import the module and list dir(module).
(There will be an option to disable/enable the last two completion cases as some users object to it importing modules for completion)
msg191227 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2013-06-15 19:22
Making a list of all possible modules is harder than a list of attributes. With relative imports, I am not sure its even possible to sensible make a list of every entry that would work.
msg191260 - (view) Author: Ramchandra Apte (Ramchandra Apte) * Date: 2013-06-16 05:06
I have a patch ready; have to make it ready (PEP8-compliance etc.) and then
I can send it.

On 16 June 2013 00:52, Terry J. Reedy <report@bugs.python.org> wrote:

>
> Terry J. Reedy added the comment:
>
> Making a list of all possible modules is harder than a list of attributes.
> With relative imports, I am not sure its even possible to sensible make a
> list of every entry that would work.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue17238>
> _______________________________________
>
History
Date User Action Args
2013-06-17 20:35:11serhiy.storchakasetnosy: + serhiy.storchaka
2013-06-16 05:06:35Ramchandra Aptesetmessages: + msg191260
2013-06-15 19:22:40terry.reedysetmessages: + msg191227
2013-04-07 01:36:20roger.serwysetnosy: + roger.serwy

title: Enhance import statement completion -> IDLE: Enhance import statement completion
2013-02-19 15:35:51ezio.melottisetstage: needs patch
versions: - Python 3.3
2013-02-19 15:32:51Ramchandra Aptecreate