File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Misc/NEWS.d/next/Core_and_Builtins Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff 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+
421431ctypes
422432------
423433
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments