Staging
v0.8.1
Revision 93602e3af70d3b9f98ae2da654b16b3382b68d50 authored by Nick Coghlan on 08 March 2017, 06:41:01 UTC, committed by GitHub on 08 March 2017, 06:41:01 UTC
bpo-27286 fixed a problem where BUILD_MAP_UNPACK_WITH_CALL could
be emitted with an incorrect oparg value, causing the eval loop
to access the wrong stack entry when attempting to read the
function name.

The associated magic number change caused significant problems when
attempting to upgrade to 3.5.3 for anyone that relies on pre-cached
bytecode remaining valid across maintenance releases.

This patch restores the ability to import legacy bytecode generated
by 3.5.0, 3.5.1 or 3.5.2, and modifies the eval loop to
avoid any harmful consequences from the potentially malformed legacy
bytecode.

Original import patch by Petr Viktorin, eval loop patch by Serhiy Storchaka,
and tests and integration by Nick Coghlan.
1 parent bef209d
History
File Mode Size
Grammar -rw-r--r-- 6.6 KB

back to top