Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #24413

Re: exception problem

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'exception': 0.05; 'finally:': 0.07; 'except:': 0.09; 'try:': 0.09; 'chunks': 0.16; 'received:80.91': 0.16; 'received:80.91.229': 0.16; 'received:gmane.org': 0.16; 'received:list': 0.16; 'subject:exception': 0.16; 'subject:problem': 0.22; 'url:home': 0.22; 'print': 0.25; 'header:X-Complaints-To:1': 0.28; '-0700,': 0.29; 'produces': 0.29; 'code:': 0.29; 'skip:( 20': 0.30; 'should': 0.35; 'to:addr:python-list': 0.35; 'charset:us-ascii': 0.36; 'subject:: ': 0.37; 'end': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.39; 'header:Received:5': 0.39; 'finally': 0.67; '3...': 0.84; 'dennis': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: exception problem
Date Mon, 25 Jun 2012 00:15:58 -0400
Organization > Bestiaria Support Staff <
References <4FE79433.8020704@earthlink.net>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-76-253-101-89.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 3.3/32.846
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
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.1474.1340597765.4697.python-list@python.org> (permalink)
Lines 31
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1340597765 news.xs4all.nl 6841 [2001:888:2000:d::a6]:44607
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:24413

Show key headers only | View raw


On Sun, 24 Jun 2012 15:26:59 -0700, Charles Hixson
<charleshixsn@earthlink.net> declaimed the following in
gmane.comp.python.general:

> The code:
>                  print    ("pre-chunkLine")
>                  chunks    =    []
>                  try:
>                      chunks    =    self.chunkLine (l)
>                  except:
>                      print    ("caught exception")
>                      print (sys.exc_info()[:2])
>                  finally:
>                      print ("at finally")
>                  print ("chunks =")
>                  print (repr(chunks), ".", end = ":")
> produces this result:

	Impossible... Nothing in the above would produce the "path  3..."
line in the below text. It should be "at finally\nchunks ="


>    . . ., by
> pre-chunkLine
> caught exception
> at finally
> path  3...
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: exception problem Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-06-25 00:15 -0400

csiph-web