diff Python/codecs.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 25ddd3dc7a7a
children 898304f6da23 416654e27d88
line wrap: on
line diff