New submission from Jim Lin <b04705...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42363>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to