Did I find the right examples for you? yes no

All Samples(10)  |  Call(6)  |  Derive(0)  |  Import(4)

        def message(position, message, level=1):
    if level < LEVEL:
        return
    warn = CompileWarning(position, message)
    line = "note: %s\n" % warn
    if listing_file:
        listing_file.write(line)
    if echo_file:
        echo_file.write(line)
    return warn
        


src/e/s/essig-HEAD/vm/cython/Cython/Compiler/TypeInference.py   essig(Download)
from Errors import error, warning, message, warn_once, InternalError
import ExprNodes
import Nodes
import Builtin
import PyrexTypes
                    entry.type = py_object_type
                if verbose:
                    message(entry.pos, "inferred '%s' to be of type '%s'" % (entry.name, entry.type))
                resolve_dependancy(entry)
            # Deal with simple circular dependancies...
            entry.type = py_object_type
            if verbose:
                message(entry.pos, "inferred '%s' to be of type '%s' (default)" % (entry.name, entry.type))
        #if scope.is_closure_scope:
        #    fix_closure_entries(scope)

src/c/y/CythonCTypesBackend-HEAD/Cython/Compiler/TypeInference.py   CythonCTypesBackend(Download)
from Errors import error, message
import ExprNodes
import Nodes
import Builtin
import PyrexTypes
                    entry.type = py_object_type
                if verbose:
                    message(entry.pos, "inferred '%s' to be of type '%s'" % (entry.name, entry.type))
                resolve_dependancy(entry)
            # Deal with simple circular dependancies...
            entry.type = py_object_type
            if verbose:
                message(entry.pos, "inferred '%s' to be of type '%s' (default)" % (entry.name, entry.type))
 
def find_spanning_type(type1, type2):

src/c/y/Cython-0.20.1/Cython/Compiler/TypeInference.py   Cython(Download)
from Errors import error, message
import ExprNodes
import Nodes
import Builtin
import PyrexTypes
        if verbose:
            for entry in inferred:
                message(entry.pos, "inferred '%s' to be of type '%s'" % (
                    entry.name, entry.type))
 

src/c/y/cython-HEAD/Cython/Compiler/TypeInference.py   cython(Download)
from Errors import error, message
import ExprNodes
import Nodes
import Builtin
import PyrexTypes
        if verbose:
            for entry in inferred:
                message(entry.pos, "inferred '%s' to be of type '%s'" % (
                    entry.name, entry.type))