A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-August/068479.html below:

[Python-Dev] Removing anachronisms from logging module

[Python-Dev] Removing anachronisms from logging module [Python-Dev] Removing anachronisms from logging moduleFredrik Lundh fredrik at pythonware.com
Sat Aug 26 01:01:38 CEST 2006
Guido van Rossum wrote:

> I prefer to focus on "clearer" and "less error-prone" rather than
> "faster" in most cases.

well, given that "startwith" is by far the most common typo I make
when writing Python programs these days, I'm not so sure about that
error-proneness thing, but never mind...

> I do agree it's a minor embarrassment that s.startswith(t) is slower
> than s[:len(t)]==t; but I think we should make startswith() faster
> rather than recommending the other idiom.

absolutely (see the py3k list for some related discussion).

</F>



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4