Message387575
The other thing is not related to the one reported here, but I found it while writing the test for this.
We have a new API in 3.10, where you can do traceback.print_exception(ex) (so you don't need to give the whole type,val,tb triplet).
But:
>>> traceback.print_exception(None)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\User\src\cpython-dev\lib\traceback.py", line 110, in print_exception
value, tb = _parse_value_tb(exc, value, tb)
File "C:\Users\User\src\cpython-dev\lib\traceback.py", line 94, in _parse_value_tb
return exc, exc.__traceback__
AttributeError: 'NoneType' object has no attribute '__traceback__' |
|
Date |
User |
Action |
Args |
2021-02-23 15:26:26 | iritkatriel | set | recipients:
+ iritkatriel, gvanrossum, terry.reedy, vinay.sajip, The Compiler, hroncok, ZackerySpytz, pablogsal |
2021-02-23 15:26:26 | iritkatriel | set | messageid: <1614093986.48.0.466283270059.issue43146@roundup.psfhosted.org> |
2021-02-23 15:26:26 | iritkatriel | link | issue43146 messages |
2021-02-23 15:26:26 | iritkatriel | create | |
|