Skip to content

Latest commit

 

History

History
312 lines (218 loc) · 5.78 KB

File metadata and controls

312 lines (218 loc) · 5.78 KB

Fix a crash that occurred when destroying subclasses of :class:`MemoryError`. Patch by Pablo Galindo.

Free the stack allocated in va_build_stack if do_mkstack fails and the stack is not a small_stack.

Handle interrupts that come after EOF correctly in PyOS_StdioReadline.

Fix handling of debug mode in :func:`asyncio.run`. This allows setting PYTHONASYNCIODEBUG or -X dev to enable asyncio debug mode when using :func:`asyncio.run`.

Restarting a ProactorEventLoop on Windows no longer logs spurious ConnectionResetErrors.

The pdb whatis command correctly reports instance methods as 'Method' rather than 'Function'.

When cancelling the task due to a timeout, :meth:`asyncio.wait_for` will now wait until the cancellation is complete also in the case when timeout is <= 0, like it does with positive timeouts.

:meth:`asyncio.wait_for` now properly handles races between cancellation of itself and the completion of the wrapped awaitable.

Change the method asyncio.AbstractEventLoop.run_in_executor to not be a coroutine.

Fix :mod:`codeop` regression that prevented turning compile warnings into errors.

Fixed a race between setTarget and flush in logging.handlers.MemoryHandler.

Fix potential UnicodeDecodeError in dis module.

Update :mod:`ensurepip` to install pip 20.2.1 and setuptools 49.2.1.

On Windows, fix asyncio recv_into() return value when the socket/pipe is closed (:exc:`BrokenPipeError`): return 0 rather than an empty byte string (b'').

Make tkinter doc example runnable.

Raise TclError instead of TypeError when an unknown option is passed to tkinter.OptionMenu.

Fix :exc:`NameError` in command-line interface of :mod:`py_compile`.

Reduce import overhead of :mod:`uuid`.

Prevent creating :class:`shared_memory.SharedMemory` objects with size=0.

Handle cases where the end_lineno is None on :func:`ast.increment_lineno`.

ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer closes connection during TLS negotiation

Fix pathlib.PosixPath to resolve a relative path located on the root directory properly.

Fix the signature of :class:`typing.Coroutine`.

Enable Sphinx 3.2 c_allow_pre_v3 option and disable c_warn_on_allowed_pre_v3 option to make the documentation compatible with Sphinx 2 and Sphinx 3.

Add documentation for debug feature of f-strings.

Changed the release when from __future__ import annotations becomes the default from 4.0 to 3.10 (following a change in PEP 563).

Make code, examples, and recipes in the Python documentation be licensed under the more permissive BSD0 license in addition to the existing Python 2.0 license.

Fixes the description that appears in UAC prompts.

Update Windows release to include SQLite 3.32.3.

Improve IDLE run crash error message (which users should never see).

Save files loaded with no line ending, as when blank, or different line endings, by setting its line ending to the system default. Fix regression in 3.8.4 and 3.9.0b4.

Fix bug in PyOS_mystrnicmp and PyOS_mystricmp that incremented pointers beyond the end of a string.