[New-bugs-announce] [issue1025] tracebacks from list comps (probably other comps) don't show full stack

Neal Norwitz report at bugs.python.org
Sun Aug 26 05:37:20 CEST 2007


New submission from Neal Norwitz:

A traceback that occurs within a list comprehension (and probably all
comprehensions) only shows the stack from the comprehension, not the
entire scope:

Traceback (most recent call last):
  File "Lib/test/test_multibytecodec_support.py", line 35, in
test_chunkcoding
    for f in self.tstring]):
  File "Lib/test/test_multibytecodec_support.py", line 35, in <listcomp>
    for f in self.tstring]):
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa6 in position 0:
unexpected code byte

----------
components: Interpreter Core
keywords: py3k
messages: 55303
nosy: nnorwitz
severity: normal
status: open
title: tracebacks from list comps (probably other comps)  don't show full stack
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1025>
__________________________________


More information about the New-bugs-announce mailing list