New submission from Phil Webster: If you open a new editor window in IDLE, some modules will autocomplete (re, os, other common modules used by IDLE) and others will not (textwrap, datetime, ...). The current solution is to run your module or type the imports into the shell window to get completions working, which is not very intuitive. I created a patch that checks the namespace and attempts to import the module automatically if it is not found.
---------- components: IDLE files: autocomplete_unimported_1.patch keywords: patch messages: 195446 nosy: Todd.Rovito, philwebster, terry.reedy priority: normal severity: normal status: open title: IDLE: Autocomplete in editor doesn't work for un-imported modules type: behavior versions: Python 2.7, Python 3.3 Added file: http://bugs.python.org/file31332/autocomplete_unimported_1.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18766> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com