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

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

src/l/a/landline-server-HEAD/co.whatisuplabs.ldln/lib/play/python/Lib/site-packages/Rpyc/Servers/selecting_server.py   landline-server(Download)
import select
import socket
from Rpyc.Utils.Serving import (
    log, 
    create_listener_socket, 
            conn.sockname = name
            connections.append(conn)
            log("welcome", conn.sockname)
 
        for conn in rlist:
            try:
                conn.serve()
            except (EOFError, socket.error):
                connections.remove(conn)
                log("goodbyte", conn.sockname)

src/r/e/restcommander-HEAD/play-1.2.4/python/Lib/site-packages/Rpyc/Servers/selecting_server.py   restcommander(Download)
import select
import socket
from Rpyc.Utils.Serving import (
    log, 
    create_listener_socket, 
            conn.sockname = name
            connections.append(conn)
            log("welcome", conn.sockname)
 
        for conn in rlist:
            try:
                conn.serve()
            except (EOFError, socket.error):
                connections.remove(conn)
                log("goodbyte", conn.sockname)

src/h/e/heroku-playframework-HEAD/play-1.2.2RC1/python/Lib/site-packages/Rpyc/Servers/selecting_server.py   heroku-playframework(Download)
import select
import socket
from Rpyc.Utils.Serving import (
    log, 
    create_listener_socket, 
            conn.sockname = name
            connections.append(conn)
            log("welcome", conn.sockname)
 
        for conn in rlist:
            try:
                conn.serve()
            except (EOFError, socket.error):
                connections.remove(conn)
                log("goodbyte", conn.sockname)

src/j/f/jfinal-app-HEAD/jfgen/python/Lib/site-packages/Rpyc/Servers/selecting_server.py   jfinal-app(Download)
import select
import socket
from Rpyc.Utils.Serving import (
    log, 
    create_listener_socket, 
            conn.sockname = name
            connections.append(conn)
            log("welcome", conn.sockname)
 
        for conn in rlist:
            try:
                conn.serve()
            except (EOFError, socket.error):
                connections.remove(conn)
                log("goodbyte", conn.sockname)

src/l/a/landline-server-HEAD/co.whatisuplabs.ldln/lib/play/python/Lib/site-packages/Rpyc/Servers/std_server.py   landline-server(Download)
import time
from traceback import format_exception
from Rpyc.Utils.Serving import log, serve_pipes
 
 
def main(filename = "/tmp/rpyc-server.log"):
    log.logfile = open(filename, "a")
    log("-" * 80)
    log("started serving at", time.asctime())
            serve_pipes(sys.stdin, sys.stdout)
        except:
            log(*format_exception(*sys.exc_info()))
    finally:
        log("server exits at", time.asctime())

src/r/e/restcommander-HEAD/play-1.2.4/python/Lib/site-packages/Rpyc/Servers/std_server.py   restcommander(Download)
import time
from traceback import format_exception
from Rpyc.Utils.Serving import log, serve_pipes
 
 
def main(filename = "/tmp/rpyc-server.log"):
    log.logfile = open(filename, "a")
    log("-" * 80)
    log("started serving at", time.asctime())
            serve_pipes(sys.stdin, sys.stdout)
        except:
            log(*format_exception(*sys.exc_info()))
    finally:
        log("server exits at", time.asctime())

src/h/e/heroku-playframework-HEAD/play-1.2.2RC1/python/Lib/site-packages/Rpyc/Servers/std_server.py   heroku-playframework(Download)
import time
from traceback import format_exception
from Rpyc.Utils.Serving import log, serve_pipes
 
 
def main(filename = "/tmp/rpyc-server.log"):
    log.logfile = open(filename, "a")
    log("-" * 80)
    log("started serving at", time.asctime())
            serve_pipes(sys.stdin, sys.stdout)
        except:
            log(*format_exception(*sys.exc_info()))
    finally:
        log("server exits at", time.asctime())

src/j/f/jfinal-app-HEAD/jfgen/python/Lib/site-packages/Rpyc/Servers/std_server.py   jfinal-app(Download)
import time
from traceback import format_exception
from Rpyc.Utils.Serving import log, serve_pipes
 
 
def main(filename = "/tmp/rpyc-server.log"):
    log.logfile = open(filename, "a")
    log("-" * 80)
    log("started serving at", time.asctime())
            serve_pipes(sys.stdin, sys.stdout)
        except:
            log(*format_exception(*sys.exc_info()))
    finally:
        log("server exits at", time.asctime())