summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2007-11-07 01:13:09 (GMT)
committerRaymond Hettinger <python@rcn.com>2007-11-07 01:13:09 (GMT)
commit12e94200c0b12487e129ce7e325d9315c12ca88a (patch)
tree0cbe02ff1f2a163d2e2c3c2cfb496f73e8c108e7 /Misc
parent9b847b432cda06cb1c1fd58a46efb7f0eca1cad1 (diff)
downloadcpython-12e94200c0b12487e129ce7e325d9315c12ca88a.zip
cpython-12e94200c0b12487e129ce7e325d9315c12ca88a.tar.gz
cpython-12e94200c0b12487e129ce7e325d9315c12ca88a.tar.bz2
Fix marshal's incorrect handling of subclasses of builtin types (backport candidate).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 502b182..997a49a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -812,6 +812,10 @@ Library
Extension Modules
-----------------
+- Marshal.dumps() now expects exact type matches for int, long, float, complex,
+ tuple, list, dict, set, and frozenset. Formerly, it would silently miscode
+ subclasses of those types. Now, it raises a ValueError instead.
+
- Patch #1388440: Add set_completion_display_matches_hook and
get_completion_type to readline.