[issue17911] traceback: add a new thin class storing a traceback without storing local variables
STINNER Victor
report at bugs.python.org
Thu Mar 5 02:54:51 CET 2015
STINNER Victor added the comment:
There are failures on buildbot.
http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/5651/steps/test/logs/stdio
http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/5783/steps/test/logs/stdio
http://buildbot.python.org/all/builders/PPC64%20PowerLinux%203.x/builds/3109/steps/test/logs/stdio
Examples:
======================================================================
ERROR: test_cause_tb (test.test_code_module.TestInteractiveConsole)
----------------------------------------------------------------------
Traceback (most recent call last):
AttributeError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/python/3.x.langa-ubuntu/build/Lib/code.py", line 91, in runcode
exec(code, self.locals)
File "<console>", line 1, in <module>
ValueError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/python/3.x.langa-ubuntu/build/Lib/test/test_code_module.py", line 85, in test_cause_tb
self.console.interact()
File "/opt/python/3.x.langa-ubuntu/build/Lib/code.py", line 245, in interact
more = self.push(line)
File "/opt/python/3.x.langa-ubuntu/build/Lib/code.py", line 267, in push
more = self.runsource(source, self.filename)
File "/opt/python/3.x.langa-ubuntu/build/Lib/code.py", line 75, in runsource
self.runcode(code)
File "/opt/python/3.x.langa-ubuntu/build/Lib/code.py", line 95, in runcode
self.showtraceback()
File "/opt/python/3.x.langa-ubuntu/build/Lib/code.py", line 144, in showtraceback
for value, tb in traceback._iter_chain(*ei[1:]):
AttributeError: module 'traceback' has no attribute '_iter_chain'
======================================================================
ERROR: test_html (test.test_cgitb.TestCgitb)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/test_cgitb.py", line 23, in test_html
raise ValueError("Hello World")
ValueError: Hello World
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/test_cgitb.py", line 27, in test_html
html = cgitb.html(sys.exc_info())
File "/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/cgitb.py", line 189, in html
''.join(traceback.format_exception(etype, evalue, etb)))
File "/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/traceback.py", line 109, in format_exception
etype, value, tb, limit=limit).format(chain=chain))
File "/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/traceback.py", line 433, in __init__
if exc_type and issubclass(exc_type, SyntaxError):
TypeError: issubclass() arg 1 must be a class
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17911>
_______________________________________
More information about the Python-bugs-list
mailing list