Skip to content

Commit 4f4466f

Browse files
committed
Add whatsnew and news entries
1 parent de5564a commit 4f4466f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,16 @@ hashlib
418418
Removed
419419
=======
420420

421+
ast
422+
---
423+
424+
* The constructors of node types in the :mod:`ast` module now raise a
425+
:exc:`TypeError` when a required argument is omitted or when a
426+
keyword-argument that does not map to a field on the AST node is passed.
427+
These cases had previously raised a :exc:`DeprecationWarning` since Python 3.13.
428+
(Contributed by Brian Schubert and Jelle Zijlstra in :gh:`137600` and :gh:`105858`.)
429+
430+
421431
ctypes
422432
------
423433

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The constructors of node types in the :mod:`ast` module now raise a
2+
:exc:`TypeError` when a required argument is omitted or when a
3+
keyword-argument that does not map to a field on the AST node is passed.
4+
These cases had previously raised a :exc:`DeprecationWarning` since Python
5+
3.13. Patch by Brian Schubert.

0 commit comments

Comments
 (0)