[New-bugs-announce] [issue42363] I think it will be better to output self._state for debugging

Jim Lin report at bugs.python.org
Sun Nov 15 10:51:14 EST 2020


New submission from Jim Lin <b04705003 at ntu.edu.tw>:

I think the exception "raise ValueError("Pool not running")" is not easy for a programmer to quickly know the problem of their code.

Therefore, I add the value of self._state when throwing the ValueError.

----------
components: Library (Lib)
messages: 381016
nosy: jimlinntu
priority: normal
severity: normal
status: open
title: I think it will be better to output self._state for debugging
versions: Python 3.10

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


More information about the New-bugs-announce mailing list