Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.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.038 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'win32': 0.03; 'configure': 0.05; 'folder': 0.05; 'none:': 0.07; 'posting.': 0.09; 'terry': 0.09; 'cc:addr:python-list': 0.15; 'consciously': 0.16; 'differently': 0.16; 'eckhardt': 0.16; 'preserve': 0.16; 'preserved': 0.16; 'tab': 0.16; 'looks': 0.21; 'wrote:': 0.21; 'function': 0.22; 'exception': 0.22; 'format,': 0.22; 'header:In- Reply-To:1': 0.22; 'header:User-Agent:1': 0.23; 'convert': 0.23; '(or': 0.24; '>>>': 0.24; 'subject:/': 0.25; 'cc:no real name:2**0': 0.26; 'cc:addr:python.org': 0.27; 'cc:2**0': 0.31; 'posting': 0.31; 'maybe': 0.31; 'text.': 0.33; 'space': 0.34; 'could': 0.34; 'actually': 0.35; "i'm": 0.36; 'except': 0.36; 'text': 0.36; 'python.org': 0.37; 'some': 0.37; 'failed': 0.38; 'rather': 0.38; 'software': 0.38; 'called': 0.38; 'client': 0.38; "didn't": 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'aware': 0.60; 'your': 0.60; 'choose': 0.61; 'call': 0.62; 'avoid': 0.63; 'more': 0.63; 'results': 0.65; 'header:Reply-To:1': 0.66; 'behavior': 0.67; 'news': 0.70; 'readers': 0.72; 'reply- to:no real name:2**0': 0.72; 'bandwidth.': 0.84; 'davea': 0.84; 'here...': 0.84; 'indented': 0.84; 'received:74.208.4.194': 0.84; 'subject:tabs': 0.84 Date: Thu, 29 Mar 2012 11:16:30 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19 MIME-Version: 1.0 To: Ulrich Eckhardt Subject: Re: tabs/spaces References: <0ved49-hie.ln1@satorlaser.homedns.org> In-Reply-To: <0ved49-hie.ln1@satorlaser.homedns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:ea6aPYxitkSwpcaQ5dGZelsAvjLWphMRCQh3OcKLU6V NNdCqsau8AY0uHt/TMHU0QsKvYVAizmVYoGbjQZrLkf04igNA5 S7ocCpJX12z6qq0eCwzKQrPuYWCKPr5bcuNUXp1/yS6b0wx8Uy zB6WxIZM9dn4wi5QM1oWXqEIr6Ez2D1qwU1aNc4jna9EHtbv9+ 8kTxXVB+ZzZAC2cnWY9UMgKy/0YmSi70kKe2TgYSVOvIuKtS91 b7237By+ZUd3H1B49QPilYgDQgVn7lReGT3ihR/tHCTwmv73+f icwkwmot+sPPOlwffn7kHpIryiQnRKAV5gGs21L/sn1RExS033 hw4527xjIBQvZz8WqvB8= Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 42 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1333034206 news.xs4all.nl 6957 [2001:888:2000:d::a6]:51092 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:22343 On 03/29/2012 03:18 AM, Ulrich Eckhardt wrote: > Am 28.03.2012 20:26, schrieb Terry Reedy: >> On 3/28/2012 8:28 AM, Ulrich Eckhardt wrote: > [...] >>> # call testee and verify results >>> try: >>> ...call function here... >>> except exception_type as e: >>> if not exception is None: >>> self.assertEqual(e, exception) >> >> Did you use tabs? They do not get preserved indefinitely, so they are >> bad for posting. > > I didn't consciously use tabs, actually I would rather avoid them. > That said, my posting looks correctly indented in my "sent" folder and > also in the copy received from my newsserver. What could also have an > influence is line endings. I'm using Thunderbird on win32 here, acting > as news client to comp.lang.python. Or maybe it's your software (or > maybe some software in between) that fails to preserve formatting. > > *shrug* > > Uli More likely, you failed to tell Thunderbird to send it as text. Html messages will read differently on html aware readers than on the standard text readers. They also take maybe triple the space and bandwidth. In thunderbird 3.1.19 In Edit->Preferences, Composition->general Configure Text Format Behavior -> SendOptions In that dialog, under Text Format, choose Convert the message to plain text. Then in the tab called "Plain text domains", add python.org -- DaveA