diff options
author | Thomas Heller <theller@ctypes.org> | 2002-07-30 11:40:57 +0000 |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2002-07-30 11:40:57 +0000 |
commit | 3e1c18ad0c6057cd29a699595b73d4ad5d5c0a3a (patch) | |
tree | c62b18b02afaa9721a2b160e32f291201c36a966 /Lib/test/test_marshal.py | |
parent | a6255238b2a3501ec9c005e9e1d201ef4cffff77 (diff) | |
download | cpython-git-3e1c18ad0c6057cd29a699595b73d4ad5d5c0a3a.tar.gz |
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.
Diffstat (limited to 'Lib/test/test_marshal.py')
-rw-r--r-- | Lib/test/test_marshal.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py index 53772246eb..9237af0b63 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) |