-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
For consistency with the types that they proxy, I believe that multiprocessing.managers.ListProxy should be registered to collections.abc.MutableSequence and multiprocessing.managers.DictProxy should be registered to collections.abc.MutableMapping. This could be done by registering either those types themselves or by registering their base classes, BaseListProxy and _BaseDictProxy.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
I discovered that these weren't registered to their ABCs while working on typeshed, so a little previous discussion occurred in issues in that repo:
Linked PRs
- gh-126417: Register multiprocessing proxy types to an appropriate collections.abc class #126419
- [3.13] gh-126417: Register multiprocessing proxy types to an appropriate collections.abc class (#126419) #126435
- [3.12] gh-126417: Register multiprocessing proxy types to an appropriate collections.abc class (#126419) #126436
- gh-126417: validate ABC methods on multiprocessing proxy types #126454
- [3.13] gh-126417: validate ABC methods on multiprocessing proxy types (GH-126454) #126674
- [3.12] gh-126417: validate ABC methods on multiprocessing proxy types (GH-126454) #126675
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement