This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: I think it will be better to output self._state for debugging
Type: Stage: patch review
Components: Library (Lib) Versions: Python 3.10
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: jimlinntu
Priority: normal Keywords: patch

Created on 2020-11-15 15:51 by jimlinntu, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 23299 open jimlinntu, 2020-11-15 15:55
Messages (1)
msg381016 - (view) Author: Jim Lin (jimlinntu) * Date: 2020-11-15 15:51
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.
History
Date User Action Args
2022-04-11 14:59:38adminsetgithub: 86529
2020-11-15 15:55:12jimlinntusetkeywords: + patch
stage: patch review
pull_requests: + pull_request22190
2020-11-15 15:51:14jimlinntucreate