function: code.compile

 compile the given source to a raw code object,
        which points back to the source code through
        "co_filename.__source__".  All code objects
        contained in the code object will recursively
        also have this special subclass-of-string
        filename.
    
def compile_(source, filename=None, mode='exec', flags=

origin:<UNKNOWN>

where:

exceptions that might appear during execution:

function source:

def compile_(source, filename=None, mode='exec', flags=
            generators.compiler_flag, dont_inherit=0):
    """ compile the given source to a raw code object,
        which points back to the source code through
        "co_filename.__source__".  All code objects
        contained in the code object will recursively
        also have this special subclass-of-string
        filename.
    """
    s = Source(source)
    co = s.compile(filename, mode, flags)
    return co

call sites:

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback code.compile.0

called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_source.py

traceback code.compile.1

called in /home/johnny/projects/merlinux/py/dist/py/documentation/example/pytest/failure_demo.py

traceback code.compile.2

called in /home/johnny/projects/merlinux/pypy-dist/pypy/tool/sourcetools.py

traceback code.compile.3

called in /home/johnny/projects/merlinux/pypy-dist/pypy/tool/sourcetools.py

traceback code.compile.4

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback code.compile.5

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback code.compile.6

called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_source.py

traceback code.compile.7

called in /home/johnny/projects/merlinux/py/dist/py/magic/testing/test_invoke.py

traceback code.compile.8

called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_source.py

traceback code.compile.9

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback code.compile.10

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback code.compile.11

called in /home/johnny/projects/merlinux/pypy-dist/pypy/rpython/rtyper.py

traceback code.compile.12

called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_source.py

traceback code.compile.13

called in /home/johnny/projects/merlinux/pypy-dist/pypy/tool/sourcetools.py

traceback code.compile.14

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.compile.15

called in /home/johnny/projects/merlinux/py/dist/py/path/common.py

traceback code.compile.16

called in /home/johnny/projects/merlinux/pypy-dist/pypy/tool/sourcetools.py

traceback code.compile.17

called in /home/johnny/projects/merlinux/pypy-dist/pypy/rpython/rtyper.py

traceback code.compile.18

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.compile.19