Message407485
hey Irit, Is this issue platform-dependent? I am on ubuntu 20.04, and running python 3.10. I am not getting the same error that you have mentioned below.
This is what I am getting.
###################################
hello ...
Traceback (most recent call last):
File "error.py", line 17, in main
print(await fut)
TypeError: 42
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "error.py", line 21, in <module>
asyncio.run(main())
File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "error.py", line 19, in main
traceback.print_exception(e)
TypeError: print_exception() missing 2 required positional arguments: 'value' and 'tb'
###########################################################
and if I replace traceback.print_exception method with the print method, It runs perfectly fine, printing
hello ...
42
42
42
Can you please help me with this issue? |
|
Date |
User |
Action |
Args |
2021-12-01 20:04:04 | vishalpandeyvip | set | recipients:
+ vishalpandeyvip, gvanrossum, asvetlov, yselivanov, iritkatriel |
2021-12-01 20:04:03 | vishalpandeyvip | set | messageid: <1638389043.85.0.0411374282621.issue45924@roundup.psfhosted.org> |
2021-12-01 20:04:03 | vishalpandeyvip | link | issue45924 messages |
2021-12-01 20:04:03 | vishalpandeyvip | create | |
|