Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def new_queue(max_size=None):
  if py3():
    return _py3_queue(max_size)
  return _py2_queue(max_size)
        


src/s/l/SlickLogHandler-0.2.12/slicklog/remotelogger.py   SlickLogHandler(Download)
from .util import log
from .util import u
from .util import new_queue
from .util import queue_mod
from .util import httplib_mod
    self.shutdown_now = False
    self.conn_builder = conn_builder
    self.log_queue = new_queue(SlickLogRemoteLogger.__MAX_QUEUE_SIZE)
    self.spawn_new_threads = spawn_new_threads and daemon_thread
    self.data_pushed = 0