From: Michael W. Hudson Date: Tue, 24 Sep 2002 11:56:15 +0000 (+0000) Subject: backport theller's checkin of X-Git-Tag: v2.2.2b1~133 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e1a31e0ac99887c164ea0bb06aa1d6268d1a3b1f;p=thirdparty%2FPython%2Fcpython.git 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. --- 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)