1. 01 Apr, 2019 3 commits
    • Inada Naoki's avatar
      10654c19
    • Inada Naoki's avatar
      bpo-36026: make descr error message consistent (GH-11930) · 62f95886
      Inada Naoki authored
      set.add(0) and set.add.__get__(0) now raise TypeError
      with same error message.
      62f95886
    • Serhiy Storchaka's avatar
      bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637) · 42a139ed
      Serhiy Storchaka authored
      Deprecated passing the following arguments as keyword arguments:
      
      - "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 the create() method of multiprocessing.managers.Server
        and multiprocessing.managers.SharedMemoryServer.
      - "obj" in weakref.finalize().
      
      Also allowed to pass arbitrary keyword arguments (even "self" and "func")
      if the above arguments are passed as positional argument.
      42a139ed
  2. 31 Mar, 2019 4 commits
  3. 30 Mar, 2019 9 commits
  4. 29 Mar, 2019 7 commits
  5. 28 Mar, 2019 12 commits
  6. 27 Mar, 2019 5 commits