From d903177225ec4eef429d58d4ecb65b922442c256 Mon Sep 17 00:00:00 2001 From: Anuj Bharambe Date: Sun, 3 May 2026 15:44:40 +0530 Subject: [PATCH] Add NEWS blurb for gh-149180 --- .../2026-05-03-15-43-34.gh-issue-149180.RGWxs3.rst | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Misc/NEWS.d/next/Core_and_Builtins/2026-05-03-15-43-34.gh-issue-149180.RGWxs3.rst diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2026-05-03-15-43-34.gh-issue-149180.RGWxs3.rst b/Misc/NEWS.d/next/Core_and_Builtins/2026-05-03-15-43-34.gh-issue-149180.RGWxs3.rst new file mode 100644 index 00000000000..cb485d3edc0 --- /dev/null +++ b/Misc/NEWS.d/next/Core_and_Builtins/2026-05-03-15-43-34.gh-issue-149180.RGWxs3.rst @@ -0,0 +1,3 @@ +During :func:`PyType_Ready`, ``tp_as_number``, ``tp_as_sequence``, and +``tp_as_mapping`` are now guaranteed to be non-NULL for all ready types. +Types that don't define their own struct share a common empty one.