def load_file(filename, out=sys.stdout):
fp = open(filename, '<STR_LIT:rb>')<EOL>try:<EOL><INDENT>source = fp.read()<EOL>try:<EOL><INDENT>if PYTHON_VERSION < <NUM_LIT>:<EOL><INDENT>co = compile(source, filename, '<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>co = compile(source, filename, '<STR_LIT>', dont_inherit=True)<EOL><DEDENT><DEDENT>except SyntaxError:<EOL><INDENT>out.write('<STR_LIT>' % filename)<EOL>raise<EOL><DEDENT><DEDENT>finally:<EOL><INDENT>fp.close()<EOL><DEDENT>return co<EOL>
load a Python source file and compile it to byte-code
_load_file(filename: string): code_object
filename:	name of file containing Python source code
            (normally a .py)
code_object: code_object compiled from this source code
This function does NOT write any file!