Commits
master
Name already in use
Commits on Apr 4, 2019
Commits on Apr 3, 2019
-
bpo-36440: include node names in ParserError messages, instead of num…
…eric IDs (pythonGH-12565) The error messages in the parser module are referring to numeric IDs for the nodes. To improve readability, use the node names when reporting errors.
Commits on Apr 2, 2019
-
Have UserDict.__init__() implicitly check for updating w/ bool(kwargs…
…) instead of len() (pythonGH-12139) Semantically the same, but more idiomatic by checking against `kwargs` instead of `len(kwargs)`.
-
bpo-32413: Add documentation that at the module level, locals(), glob…
…als() are the same dictionary (pythonGH-5004) https://bugs.python.org/issue32413
Commits on Apr 1, 2019
-
bpo-13120: fix typo with test_issue13120() method name (pythonGH-12250)
Incorrect issue number '13210' added in 539ee5d. https://bugs.python.org/issue13120
-
bpo-36157:Document PyInterpreterState_Main() (pythonGH-12238)
I have added documentation for `PyInterpreterState_Main()`. I chose to place it under Advanced Debugger Support together with similar functions like `PyInterpreterState_Head()`, `PyInterpreterState_Next(`), and `PyInterpreterState_ThreadHead()` . https://bugs.python.org/issue36157
-
bpo-36495: Fix two out-of-bounds array reads (pythonGH-12641)
Research and fix by @bradlarsen.
-
-
bpo-36026: make descr error message consistent (pythonGH-11930)
set.add(0) and set.add.__get__(0) now raise TypeError with same error message.
-
bpo-36492: Deprecate passing some arguments as keyword arguments. (py…
…thonGH-12637) 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.
Commits on Mar 31, 2019
Commits on Mar 30, 2019
-
bpo-36384: Remove check for leading zeroes in IPv4 addresses (pythonG…
…H-12577) Stop rejecting IPv4 octets with leading zeroes as ambiguously octal. Plenty of other tools generate decimal IPv4 octets with leading zeroes, so keeping this check hurts interoperability. Patch by Joel Croteau.
-
bpo-36434: Properly handle writing errors in ZIP files. (pythonGH-12559)
Errors during writing no longer prevent to properly close the ZIP file.
-
bpo-24214: Fixed the UTF-8 incremental decoder. (pythonGH-12603)
The bug occurred when the encoded surrogate character is passed to the incremental decoder in two chunks.
-
Commits on Mar 29, 2019
-
bpo-35947: Update Windows to the current version of libffi (pythonGH-…
…11797) We now use a pre-built libffi binary from our binaries repository, and no longer vendor the full implementation.
-
bpo-36471: Add _Py_RunMain() (pythonGH-12618)
* Add config_read_cmdline() subfunction. Remove _PyCmdline structure. * _PyCoreConfig_Read() now also parses config->argv command line arguments