don't shadow the __qualname__ descriptor with __qualname__ in the class's __dict__ (closes #16271)
diff --git a/Misc/NEWS b/Misc/NEWS
index 44ae5f0..726d1f7 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@
 Core and Builtins
 -----------------
 
+- Issue #16271: Fix strange bugs that resulted from __qualname__ appearing in a
+  class's __dict__ and on type.
+
 - Issue #16197: Update winreg docstrings and documentation to match code.      
   Patch by Zachary Ware.