comparison Python/errors.c @ 23623:c00febbe0929 2.2

Fix SF #561858 Assertion with very long lists if co_stacksize was > 32767 (the maximum value which can be stored in 16 bits (signed)), the PyCodeObject would be written wrong. So on the second import (reading the .pyc) would cause a crash. Since we can't change the PYC magic, we go on (silently), but don't write the file. This means everything will work, but a .pyc will not be written and the file will need to be parsed on each import. I will backport.
author Neal Norwitz <nnorwitz@gmail.com>
date Sat, 01 Jun 2002 18:26:22 +0000
parents d4406fbfcb4e
children faeb708bacc4 f4487350c537
comparison
equal deleted inserted replaced
23604:ef8d456067fd 23623:c00febbe0929