]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
optimize_code(): Repaired gross error in new special-casing for None.
authorTim Peters <tim.peters@gmail.com>
Sat, 17 Jul 2004 05:00:52 +0000 (05:00 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 17 Jul 2004 05:00:52 +0000 (05:00 +0000)
commitdb5860b7c71e4f65f347464933b6dacc303b3a74
tree04b71c76f2a79e03a2d3eaea6406e018a4483957
parent8ff9f9f4aa8b26bcc7ace687f796b7cddb9a659b
optimize_code():  Repaired gross error in new special-casing for None.
The preceding case statement was missing a terminating "break" stmt,
so fell into the new code by mistake.  This caused uncaught out-of-bounds
accesses to the "names" tuple, leading to a variety of insane behaviors.
Python/compile.c