Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #87575
| Path | csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <jonas@wielicki.name> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.013 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'subject:not': 0.03; 'imported': 0.09; 'subject:module': 0.09; 'python': 0.11; '.py': 0.16; 'filename:fname piece:signature': 0.16; 'other)': 0.16; 'received:10.13': 0.16; 'received:78.47': 0.16; 'think.': 0.16; 'wrote:': 0.18; 'module': 0.19; 'header:User-Agent:1': 0.23; 'task': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'feature': 0.29; 'request,': 0.31; 'search.': 0.31; 'trivial': 0.31; 'implemented': 0.33; 'could': 0.34; 'but': 0.35; 'disk': 0.36; 'possible': 0.36; 'subject:?': 0.36; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'entire': 0.61; 'costly': 0.84; 'don\xe2\x80\x99t': 0.91; 'subject:Auto': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=wielicki.name; s=k001.sol; t=1426524872; bh=jiqESJQ0A3B7S0ek+WH1zH78RKg5U+gYO3TveDaNtQ0=; h=Date:From:To:Subject:References:In-Reply-To; b=L/+e73tIH33XkfgSJNIopoRp3qKTRkJ60pSXsMt0a81mIttRAKfsV1pUbmqCohKtr 4s+xKhi6fq0QW3EQijKGTHBY7DDU561oYuonRFwI16fExRuRqyAPbFyUYJSaRareDp 2vcpWIt29XcS3iC0aLyNY4SagSJnO5D0SZ8FB+8QYuKTPbtVMn215IEbILGDgSs39w G6VqH3CQvecFeNljpF2zRohk540bwuvz51aTMK7iobog8ArHThB2twDtEDHtDWSHVt zTjPNaQCiZOTYrDwgy8uIYzbxSJhiC5RAD6jdkMD2NDiPCB4Czb7H+4sAMLQNK3b1t uUDqZe19IeyHg== |
| Date | Mon, 16 Mar 2015 17:54:29 +0100 |
| From | Jonas Wielicki <jonas@wielicki.name> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Auto-completion: why not module name? |
| References | <18705a55-6b0a-4b55-99ab-479c19566e1a@googlegroups.com> <CAPTjJmr3j5Xsf5fB8VipKK+YnL_mH9qWWbr3LNMThw7T_aG47g@mail.gmail.com> |
| In-Reply-To | <CAPTjJmr3j5Xsf5fB8VipKK+YnL_mH9qWWbr3LNMThw7T_aG47g@mail.gmail.com> |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Wrtegawdj8IVf3QTbWVFWtHhAWgju1hFf" |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.19 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.452.1426524875.21433.python-list@python.org> (permalink) |
| Lines | 45 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1426524875 news.xs4all.nl 2923 [2001:888:2000:d::a6]:42443 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:87575 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On 16.03.2015 17:40, Chris Angelico wrote:
> This is a very plausible feature request, but be aware that it will
> involve a very costly disk search. Figuring out what modules could be
> imported means going through the entire Python module search path,
> enumerating .py (and other) files, and that could be a lot slower than
> you think.
With possible side-effects, like help("modules") has. I don’t think that
this is a trivial task (and if it is, why is help("modules") not
implemented in that trivial way?)
regards,
jwi
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Auto-completion: why not module name? candide <c.candide@laposte.net> - 2015-03-16 09:23 -0700
Re: Auto-completion: why not module name? Chris Angelico <rosuav@gmail.com> - 2015-03-17 03:40 +1100
Re: Auto-completion: why not module name? Jonas Wielicki <jonas@wielicki.name> - 2015-03-16 17:54 +0100
Re: Auto-completion: why not module name? Ian Kelly <ian.g.kelly@gmail.com> - 2015-03-16 10:57 -0600
Re: Auto-completion: why not module name? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-03-17 19:10 +1100
Re: Auto-completion: why not module name? Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2015-03-17 12:22 +0000
Re: Auto-completion: why not module name? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-03-18 09:54 +1100
Auto-completion of Unicode names [was why not module name?] Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-03-18 10:29 +1100
Re: Auto-completion of Unicode names [was why not module name?] Chris Angelico <rosuav@gmail.com> - 2015-03-18 11:06 +1100
Re: Auto-completion of Unicode names [was why not module name?] Dan Sommers <dan@tombstonezero.net> - 2015-03-18 01:07 +0000
csiph-web