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


Groups > comp.lang.python > #24413 > unrolled thread

Re: exception problem

Started byDennis Lee Bieber <wlfraed@ix.netcom.com>
First post2012-06-25 00:15 -0400
Last post2012-06-25 00:15 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#24413 — Re: exception problem

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2012-06-25 00:15 -0400
SubjectRe: exception problem
Message-ID<mailman.1474.1340597765.4697.python-list@python.org>
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/

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web