Add multiprocessing.reduction submodule (#7361)

This commit is contained in:
Alex Waygood
2022-02-23 00:36:26 +00:00
committed by GitHub
parent 1610949c66
commit 070bbb4fb9
6 changed files with 93 additions and 3 deletions

View File

@@ -200,6 +200,8 @@ threading.Lock # A factory function that returns 'most efficient lock'. Marking
threading.RLock # Similar to above
multiprocessing.dummy.Lock # Similar to above
multiprocessing.dummy.RLock # Similar to above
# alias for a class defined elsewhere, mypy infers the variable has type `(*args) -> ForkingPickler` but stubtest infers the runtime type as <class ForkingPickler>
multiprocessing.reduction.AbstractReducer.ForkingPickler
tkinter.Misc.grid_propagate # The noarg placeholder is a set value list
tkinter.Misc.pack_propagate # The noarg placeholder is a set value list
tkinter.Tk.eval # from __getattr__
@@ -699,7 +701,6 @@ multiprocessing.managers.SyncManager.JoinableQueue
multiprocessing.managers.SyncManager.Pool
multiprocessing.pool.Pool.Process
multiprocessing.pool.ThreadPool.Process
multiprocessing.reducer
multiprocessing.synchronize.Semaphore.get_value
rlcompleter.Completer.attr_matches
rlcompleter.Completer.global_matches

View File

@@ -7,6 +7,9 @@ distutils.msvccompiler.HKEYS
locale.[A-Z0-9_]+ # Constants that should be moved to _locale and re-exported conditionally
locale.nl_langinfo # Function that should be moved to _locale and re-exported conditionally
mmap.PAGESIZE
# alias for a class defined elsewhere,
# mypy infers the variable has type `(*args) -> DupHandle` but stubtest infers the runtime type as <class DupHandle>
multiprocessing.reduction.AbstractReducer.DupHandle
msilib.MSI[A-Z_]+
msilib.text.dirname
msilib.PID_[A-Z_]+