[New-bugs-announce] [issue32679] concurrent.futures should store full sys.exc_info()

Jonas H. report at bugs.python.org
Fri Jan 26 09:23:30 EST 2018


New submission from Jonas H. <jonas at lophus.org>:

Use case: Try to get a future's result using concurrent.futures.Future.result(), and log the full exception if there was any.

Currently, only "excinst" (sys.exc_info()[1]) is provided with the Future.exception() method.

Proposal: Add new Future.exc_info() method that returns the full sys.exc_info() at the time of the exception.

----------
components: Library (Lib)
messages: 310762
nosy: jonash
priority: normal
severity: normal
status: open
title: concurrent.futures should store full sys.exc_info()
type: enhancement
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32679>
_______________________________________


More information about the New-bugs-announce mailing list