def opcode_check(l):
<EOL>if (abs(PYTHON_VERSION - l['<STR_LIT>']) <= <NUM_LIT><EOL>and IS_PYPY == l['<STR_LIT>']):<EOL><INDENT>try:<EOL><INDENT>import dis<EOL>opmap = fix_opcode_names(dis.opmap)<EOL>assert all(item in opmap.items() for item in l['<STR_LIT>'].items())<EOL>assert all(item in l['<STR_LIT>'].items() for item in opmap.items())<EOL><DEDENT>except:<EOL><INDENT>import sys<EOL><DEDENT><DEDENT>
When the version of Python we are running happens
    to have the same opcode set as the opcode we are
    importing, we perform checks to make sure our opcode
    set matches exactly.