Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'win32': 0.03; 'folder': 0.05; 'none:': 0.07; 'happen,': 0.09; 'posting.': 0.09; 'terry': 0.09; 'jan': 0.10; 'messages.': 0.13; 'consciously': 0.16; 'eckhardt': 0.16; 'preserved': 0.16; 'received:80.91': 0.16; 'received:80.91.229': 0.16; 'received:gmane.org': 0.16; 'received:list': 0.16; 'received:verizon.net': 0.16; 'reedy': 0.16; 'looks': 0.21; 'wrote:': 0.21; 'function': 0.22; 'exception': 0.22; 'header:In-Reply-To:1': 0.22; 'header:User- Agent:1': 0.23; '>>>': 0.24; 'subject:/': 0.25; 'fine': 0.27; 'looked': 0.27; 'originally': 0.27; 'post': 0.28; 'posting': 0.31; 'asked': 0.31; 'could': 0.34; 'actually': 0.35; 'version': 0.36; "i'm": 0.36; 'except': 0.36; 'header:X-Complaints-To:1': 0.36; 'does': 0.36; 'next': 0.38; 'rather': 0.38; 'client': 0.38; 'received:org': 0.38; "didn't": 0.38; 'to:addr:python-list': 0.39; 'to:addr:python.org': 0.40; 'close': 0.61; 'call': 0.62; 'back': 0.63; 'avoid': 0.63; 'results': 0.65; 'reply': 0.66; 'news': 0.70; 'here...': 0.84; 'indented': 0.84; 'subject:tabs': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: tabs/spaces Date: Thu, 29 Mar 2012 11:25:14 -0400 References: <0ved49-hie.ln1@satorlaser.homedns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-74-109-121-73.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: <0ved49-hie.ln1@satorlaser.homedns.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: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1333034733 news.xs4all.nl 6916 [2001:888:2000:d::a6]:55387 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:22344 On 3/29/2012 3: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. I am using Thunderbird, win64, as news client for gmane. The post looked fine as originally received. The indents only disappeared when I hit reply and the >s were added. That does not happen, in general, for other messages. Unfortunately I cannot go back and read that message as received because the new version of Tbird is misbehaving and deleting read messages on close even though I asked to keep them 6 months. I will look immediately when I next see indents disappearing. -- Terry Jan Reedy