- 01 Apr, 2019 3 commits
-
-
Inada Naoki authored
-
Inada Naoki authored
set.add(0) and set.add.__get__(0) now raise TypeError with same error message.
-
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.
-
- 31 Mar, 2019 4 commits
-
-
Zackery Spytz authored
-
Zackery Spytz authored
-
Steve Dower authored
-
Steve Dower authored
-
- 30 Mar, 2019 9 commits
-
-
Paul Moore authored
-
Joel Croteau authored
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.
-
Nick Coghlan authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Errors during writing no longer prevent to properly close the ZIP file.
-
Serhiy Storchaka authored
The bug occurred when the encoded surrogate character is passed to the incremental decoder in two chunks.
-
Inada Naoki authored
-
Inada Naoki authored
-
- 29 Mar, 2019 7 commits
-
-
Steve Dower authored
-
Paul Monson authored
We now use a pre-built libffi binary from our binaries repository, and no longer vendor the full implementation.
-
Jeroen Demeyer authored
-
Victor Stinner authored
* Add config_read_cmdline() subfunction. Remove _PyCmdline structure. * _PyCoreConfig_Read() now also parses config->argv command line arguments
-
Alexey Izbyshev authored
-
Julien Palard authored
-
Susan Su authored
* changes to html file -> added contributing to docs link at the end of the page * revisions to the dealing with bugs page. added more links in the documentation bugs section *
📜 🤖 Added by blurb_it. * Update Doc/bugs.rst Updated Doc/bugs.rst in accordance with willingc and JulienPalard suggestions. Co-Authored-By: suhearsawho <susansu.software@gmail.com>
-
- 28 Mar, 2019 12 commits
-
-
-
Xtreak authored
Return None after calling unittest.mock.patch.object.stop() regardless of whether the object was started. This makes the method idempotent. https://bugs.python.org/issue36366
-
Jules Lasne (jlasne) authored
No `bpo` for minor doc fix
-
ksamuel authored
Make the encoding/encoders mention congruent.
-
kctherookie authored
Add a function to collect certificates from several certificate stores into one certificate collection store that is then enumerated. This ensures we load as many certificates as we can access.
-
zhsj authored
-
Giampaolo Rodola authored
-
Serhiy Storchaka authored
Make it doing less memory allocations and using the modern C API.
-
Zackery Spytz authored
Remove the PyMem_FREE() call added in cb90c89d. The buffer will be freed when PyTokenizer_Free() is called on the tokenizer state.
-
Thomas Perl authored
-
Ned Deily authored
-
Raymond Hettinger authored
This reverts commit dfd775a0.
-
- 27 Mar, 2019 5 commits
-
-
Steve Dower authored
-
Philipp A authored
-
Raymond Hettinger authored
-
Victor Stinner authored
bpo-36443, bpo-36202: Since Python 3.7.0, calling Py_DecodeLocale() before Py_Initialize() produces mojibake if the LC_CTYPE locale is coerced and/or if the UTF-8 Mode is enabled by the user configuration. This change fix the issue by disabling LC_CTYPE coercion and UTF-8 Mode by default. They must now be enabled explicitly (opt-in) using the new _Py_PreInitialize() API with _PyPreConfig. When embedding Python, set coerce_c_locale and utf8_mode attributes of _PyPreConfig to -1 to enable automatically these parameters depending on the LC_CTYPE locale, environment variables and command line arguments Alternative: Setting Py_UTF8Mode to 1 always explicitly enables the UTF-8 Mode. Changes: * _PyPreConfig_INIT now sets coerce_c_locale and utf8_mode to 0 by default. * _Py_InitializeFromArgs() and _Py_InitializeFromWideArgs() can now be called with config=NULL.
-
Steve Dower authored
-