From e1a31e0ac99887c164ea0bb06aa1d6268d1a3b1f Mon Sep 17 00:00:00 2001 From: "Michael W. Hudson" Date: Tue, 24 Sep 2002 11:56:15 +0000 Subject: [PATCH] backport theller's checkin of revision 1.3 of test_marshal.py Fix SF 588452: debug build crashes on marshal.dumps([128] * 1000). See there for a description. Added test case. Bugfix candidate for 2.2.x, not sure about previous versions: probably low priority, because virtually no one runs debug builds. --- Lib/test/test_marshal.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py index 38b3cd4698c6..753f5d5ee717 100644 --- a/Lib/test/test_marshal.py +++ b/Lib/test/test_marshal.py @@ -39,3 +39,6 @@ for base in maxint64, minint64, -maxint64, -(minint64 >> 1): base = 0 else: base >>= 1 + +# Simple-minded check for SF 588452: Debug build crashes +marshal.dumps([128] * 1000) -- 2.47.3