[issue17238] IDLE: Enhance import statement completion

2016-07-24 Thread Martin Panter

Martin Panter added the comment:

Even if your patch isn’t quite ready, it may (have been) better than nothing :)

I had the idea to share stuff between Idle completion and Readline completion, 
but after looking at the Idle code, it did not seem very practical in general. 
But maybe you can at least use some ideas, test cases, or share the low level 
code from Issue 25419. E.g. my patch there has method _import_matches() that 
takes a path of packages and yields (sub)module names, and method 
_from_import_matches() that also yields module attribute names.

--
nosy: +martin.panter

___
Python tracker 

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



[issue17238] IDLE: Enhance import statement completion

2013-06-17 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
nosy: +serhiy.storchaka

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17238
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17238] IDLE: Enhance import statement completion

2013-06-15 Thread Terry J. Reedy

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 rep...@bugs.python.org
http://bugs.python.org/issue17238
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17238] IDLE: Enhance import statement completion

2013-06-15 Thread Ramchandra Apte

Ramchandra Apte added the comment:

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 rep...@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 rep...@bugs.python.org
 http://bugs.python.org/issue17238
 ___


--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17238
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17238] IDLE: Enhance import statement completion

2013-04-06 Thread Roger Serwy

Changes by Roger Serwy roger.se...@gmail.com:


--
nosy: +roger.serwy
title: Enhance import statement completion - IDLE: Enhance import statement 
completion

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17238
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com