Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
importsysimportconcurrent.futuresclassMyException(Exception):def__bool__(self):returnFalsedefraiser():raiseMyException("foo")defmain():withconcurrent.futures.ProcessPoolExecutor()asp:print(p.submit(raiser).result())if__name__=="__main__":sys.exit(main())
This program printsNone, but should fail and print a traceback
CPython versions tested on:
CPython main branch, 3.14, 3.13, 3.12, 3.11, 3.10, 3.9
Operating systems tested on:
Linux