This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients The Compiler, ZackerySpytz, gvanrossum, hroncok, iritkatriel, pablogsal, terry.reedy, vinay.sajip
Date 2021-02-23.15:26:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614093986.48.0.466283270059.issue43146@roundup.psfhosted.org>
In-reply-to
Content
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__'
History
Date User Action Args
2021-02-23 15:26:26iritkatrielsetrecipients: + iritkatriel, gvanrossum, terry.reedy, vinay.sajip, The Compiler, hroncok, ZackerySpytz, pablogsal
2021-02-23 15:26:26iritkatrielsetmessageid: <1614093986.48.0.466283270059.issue43146@roundup.psfhosted.org>
2021-02-23 15:26:26iritkatriellinkissue43146 messages
2021-02-23 15:26:26iritkatrielcreate