-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Closed
Copy link
Labels
3.13bugs and security fixesbugs and security fixestopic-multiprocessingtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Standard lists accept clear
as a shortcut for del xs[:]
xs = ['a']
xs.clear()
However, multiprocessing.ListProxy
omitted support for clear()
.
from multiprocessing import Manager
with Manager() as manager:
xs = manager.list()
xs.clear()
raises the following exception
AttributeError: 'ListProxy' object has no attribute 'clear'
Pitch
If clear
is supported in a standard list, it should be supported in a multiprocessing list!
Previous discussion
This issue was not previously discussed.
Linked PRs
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixestopic-multiprocessingtype-featureA feature request or enhancementA feature request or enhancement
Projects
Status
Done