Did I find the right examples for you? yes no

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

        def open_listing_file(path, echo_to_stderr = 1):
    # Begin a new error listing. If path is None, no file
    # is opened, the error counter is just reset.
    global listing_file, num_errors, echo_file
    if path is not None:
        listing_file = open_new_file(path)
    else:
        listing_file = None
    if echo_to_stderr:
        echo_file = sys.stderr
    else:
        echo_file = None
    num_errors = 0
        


src/c/y/Cython-0.20.1/Cython/Compiler/Main.py   Cython(Download)
        else:
            path = None
        Errors.open_listing_file(path=path,
                                 echo_to_stderr=options.errors_to_stderr)
 

src/c/y/cython-HEAD/Cython/Compiler/Main.py   cython(Download)
        else:
            path = None
        Errors.open_listing_file(path=path,
                                 echo_to_stderr=options.errors_to_stderr)
 

src/c/y/CythonCTypesBackend-HEAD/Cython/Compiler/Main.py   CythonCTypesBackend(Download)
        else:
            path = None
        Errors.open_listing_file(path=path,
                                 echo_to_stderr=options.errors_to_stderr)
 

src/e/s/essig-HEAD/vm/cython/Cython/Compiler/Main.py   essig(Download)
        else:
            path = None
        Errors.open_listing_file(path=path,
                                 echo_to_stderr=options.errors_to_stderr)
 

src/p/l/plexnet-HEAD/third_party/python/Cython/Compiler/Main.py   plexnet(Download)
    def setup_errors(self, options):
        if options.use_listing_file:
            result.listing_file = Utils.replace_suffix(source, ".lis")
            Errors.open_listing_file(result.listing_file,
                echo_to_stderr = options.errors_to_stderr)
        else:
            Errors.open_listing_file(None)

src/p/y/pylibs-HEAD/Cython/Compiler/Main.py   pylibs(Download)
    def setup_errors(self, options):
        if options.use_listing_file:
            result.listing_file = Utils.replace_suffix(source, ".lis")
            Errors.open_listing_file(result.listing_file,
                echo_to_stderr = options.errors_to_stderr)
        else:
            Errors.open_listing_file(None)

src/p/y/Pyrex-real-0.9.9/Pyrex/Compiler/Main.py   Pyrex-real(Download)
        if options.use_listing_file:
            result.listing_file = replace_suffix(source, ".lis")
            Errors.open_listing_file(result.listing_file,
                echo_to_stderr = options.errors_to_stderr)
        else:
            Errors.open_listing_file(None)

src/m/y/mysql-pyrex-0.9.0a1/Pyrex/Compiler/Main.py   mysql-pyrex(Download)
        if options.use_listing_file:
            result.listing_file = replace_suffix(source, ".lis")
            Errors.open_listing_file(result.listing_file,
                echo_to_stderr = options.errors_to_stderr)
        else:
            Errors.open_listing_file(None)