8000 gh-71759: Deprecate using bytes-like objects in builtins. by serhiy-storchaka · Pull Request #779 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-71759: Deprecate using bytes-like objects in builtins. #779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Prev Previous commit
Merge branch 'main' into deprecate-buffer-as-string-in-builtins
  • Loading branch information
hauntsaninja authored Feb 9, 2023
commit 8904e25ab59dde56b903546cedd1677e8a4b1947
14 changes: 14 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,20 @@ Deprecated
:class:`float`, :func:`compile`, :func:`eval` and :func:`exec`.
(Contributed by Serhiy Storchaka in :gh:`71759`.)

* The :meth:`~asyncio.DefaultEventLoopPolicy.get_event_loop` method of the
default event loop policy now emits a :exc:`DeprecationWarning` if there
is no current event loop set and it decides to create one.
(Contributed by Serhiy Storchaka and Guido van Rossum in :gh:`100160`.)

* The :mod:`xml.etree.ElementTree` module now emits :exc:`DeprecationWarning`
when testing the truth value of an :class:`xml.etree.ElementTree.Element`.
Before, the Python implementation emitted :exc:`FutureWarning`, and the C
implementation emitted nothing.

* In accordance with :pep:`699`, the ``ma_version_tag`` field in :c:type:`PyDictObject`
is deprecated for extension modules. Accessing this field will generate a compiler
warning at compile time. This field will be removed in Python 3.14.
(Contributed by Ramvikrams and Kumar Aditya in :gh:`101193`. PEP by Ken Jin.)

Pending Removal in Python 3.13
------------------------------
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0