Fix marshal's incorrect handling of subclasses of builtin types (backport candidate).
diff --git a/Misc/NEWS b/Misc/NEWS
index 502b182..997a49a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -812,6 +812,10 @@
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.