Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.116 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.77; '*S*': 0.00; 'received:209.85.214.174': 0.13; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'cc:no real name:2**0': 0.20; 'header:In-Reply-To:1': 0.22; 'cc:2**0': 0.24; 'message-id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.29; 'class': 0.29; 'received:209.85.214': 0.32; 'subject:with': 0.36; 'sequence': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'received:209': 0.40; 'within': 0.60; '2012': 0.67; 'otten': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=QqiBoyO6pxPE1JXbPZWetMCFvGpDA+z3dzf1ve2jfro=; b=bFELjEfXO+x/lJ5XpRU/C5pNk/gzGKGcI2HqXnsOrJS8NHZuj4/F4L1Gwe9Uly1kP7 /4y6sNinqInx8bjHPV7zDB62iKNQFnm8thKhmIKf1rpLgSxI85SvJGRFJsvTTQihbEjd qEv8TwhKkF6HKcw99BlapMyTNfDZoCVhkmqM4= MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 6 Jan 2012 21:32:31 +0000 Subject: Re: replacing __dict__ with an OrderedDict From: Arnaud Delobelle To: Peter Otten <__peter__@web.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1325885554 news.xs4all.nl 6901 [2001:888:2000:d::a6]:55637 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:18620 On 6 January 2012 11:44, Peter Otten <__peter__@web.de> wrote: > class Loader(unittest.TestLoader): > =C2=A0 =C2=A0def getTestCaseNames(self, testCaseClass): > =C2=A0 =C2=A0 =C2=A0 =C2=A0"""Return a sequence of method names found wit= hin testCaseClass > =C2=A0 =C2=A0 =C2=A0 =C2=A0sorted by co_firstlineno. > =C2=A0 =C2=A0 =C2=A0 =C2=A0""" That's a clever trick! --=20 Arnaud