mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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:
parent
a6255238b2
commit
3e1c18ad0c
2 changed files with 9 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue