Did I find the right examples for you? yes no

All Samples(13)  |  Call(7)  |  Derive(0)  |  Import(6)

        def release_errors(ignore=False):
    held_errors = error_stack.pop()
    if not ignore:
        for err in held_errors:
            report_error(err)
        


src/c/y/cython-HEAD/Cython/Compiler/ExprNodes.py   cython(Download)
 
from Errors import error, warning, warn_once, InternalError, CompileError
from Errors import hold_errors, release_errors, held_errors, report_error
from Code import UtilityCode, TempitaUtilityCode
import StringEncoding
    sizeof_node = declaration.root.stats[0].expr
    sizeof_node = sizeof_node.analyse_types(env)
    release_errors(ignore=True)
    if isinstance(sizeof_node, SizeofTypeNode):
        return sizeof_node.arg_type
        node = SequenceNode.analyse_types(self, env)
        node.obj_conversion_errors = held_errors()
        release_errors(ignore=True)
        if env.is_module_scope:
            self.in_module_scope = True

src/c/y/Cython-0.20.1/Cython/Compiler/ExprNodes.py   Cython(Download)
 
from Errors import error, warning, warn_once, InternalError, CompileError
from Errors import hold_errors, release_errors, held_errors, report_error
from Code import UtilityCode, TempitaUtilityCode
import StringEncoding
        node = SequenceNode.analyse_types(self, env)
        node.obj_conversion_errors = held_errors()
        release_errors(ignore=True)
        if env.is_module_scope:
            self.in_module_scope = True

src/e/s/essig-HEAD/vm/cython/Cython/Compiler/ExprNodes.py   essig(Download)
 
from Errors import error, warning, warn_once, InternalError
from Errors import hold_errors, release_errors, held_errors, report_error
from Code import UtilityCode
import StringEncoding
        SequenceNode.analyse_types(self, env)
        self.obj_conversion_errors = held_errors()
        release_errors(ignore=True)
 
    def coerce_to(self, dst_type, env):

src/c/y/CythonCTypesBackend-HEAD/Cython/Compiler/ExprNodes.py   CythonCTypesBackend(Download)
 
from Errors import error, warning, warn_once, InternalError, CompileError
from Errors import hold_errors, release_errors, held_errors, report_error
from Code import UtilityCode, TempitaUtilityCode
import StringEncoding
        SequenceNode.analyse_types(self, env)
        self.obj_conversion_errors = held_errors()
        release_errors(ignore=True)
 
    def coerce_to(self, dst_type, env):

src/p/y/pylibs-HEAD/Cython/Compiler/ExprNodes.py   pylibs(Download)
 
from Errors import error, warning, warn_once, InternalError
from Errors import hold_errors, release_errors, held_errors, report_error
from Code import UtilityCode
import StringEncoding
        self.type = list_type
        self.obj_conversion_errors = held_errors()
        release_errors(ignore=True)
 
    def coerce_to(self, dst_type, env):

src/p/l/plexnet-HEAD/third_party/python/Cython/Compiler/ExprNodes.py   plexnet(Download)
 
from Errors import error, warning, InternalError
from Errors import hold_errors, release_errors, held_errors, report_error
from Cython.Utils import UtilityCode
import StringEncoding
        self.type = list_type
        self.obj_conversion_errors = held_errors()
        release_errors(ignore=True)
 
    def coerce_to(self, dst_type, env):