[Python-checkins] python/dist/src/Lib/test test_marshal.py,1.2,1.3
theller@users.sourceforge.net
theller@users.sourceforge.net
Tue, 30 Jul 2002 04:40:59 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv376/Lib/test
Modified Files:
test_marshal.py
Log Message:
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.
Index: test_marshal.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_marshal.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_marshal.py 23 Jul 2002 19:03:57 -0000 1.2
--- test_marshal.py 30 Jul 2002 11:40:57 -0000 1.3
***************
*** 40,41 ****
--- 40,44 ----
else:
base >>= 1
+
+ # Simple-minded check for SF 588452: Debug build crashes
+ marshal.dumps([128] * 1000)