[Python-checkins] python/dist/src/Lib/test test_marshal.py,1.1,1.1.14.1

mwh@users.sourceforge.net mwh@users.sourceforge.net
Tue, 24 Sep 2002 04:56:18 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv17260

Modified Files:
      Tag: release22-maint
	test_marshal.py 
Log Message:
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.


Index: test_marshal.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_marshal.py,v
retrieving revision 1.1
retrieving revision 1.1.14.1
diff -C2 -d -r1.1 -r1.1.14.1
*** test_marshal.py	29 Aug 2001 02:28:41 -0000	1.1
--- test_marshal.py	24 Sep 2002 11:56:15 -0000	1.1.14.1
***************
*** 40,41 ****
--- 40,44 ----
          else:
              base >>= 1
+ 
+ # Simple-minded check for SF 588452: Debug build crashes
+ marshal.dumps([128] * 1000)