Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #101125

Re: Stupid Python tricks

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Serhiy Storchaka <storchaka@gmail.com>
Newsgroups comp.lang.python
Subject Re: Stupid Python tricks
Date Sat, 2 Jan 2016 00:22:18 +0200
Lines 7
Message-ID <mailman.153.1451686946.11925.python-list@python.org> (permalink)
References <5684a63b$0$1595$c3e8da3$5496439d@news.astraweb.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de mjMt7b2WBXAY+sPsYUb6KQ9NjFKzogNXwH1NG/F0UyJg==
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; "peters'": 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'tim': 0.24; 'header:In-Reply-To:1': 0.24; 'header :User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; "d'aprano": 0.33; 'steven': 0.33; 'but': 0.36; 'faster': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'to:addr:python.org': 0.40; 'still': 0.40; 'charset:windows-1252': 0.62; '10%': 0.72; 'obvious': 0.76; 'trick.': 0.84
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host 193.202.118.166
User-Agent Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
In-Reply-To <5684a63b$0$1595$c3e8da3$5496439d@news.astraweb.com>
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>
Xref csiph.com comp.lang.python:101125

Show key headers only | View raw


On 31.12.15 05:51, Steven D'Aprano wrote:
> Fifteen years later, and Tim Peters' Stupid Python Trick is still the
> undisputed champion!

It may be platform depended, but on my computer the obvious way is 10% 
faster the Stupid Python Trick.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Stupid Python tricks Steven D'Aprano <steve@pearwood.info> - 2015-12-31 14:51 +1100
  Re: Stupid Python tricks Rick Johnson <rantingrickjohnson@gmail.com> - 2015-12-30 21:02 -0800
    Re: Stupid Python tricks Steven D'Aprano <steve@pearwood.info> - 2015-12-31 17:09 +1100
      Re: Stupid Python tricks paul.hermeneutic@gmail.com - 2016-01-01 12:00 -0700
      Re: Stupid Python tricks Serhiy Storchaka <storchaka@gmail.com> - 2016-01-02 00:16 +0200
  Re: Stupid Python tricks wxjmfauth@gmail.com - 2015-12-31 03:43 -0800
  Re: Stupid Python tricks Serhiy Storchaka <storchaka@gmail.com> - 2016-01-02 00:22 +0200

csiph-web