- 01 Jun, 2019 3 commits
-
-
-
Tim Peters authored
This adds a vector of "search fingers" so that usable_arenas can be kept in sorted order (by number of free pools) via constant-time operations instead of linear search. This should reduce worst-case time for reclaiming a great many objects from O(A**2) to O(A), where A is the number of arenas. See bpo-37029.
-
Zackery Spytz authored
-
- 31 May, 2019 21 commits
-
-
Emmanuel Arias authored
* Add deprecated-remove information on stream doc According to the code on streams.py the functions: ``open_connection()``, ``start_server()``, ``open_unix_connection()``, ``start_unix_server()`` are deprecated. I infor that on documentation.
-
Cheryl Sabella authored
-
Ammar Askar authored
-
Pablo Galindo authored
-
Pablo Galindo authored
-
Zackery Spytz authored
msilib.Directory.start_component() was passing an extra argument to CAB.gen_id().
-
Akshay Sharma authored
-
Christian Heimes authored
Co-authored-by: nanjekyejoannah <nanjekyejoannah@gmail.com>
-
Makdon authored
Also includes other minor test skipping doc improvements. https://bugs.python.org/issue37094
-
Pablo Galindo authored
-
Pablo Galindo authored
-
Pablo Galindo authored
Include and document co_posonlyargcount and co_kwonlyargcount
-
Pablo Galindo authored
-
Zackery Spytz authored
If a type's __ipow__ method was implemented in C, attempting to use the *modulo* parameter would cause crashes. https://bugs.python.org/issue36379
-
Christian Heimes authored
The ssl module now can dump key material to a keylog file and trace TLS protocol messages with a tracing callback. The default and stdlib contexts also support SSLKEYLOGFILE env var. The msg_callback and related enums are private members. The feature is designed for internal debugging and not for end users. Signed-off-by: Christian Heimes <christian@python.org>
-
Serhiy Storchaka authored
TemporaryDirectory.cleanup() failed when non-writeable or non-searchable files or directories were created inside a temporary directory.
-
Serhiy Storchaka authored
Escape ``\r``, ``\0`` and ``\x1a`` (end-of-file on Windows) in Unicode strings.
-
Terry Jan Reedy authored
It seems to be the only widget label not capitalized.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Jeroen Demeyer authored
Automatically replace tp_print -> tp_vectorcall_offset tp_compare -> tp_as_async tp_reserved -> tp_as_async
-
- 30 May, 2019 16 commits
-
-
Ivan Levkivskyi authored
This is an old feature request that appears from time to time. After a year of experimenting with various introspection capabilities in `typing_inspect` on PyPI, I propose to add these two most commonly used functions: `get_origin()` and `get_args()`. These are essentially thin public wrappers around private APIs: `__origin__` and `__args__`. As discussed in the issue and on the typing tracker, exposing some public helpers instead of `__origin__` and `__args__` directly will give us more flexibility if we will decide to update the internal representation, while still maintaining backwards compatibility. The implementation is very simple an is essentially a copy from `typing_inspect` with one exception: `ClassVar` was special-cased in `typing_inspect`, but I think this special-casing doesn't really help and only makes things more complicated.
-
-
Matthias Bussonnier authored
Bump the removal to 3.9, indicate collections.abc available since 3.3, replace version-changed directive to deprecated-removed. https://bugs.python.org/issue36953
-
xdegaye authored
when platform lacks a functioning sem_open implementation https://bugs.python.org/issue36342
-
Antti Haapala authored
-
-
Xtreak authored
As per the PEP and the [audit event raised](https://github.com/python/cpython/blob/13d4e6a4a090031f8214e058ed3c8fd47767e05f/Lib/urllib/request.py#L524) in urllib.request this should be `urllib.Request` cc: @zooba
-
-
Brett Cannon authored
This reverts commit 71dc7c5f. Turns out you must have write access for CODEOWNERS to work.
-
Jeroen Demeyer authored
-
Xtreak authored
Fix DeprecationWarning introduced in aee19f54 https://bugs.python.org/issue37099
-
Zackery Spytz authored
There is no need to clear these immutable objects during shutdown.
-
Jeroen Demeyer authored
-
Jeroen Demeyer authored
-
Xtreak authored
From 3.8 async functions used with mock.patch return an `AsyncMock`. `_accept_connection2` is an async function where create_task is also mocked. Don't mock `create_task` so that tasks are created out of coroutine returned by `AsyncMock` and the tasks are completed. https://bugs.python.org/issue37015
-
Christian Heimes authored
-