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


Groups > comp.lang.python > #24413

Re: exception problem

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: exception problem
Date 2012-06-25 00:15 -0400
Organization > Bestiaria Support Staff <
References <4FE79433.8020704@earthlink.net>
Newsgroups comp.lang.python
Message-ID <mailman.1474.1340597765.4697.python-list@python.org> (permalink)

Show all headers | 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