summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2007-05-02 19:23:31 (GMT)
committerArmin Rigo <arigo@tunes.org>2007-05-02 19:23:31 (GMT)
commit9790a2706573359e02fcfc5f18f9907467f4ec49 (patch)
treed953c06fbbb8325b8ed86e707ed17f0b43b870dd /Misc
parentd83eb316dce49606041304afb6b68e85fb1794af (diff)
downloadcpython-9790a2706573359e02fcfc5f18f9907467f4ec49.zip
cpython-9790a2706573359e02fcfc5f18f9907467f4ec49.tar.gz
cpython-9790a2706573359e02fcfc5f18f9907467f4ec49.tar.bz2
Fix for #1303614 and #1174712:
- __dict__ descriptor abuse for subclasses of built-in types - subclassing from both ModuleType and another built-in types Thanks zseil for the patch.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS10
1 files changed, 3 insertions, 7 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 36a18c2..2a1ee0a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.6 alpha 1?
Core and builtins
-----------------
+- Bug #1303614: don't expose object's __dict__ when the dict is
+ inherited from a builtin base.
+
- When __slots__ are set to a unicode string, make it work the same as
setting a plain string, ie don't expand to single letter identifiers.
@@ -199,13 +202,6 @@ Core and builtins
- Bug #1664966: Fix crash in exec if Unicode filename can't be decoded.
-- Add new requirements for metaclasses. 1) If type or a subclass of type
- occurs in __bases__, it must occur before any non-type bases, e.g.
- before regular classes. 2) If you assign to __bases__, you may not
- change the metaclass. Many more illegal assignments to __bases__
- are now checked and raise TypeErrors. This changed fixed at least
- one known crash.
-
Library
-------