Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(21)  |  Call(14)  |  Derive(0)  |  Import(7)

src/n/u/Nuitka-0.5.1.5/nuitka/codegen/Generator.py   Nuitka(Download)
)
 
from .ModuleCodes import (
    getModuleMetapathLoaderEntryCode,
    getModuleDeclarationCode,
def getImportFromStarCode(context, module_identifier):
    if not context.hasLocalsDict():
        return "IMPORT_MODULE_STAR( %s, true, %s );" % (
            getModuleAccessCode(
                context = context
def getLoadGlobalsCode(context):
    return Identifier(
        "((PyModuleObject *)%(module_identifier)s)->md_dict" % {
            "module_identifier" : getModuleAccessCode( context )
        },
        "code_identifier"   : code_identifier.getCodeTemporaryRef(),
        "codes"             : indented( codes ),
        "module_identifier" : getModuleAccessCode( context = context ),
        "frame_locals"      : indented( locals_code, vert_block = True ),
        "tb_making"         : tb_making.getCodeExportRef(),
        "code_identifier"   : code_identifier.getCodeTemporaryRef(),
        "codes"             : indented( codes ),
        "module_identifier" : getModuleAccessCode( context = context ),
        "frame_locals"      : locals_identifier.getCodeExportRef(),
        "tb_making"         : tb_making.getCodeExportRef(),

src/n/u/Nuitka-HEAD/nuitka/codegen/FrameCodes.py   Nuitka(Download)
)
 
from .ModuleCodes import (
    getModuleAccessCode
)
        "code_identifier"   : code_identifier,
        "codes"             : indented(codes, 0),
        "module_identifier" : getModuleAccessCode(context = context),
        "no_exception_exit" : no_exception_exit,
        "needs_preserve"    : 1 if needs_preserve else 0,
        "code_identifier"       : code_identifier,
        "codes"                 : indented(codes, 0),
        "module_identifier"     : getModuleAccessCode(context = context),
        "tb_making"             : getTracebackMakingIdentifier(context),
        "parent_exception_exit" : parent_exception_exit,
        "code_identifier"       : code_identifier,
        "codes"                 : indented(codes, 0),
        "module_identifier"     : getModuleAccessCode(context = context),
        "no_exception_exit"     : no_exception_exit,
    }

src/n/u/Nuitka-0.5.1.5/nuitka/codegen/FunctionCodes.py   Nuitka(Download)
)
 
from .ModuleCodes import (
    getModuleAccessCode,
)
            "annotations"                : func_annotations.getCodeExportRef(),
            "module_identifier"          : getModuleAccessCode(
                context = context
            ),
        }
            "annotations"                : func_annotations.getCodeExportRef(),
            "module_identifier"          : getModuleAccessCode(
                context = context
            ),
        }

src/n/u/Nuitka-HEAD/nuitka/codegen/FunctionCodes.py   Nuitka(Download)
from .Indentation import indented
 
from .ModuleCodes import (
    getModuleAccessCode,
)
                                           "const_dict_empty",
            "module_identifier"          : getModuleAccessCode(
                context = context
            ),
        }
                                           "const_dict_empty",
            "module_identifier"          : getModuleAccessCode(
                context = context
            ),
        }

src/n/u/Nuitka-HEAD/nuitka/codegen/ImportCodes.py   Nuitka(Download)
 
 
from .ModuleCodes import getModuleAccessCode
 
from .ErrorCodes import getErrorExitCode, getErrorExitBoolCode, getReleaseCodes, getReleaseCode
                res_name,
                getModuleAccessCode(
                    context = context
                ),
                module_name

src/n/u/Nuitka-HEAD/nuitka/codegen/GlobalsLocalsCodes.py   Nuitka(Download)
#
 
from .ModuleCodes import (
    getModuleAccessCode,
)
        "%(to_name)s = ((PyModuleObject *)%(module_identifier)s)->md_dict;" % {
            "to_name"           : to_name,
            "module_identifier" : getModuleAccessCode(context)
        },
    )

src/n/u/Nuitka-HEAD/nuitka/codegen/Generator.py   Nuitka(Download)
)
 
from .ModuleCodes import (
    getModuleMetapathLoaderEntryCode,
    getModuleDeclarationCode,