concurrent.futures: fix top level available objects, add InvalidStateError (#4021)

* concurrent.futures: add InvalidStateError

* concurrent.futures: fix package imports

* asyncio.futures: fix import

* concurrent.futures: fix version availability for BrokenExecutor

* concurrent.futures: make consistent

* concurrent.futures: update whitelist

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2020-05-25 15:38:09 -07:00
committed by GitHub
parent 1996361adc
commit 18121d71c8
8 changed files with 43 additions and 19 deletions

View File

@@ -24,7 +24,7 @@ collections.abc.AsyncGenerator.ag_await
collections.abc.AsyncGenerator.ag_code
collections.abc.AsyncGenerator.ag_frame
collections.abc.AsyncGenerator.ag_running
concurrent.futures.BrokenThreadPool
concurrent.futures.ProcessPoolExecutor.map
contextvars.Context.__init__
contextvars.Context.get
copy.PyStringMap

View File

@@ -47,8 +47,8 @@ collections.abc.Container.__contains__
collections.abc.ItemsView.__reversed__
collections.abc.KeysView.__reversed__
collections.abc.ValuesView.__reversed__
concurrent.futures.BrokenThreadPool
concurrent.futures.Executor.submit
concurrent.futures.ProcessPoolExecutor.map
concurrent.futures.ProcessPoolExecutor.submit
concurrent.futures.ThreadPoolExecutor.submit
concurrent.futures._base.Executor.submit

View File

@@ -123,17 +123,7 @@ collections.abc.Sequence.count
collections.abc.Sequence.index
collections.abc.Set.isdisjoint
collections.deque.__hash__
concurrent.futures.BrokenProcessPool
concurrent.futures.CANCELLED
concurrent.futures.CANCELLED_AND_NOTIFIED
concurrent.futures.EXTRA_QUEUED_CALLS
concurrent.futures.Error
concurrent.futures.Executor.map
concurrent.futures.FINISHED
concurrent.futures.LOGGER
concurrent.futures.PENDING
concurrent.futures.ProcessPoolExecutor.map
concurrent.futures.RUNNING
concurrent.futures._base.Executor.map
concurrent.futures.process.ProcessPoolExecutor.map
configparser.LegacyInterpolation.before_get