Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #22343
| 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 | <d@davea.name> |
| 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 <d@davea.name> |
| 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 <ulrich.eckhardt@dominolaser.com> |
| Subject | Re: tabs/spaces |
| References | <pncb49-ur7.ln1@satorlaser.homedns.org> <mailman.1088.1332959227.3037.python-list@python.org> <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 <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1119.1333034206.3037.python-list@python.org> (permalink) |
| 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 |
Show key headers only | View raw
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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
unittest: assertRaises() with an instance instead of a type Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-03-28 14:28 +0200
Re: unittest: assertRaises() with an instance instead of a type Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-03-28 18:07 +0000
Re: unittest: assertRaises() with an instance instead of a type Ben Finney <ben+python@benfinney.id.au> - 2012-03-29 12:55 +1100
Re: unittest: assertRaises() with an instance instead of a type Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-03-29 06:35 +0000
Re: unittest: assertRaises() with an instance instead of a type Peter Otten <__peter__@web.de> - 2012-03-29 08:55 +0200
Re: unittest: assertRaises() with an instance instead of a type Steve Howell <showell30@yahoo.com> - 2012-03-28 22:50 -0700
Re: unittest: assertRaises() with an instance instead of a type Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-03-29 09:08 +0200
Re: unittest: assertRaises() with an instance instead of a type Peter Otten <__peter__@web.de> - 2012-03-29 09:48 +0200
Re: unittest: assertRaises() with an instance instead of a type Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-03-30 02:45 +0000
Re: unittest: assertRaises() with an instance instead of a type Ethan Furman <ethan@stoneleaf.us> - 2012-03-30 10:45 -0700
Re: unittest: assertRaises() with an instance instead of a type Ethan Furman <ethan@stoneleaf.us> - 2012-03-29 08:35 -0700
Re: unittest: assertRaises() with an instance instead of a type Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-03-30 02:53 +0000
Re: unittest: assertRaises() with an instance instead of a type Terry Reedy <tjreedy@udel.edu> - 2012-03-28 14:26 -0400
Re: unittest: assertRaises() with an instance instead of a type Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-03-29 09:28 +0200
Re: unittest: assertRaises() with an instance instead of a type Terry Reedy <tjreedy@udel.edu> - 2012-03-29 11:04 -0400
tabs/spaces (was: Re: unittest: assertRaises() with an instance instead of a type) Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-03-29 09:18 +0200
Re: tabs/spaces (was: Re: unittest: assertRaises() with an instance instead of a type) Roy Smith <roy@panix.com> - 2012-03-29 08:49 -0400
Re: tabs/spaces Dave Angel <d@davea.name> - 2012-03-29 11:16 -0400
Re: tabs/spaces Terry Reedy <tjreedy@udel.edu> - 2012-03-29 11:25 -0400
Re: tabs/spaces Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-03-30 09:05 +0200
Re: tabs/spaces Dave Angel <d@davea.name> - 2012-03-30 08:47 -0400
Re: tabs/spaces Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-04-02 09:12 +0200
Re: tabs/spaces Terry Reedy <tjreedy@udel.edu> - 2012-04-02 03:42 -0400
csiph-web