]> granicus.if.org Git - python/commit
makeopcodetargets.py: we need to import Lib/opcode.py
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 26 Mar 2016 00:04:37 +0000 (01:04 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 26 Mar 2016 00:04:37 +0000 (01:04 +0100)
commitca9dbc7d880ac6e5e1df3219e34670b18998a346
tree8a62e3503de9f05648ba0fe6b3bea632cbcdae3b
parent92c8dce98550b3a3130bda28c38f192f1f49dba5
makeopcodetargets.py: we need to import Lib/opcode.py

Issue #20021: use importlib.machinery to import Lib/opcode.py and not an opcode
module coming from somewhere else. makeopcodetargets.py is part of the Python
build process and it is run by an external Python program, not the built Python
program.

Patch written by Serhiy Storchaka.
Python/makeopcodetargets.py