Open Table Of Contents

wrapping Package

compiler Module

class numba.wrapping.compiler.ClassCompiler(env, py_func, nopython, flags, template_signature)

Bases: numba.wrapping.compiler.Compiler

compile(signature)
resolve_argtypes(args, kwargs)
class numba.wrapping.compiler.Compiler(env, py_func, nopython, flags, template_signature)

Bases: object

compile(signature)

Compile the Python function with the given signature

compile_from_args(args, kwargs)
resolve_argtypes(args, kwargs)
class numba.wrapping.compiler.FunctionCompiler(env, py_func, nopython, flags, template_signature)

Bases: numba.wrapping.compiler.Compiler

compile(signature)
class numba.wrapping.compiler.MethodCompiler(env, extclass, method, flags=None)

Bases: numba.wrapping.compiler.Compiler

compile(signature)
numba.wrapping.compiler.resolve_argtypes(env, py_func, template_signature, args, kwargs, translator_kwargs)

Given an autojitting numba function, return the argument types. These need to be resolved in order for the function cache to work.

TODO: have a single entry point that resolves the argument types!