add missing NULL check (closes #18019)
diff --git a/Misc/NEWS b/Misc/NEWS
index efd7724..cb7fd60 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -9,6 +9,9 @@
 Core and Builtins
 -----------------
 
+- Issue #18019: Fix crash in the repr of dictionaries containing their own
+  views.
+
 Library
 -------