Skip to content
Snippets Groups Projects
Unverified Commit 0771d71e authored by Pablo Galindo's avatar Pablo Galindo
Browse files

Python 3.11.0b5

parent 7f731943
No related branches found
Tags v3.11.0b5
No related merge requests found
Showing
with 1 addition and 36 deletions
Fix incorrect source location info caused by certain optimizations in the
bytecode compiler.
Replace all ``EXTENDED_ARG_QUICK`` instructions with basic
:opcode:`EXTENDED_ARG` instructions in unquickened code. Consumers of
non-adaptive bytecode should be able to handle extended arguments the same
way they were handled in CPython 3.10 and older.
Undocumented ``PyCode_Addr2Location`` function now properly returns when
``addrq`` argument is less than zero.
Fix an issue that caused extended opcode arguments and some conditional pops
to be ignored when calculating valid jump targets for assignments to the
``f_lineno`` attribute of frame objects. In some cases, this could cause
inconsistent internal state, resulting in a hard crash of the interpreter.
:class:`ast.AST` node positions are now validated when provided to
:func:`compile` and other related functions. If invalid positions are
detected, a :exc:`ValueError` will be raised.
Drop support for :class:`bytes` on :attr:`sys.path`.
Fix memory leak in :class:`pickle.Pickler` when looking up :attr:`dispatch_table`. Patch by Kumar Aditya.
Fix binding of unix socket to empty address on Linux to use an available
address from the abstract namespace, instead of "\0".
Fix refleak in ``_io.TextIOWrapper.reconfigure``. Patch by Kumar Aditya.
:meth:`wsgiref.types.InputStream.__iter__` should return ``Iterator[bytes]``, not ``Iterable[bytes]``. Patch by Shantanu Jain.
Fix :mod:`fileinput` module didn't support ``errors`` option when
``inplace`` is true.
Fix a :mod:`sqlite3` regression where ``*args`` and ``**kwds`` were
incorrectly relayed from :py:func:`~sqlite3.connect` to the
:class:`~sqlite3.Connection` factory. The regression was introduced in 3.11a1
with PR 24421 (:gh:`85128`). Patch by Erlend E. Aasland.`
Upgrade bundled pip to 22.2.
Upgrade bundled setuptools to 63.2.0.
Fix IndexError in parsing invalid date in the :mod:`email` module.
Make multiprocessing test case ``test_shared_memory_recreate``
parallel-safe.
Fix incorrect handling of shebang lines in py.exe launcher
Allow virtual environments to correctly launch when they have spaces in the
path.
This is Python version 3.11.0 beta 4
This is Python version 3.11.0 beta 5
====================================
.. image:: https://github.com/python/cpython/workflows/Tests/badge.svg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment