diff options
author | Raymond Hettinger <python@rcn.com> | 2007-11-07 01:13:09 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2007-11-07 01:13:09 (GMT) |
commit | 12e94200c0b12487e129ce7e325d9315c12ca88a (patch) | |
tree | 0cbe02ff1f2a163d2e2c3c2cfb496f73e8c108e7 /Misc | |
parent | 9b847b432cda06cb1c1fd58a46efb7f0eca1cad1 (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |