Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

        def close_listing_file():
    global listing_file
    if listing_file:
        listing_file.close()
        listing_file = None
        


src/c/y/Cython-0.20.1/Cython/Compiler/Main.py   Cython(Download)
    def teardown_errors(self, err, options, result):
        source_desc = result.compilation_source.source_desc
        if not isinstance(source_desc, FileSourceDescriptor):
            raise RuntimeError("Only file sources for code supported")
        Errors.close_listing_file()

src/c/y/cython-HEAD/Cython/Compiler/Main.py   cython(Download)
    def teardown_errors(self, err, options, result):
        source_desc = result.compilation_source.source_desc
        if not isinstance(source_desc, FileSourceDescriptor):
            raise RuntimeError("Only file sources for code supported")
        Errors.close_listing_file()

src/c/y/CythonCTypesBackend-HEAD/Cython/Compiler/Main.py   CythonCTypesBackend(Download)
    def teardown_errors(self, err, options, result):
        source_desc = result.compilation_source.source_desc
        if not isinstance(source_desc, FileSourceDescriptor):
            raise RuntimeError("Only file sources for code supported")
        Errors.close_listing_file()

src/e/s/essig-HEAD/vm/cython/Cython/Compiler/Main.py   essig(Download)
    def teardown_errors(self, err, options, result):
        source_desc = result.compilation_source.source_desc
        if not isinstance(source_desc, FileSourceDescriptor):
            raise RuntimeError("Only file sources for code supported")
        Errors.close_listing_file()

src/p/l/plexnet-HEAD/third_party/python/Cython/Compiler/Main.py   plexnet(Download)
    def teardown_errors(self, err, options, result):
        source_desc = result.compilation_source.source_desc
        if not isinstance(source_desc, FileSourceDescriptor):
            raise RuntimeError("Only file sources for code supported")
        Errors.close_listing_file()

src/p/y/pylibs-HEAD/Cython/Compiler/Main.py   pylibs(Download)
    def teardown_errors(self, err, options, result):
        source_desc = result.compilation_source.source_desc
        if not isinstance(source_desc, FileSourceDescriptor):
            raise RuntimeError("Only file sources for code supported")
        Errors.close_listing_file()

src/p/y/Pyrex-real-0.9.9/Pyrex/Compiler/Main.py   Pyrex-real(Download)
        except CompileError:
            errors_occurred = True
        Errors.close_listing_file()
        result.num_errors = Errors.num_errors
        if result.num_errors > 0:

src/m/y/mysql-pyrex-0.9.0a1/Pyrex/Compiler/Main.py   mysql-pyrex(Download)
        except CompileError:
            errors_occurred = True
        Errors.close_listing_file()
        result.num_errors = Errors.num_errors
        if result.num_errors > 0: