[Python-Dev] Concurrent.futures: no type discovery for PyCharm
Ilya Kamenshchikov
ikamenshchikov at gmail.com
Sat Apr 20 04:56:44 EDT 2019
More information about the Python-Dev mailing list
Sat Apr 20 04:56:44 EDT 2019
- Previous message (by thread): [Python-Dev] Python Documentation Translation in italian language
- Next message (by thread): [Python-Dev] Concurrent.futures: no type discovery for PyCharm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am using concurrent.futures to parallelize independent tasks on multiple cores once in a while. Each time I have a difficulty remembering the specific syntax and have to look it up in old code or google. I would much prefer to be able to find the source through the PyCharm and have autocompletion. It takes adding two lines to the __init__.py of concurrent.futures: (insert on line 19) from .process import ProcessPoolExecutor from .thread import ThreadPoolExecutor I would also guess that it would make the __getattr__ redundant? Am I missing something or can this change be done this way and would indeed be an improvement? Best Regards, -- Ilya Kamenshchikov -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20190420/a8af75b3/attachment.html>
- Previous message (by thread): [Python-Dev] Python Documentation Translation in italian language
- Next message (by thread): [Python-Dev] Concurrent.futures: no type discovery for PyCharm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list