Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add what's new entry
  • Loading branch information
mdickinson committed May 29, 2024
commit c78d6375ac84d348f950c20f975ac6253e32912c
5 changes: 5 additions & 0 deletions Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@ Others
It had previously raised a :exc:`DeprecationWarning` since Python 3.9. (Contributed
by Jelle Zijlstra in :gh:`118767`.)

* The :class:`int` built-in will no longer delegate to
Comment thread
serhiy-storchaka marked this conversation as resolved.
Outdated
:meth:`~object.__trunc__`. Classes that want to support conversion to `int`
must implement either :meth:`~object.__int__` or :meth:`~object.__index__`.
(Contributed by Mark Dickinson in :gh:`119742`).


Porting to Python 3.14
======================
Expand Down