Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
DictProxy andListProxy classes frommultiprocessing.managers do not support generic annotations.
Minimal reproducible example forDictProxy:
frommultiprocessing.managersimportDictProxyfrommultiprocessingimportManagerd:DictProxy[str,float]=Manager().dict()
Error:
Traceback (most recent call last): File "<stdin>", line 1, in <module>TypeError: type 'DictProxy' is not subscriptableSimilar forListProxy
Side note:#99509 appears to still be an issue as well
Your environment
Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32
Linked PRs
Metadata
Metadata
Assignees
Projects
Status
Done