Staging
v0.5.1
https://github.com/python/cpython
Revision a37f356de19828241bf19129f804369794c72ed3 authored by Serhiy Storchaka on 01 April 2019, 07:59:24 UTC, committed by GitHub on 01 April 2019, 07:59:24 UTC
The following arguments can be passed as keyword arguments for passing
to other function if the corresponding required argument is passed as
positional:

- "func" in functools.partialmethod(), weakref.finalize(),
  profile.Profile.runcall(), cProfile.Profile.runcall(),
  bdb.Bdb.runcall(), trace.Trace.runfunc() and
  curses.wrapper().
- "function" in unittest.addModuleCleanup() and
  unittest.TestCase.addCleanup().
- "fn" in the submit() method of concurrent.futures.ThreadPoolExecutor
  and concurrent.futures.ProcessPoolExecutor.
- "callback" in contextlib.ExitStack.callback(),
  contextlib.AsyncExitStack.callback() and
  contextlib.AsyncExitStack.push_async_callback().
- "c" and "typeid" in multiprocessing.managers.Server.create().
- "obj" in weakref.finalize().

(cherry picked from commit 42a139ed88c487f325a241c6ee8b308b3c045975)
1 parent 5e23395
History
Tip revision: a37f356de19828241bf19129f804369794c72ed3 authored by Serhiy Storchaka on 01 April 2019, 07:59:24 UTC
[3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645)
Tip revision: a37f356
File Mode Size
CODEOWNERS -rw-r--r-- 1.9 KB
CONTRIBUTING.rst -rw-r--r-- 2.4 KB
PULL_REQUEST_TEMPLATE.md -rw-r--r-- 318 bytes
appveyor.yml -rw-r--r-- 1.1 KB
codecov.yml -rw-r--r-- 482 bytes

back to top