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.
This commit is contained in:
Thomas Heller 2002-07-30 11:40:57 +00:00
parent a6255238b2
commit 3e1c18ad0c
2 changed files with 9 additions and 6 deletions

View file

@ -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)