Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #92253
| Path | csiph.com!usenet.pasdenom.info!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | UNSURE 0.318 |
| X-Spam-Level | *** |
| X-Spam-Evidence | '*H*': 0.45; '*S*': 0.09; 'cc:addr:python-list': 0.10; 'python': 0.11; 'bugs.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'such,': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; '2015': 0.23; "haven't": 0.24; "i've": 0.24; 'header:In-Reply-To:1': 0.24; 'switch': 0.27; 'message-id:@mail.gmail.com': 0.28; 'regular': 0.29; 'behaviour': 0.29; 'windows,': 0.29; "can't": 0.32; 'aside': 0.32; 'skip:/ 20': 0.33; 'received:google.com': 0.34; '(and': 0.36; 'heard': 0.36; 'subject:: ': 0.37; 'difference': 0.38; 'systems,': 0.38; 'pm,': 0.39; 'why': 0.40; 'your': 0.60; 'here.': 0.61; 'more': 0.62; 'safety': 0.66; 'situation': 0.67; 'apart': 0.70; 'benefit': 0.70; 'power': 0.72; 'actually,': 0.84; 'announces': 0.84; 'chrisa': 0.84; 'nuclear': 0.84; 'otten': 0.84; 'to:none': 0.90; 'ages': 0.91; 'plant': 0.91; 'improvement': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=R/E3hI41P3/nxwrQb6a/ZGTXVkpvBrIEmo+pB3kOit0=; b=0wnFXmRYqMwiMYtNaQ/QXANmHrvd8WYg66Nntf1DaqJ9Gnb24JWjYsUTgML96rg3Wl 6Tv4rEIn3ZDeO9p+/+oebQpjKgSzgtGJvRs9AZ3F7TBHHeM1UX/QsEBz0w8j2cG0D7rj oO9BhzaZMkdFPjdvkUOYuPkhFmIc28BvK04UIBC2XQ20ZXchlcsfkU9QoUicaoECg5Bb AwTB3+UncFXdjbofVBv3B9Ov8LUUEmC3bpf3AS9oxpd2SgD7hSMHlaZJ2IsqqT0IHwuH 2Ar/W7mNlNcbX7ayPxVXxDZ5cWnJ1YoTU+NEAkWIUaZwpX1oAyKwTnIawjwIR47m9PRG c3pA== |
| MIME-Version | 1.0 |
| X-Received | by 10.107.134.153 with SMTP id q25mr14201457ioi.27.1433679234141; Sun, 07 Jun 2015 05:13:54 -0700 (PDT) |
| In-Reply-To | <ml16a9$qg8$1@ger.gmane.org> |
| References | <87y4k2hyvf.fsf@Equus.decebal.nl> <mailman.177.1433448836.13271.python-list@python.org> <87bnguhbec.fsf@Equus.decebal.nl> <874mmlqhul.fsf@Equus.decebal.nl> <mailman.215.1433588892.13271.python-list@python.org> <87sia4ox8h.fsf@Equus.decebal.nl> <ml16a9$qg8$1@ger.gmane.org> |
| Date | Sun, 7 Jun 2015 22:13:54 +1000 |
| Subject | Re: Find in ipython3 |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-Mailman-Approved-At | Sun, 07 Jun 2015 15:48:46 +0200 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| 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.248.1433684927.13271.python-list@python.org> (permalink) |
| Lines | 20 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1433684927 news.xs4all.nl 2914 [2001:888:2000:d::a6]:53937 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:92253 |
Show key headers only | View raw
On Sun, Jun 7, 2015 at 8:27 PM, Peter Otten <__peter__@web.de> wrote: > Just wait for Python 3.5. The switch from os.listdir() to the (new) > os.scandir() in the implementation of os.walk() is likely to improve the > situation Why wait? I've been using 3.5 for ages (and actually, my /usr/local/bin/python3 now announces itself as 3.6), and the betas have been available with all the regular installers. Python betas are pretty stable, and apart from a few glitches with the installers on Windows, I haven't heard any showstopper bugs. Aside from not depending on them for your nuclear power plant safety systems, there's not a lot that the betas can't be used for. Mind you, a lot of the benefit of os.scandir() comes from its behaviour across network mounts and such, which is why you're seeing no more than about a 2:1 difference here. From what I gather, the improvement across network can be simply amazing (because of the way os.listdir has to stat everything separately). ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Find in ipython3 Cecil Westerhof <Cecil@decebal.nl> - 2015-06-02 18:13 +0200
Re: Find in ipython3 Cameron Simpson <cs@zip.com.au> - 2015-06-04 12:54 +1000
Re: Find in ipython3 Cecil Westerhof <Cecil@decebal.nl> - 2015-06-04 07:09 +0200
Re: Find in ipython3 Cameron Simpson <cs@zip.com.au> - 2015-06-04 15:43 +1000
Re: Find in ipython3 Grant Edwards <invalid@invalid.invalid> - 2015-06-04 14:27 +0000
Re: Find in ipython3 Cecil Westerhof <Cecil@decebal.nl> - 2015-06-04 17:12 +0200
Re: Find in ipython3 Michael Torrie <torriem@gmail.com> - 2015-06-04 13:11 -0600
Re: Find in ipython3 Michael Torrie <torriem@gmail.com> - 2015-06-04 13:09 -0600
Re: Find in ipython3 Tim Chase <python.list@tim.thechases.com> - 2015-06-04 14:17 -0500
Re: Find in ipython3 random832@fastmail.us - 2015-06-04 16:13 -0400
Re: Find in ipython3 Cecil Westerhof <Cecil@decebal.nl> - 2015-06-05 09:17 +0200
Re: Find in ipython3 Cecil Westerhof <Cecil@decebal.nl> - 2015-06-06 11:57 +0200
Re: Find in ipython3 Laura Creighton <lac@openend.se> - 2015-06-06 13:07 +0200
Re: Find in ipython3 Cecil Westerhof <Cecil@decebal.nl> - 2015-06-07 08:20 +0200
Re: Find in ipython3 Cameron Simpson <cs@zip.com.au> - 2015-06-07 17:38 +1000
Re: Find in ipython3 Laura Creighton <lac@openend.se> - 2015-06-07 11:33 +0200
Re: Find in ipython3 Steven D'Aprano <steve@pearwood.info> - 2015-06-07 23:16 +1000
Re: Find in ipython3 Peter Otten <__peter__@web.de> - 2015-06-07 12:27 +0200
Re: Find in ipython3 Laura Creighton <lac@openend.se> - 2015-06-07 15:01 +0200
Re: Find in ipython3 Chris Angelico <rosuav@gmail.com> - 2015-06-07 22:13 +1000
csiph-web