Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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.080 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; 'completeness': 0.07; 'python.org?': 0.09; 'unpack': 0.09; 'cc:addr:python-list': 0.10; ';-)': 0.11; 'sat,': 0.15; 'arrived': 0.16; 'oct': 0.16; 'martin': 0.16; 'wrote:': 0.17; 'skip:v 30': 0.20; 'trying': 0.21; 'cc:2**0': 0.23; "i've": 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'am,': 0.27; "d'aprano": 0.29; 'steven': 0.29; 'source': 0.29; 'message.': 0.33; 'skip:d 20': 0.34; 'program,': 0.34; 'list.': 0.35; 'but': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'skip:a 30': 0.60; 'most': 0.61; 'thomas': 0.62; 'information,': 0.63; 'here': 0.65; 'legal': 0.65; 'header:Reply-To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'ask,': 0.84; 'quote,': 0.84; 'text-based': 0.84; 'troubles': 0.84; 'bob': 0.91 Date: Tue, 09 Oct 2012 02:29:09 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Bob Martin Subject: Re: Unpaking Tuple References: <801f0e2c-7d1d-4e91-bec5-78c5e53a70ec@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:xNdvsdyfnXHrA3QhrkvnH51gxcHJkzEnYbv7xCTnnlg aDmlUlGEUydtegcdTWhs+dgIlnpotXdsVtM7iEarX0uJIel78L CEKkJ7miyOYCB0GBs8cLt2LO5OdI1SYjlVVqn4SP7U5HPTUZP/ kDApitZoMJ6m6F2zwPNB4sfMCBymSdueARMBtLe5drsEk7qBRA R4tGELS4uzsNeJqYGUAe5HCc0MMm5pgoMq1NZbDMajocA72rXq a9DKLMAKEYnlNsdyq9FFWb/R8DvisV9DPGkEWkE8qJ7wW58THW U1AM0utb2+R/G/GZ1adqvAEucfdfZiJMdtBECkwt/zA9E0Iqw= = Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: d@davea.name 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1349764176 news.xs4all.nl 6908 [2001:888:2000:d::a6]:43118 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30998 On 10/09/2012 02:07 AM, Bob Martin wrote: > in 682592 20121008 232126 "Prasad, Ramit" wrote: >> Thomas Bach wrote:=0D=0A> Hi there,=0D=0A> =0D=0A> On Sat, Oct 06, 2012 at = >> 03:08:38PM +0000, Steven D'Aprano wrote:=0D=0A> >=0D=0A> > my_tuple =3D my_= >> tuple[:4]=0D=0A> > a,b,c,d =3D my_tuple if len(my_tuple) =3D=3D 4 else (my_= >> >> y and completeness of information, viruses,=0D=0Aconfidentiality, legal pri= >> vilege, and legal entity disclaimers,=0D=0Aavailable at http://www=2Ejpmorg= >> an=2Ecom/pages/disclosures/email=2E > How does one unpack this post? ;-) Since that's not the way it arrived here, i have to ask, how do you get these posts? Are you subscribed to individual messages by email via python.org? or are you using google-groups or some other indirection? In any reasonable mail program, you can see the source of a message. Most of the troubles i've seen here have been caused by people trying to send html mail to a text-based mailing list. But in the case you quote, the original message came here as text/plain, and well formatted. -- DaveA