Skip to content

Commit 54fdfe6

Browse files
authored
document date for removing bool(NotImplemented)
1 parent 6bdd9e2 commit 54fdfe6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Doc/deprecations/pending-removal-in-3.14.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ Pending Removal in Python 3.14
3838
is no current event loop set and it decides to create one.
3939
(Contributed by Serhiy Storchaka and Guido van Rossum in :gh:`100160`.)
4040

41+
* :mod:`builtins`: ``bool(NotImplemented)`` now emits a :exc:`DeprecationWarning`
42+
and will raise a :exc:`TypeError` in Python 3.14.
43+
(Contributed by Jelle Zijlstra in :gh:`118767`.)
44+
4145
* :mod:`email`: Deprecated the *isdst* parameter in :func:`email.utils.localtime`.
4246
(Contributed by Alan Williams in :gh:`72346`.)
4347

Doc/deprecations/pending-removal-in-future.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ although there is currently no date scheduled for their removal.
99

1010
* :mod:`builtins`:
1111

12-
* ``bool(NotImplemented)``.
1312
* Generators: ``throw(type, exc, tb)`` and ``athrow(type, exc, tb)``
1413
signature is deprecated: use ``throw(exc)`` and ``athrow(exc)`` instead,
1514
the single argument signature.

0 commit comments

Comments
 (0)