[issue32596] Lazy import concurrent.futures.process and thread

Serhiy Storchaka report at bugs.python.org
Fri Oct 15 09:33:49 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Thank you Inada-san. My first intention when I seen this code was to simplify it, but then I have found that it was an intentional change.

It may be easy to detect such code and raise a syntax warning or error. Or get rid of this limitation and allow globals officially here.

----------

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


More information about the Python-bugs-list mailing list