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

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

src/g/r/gruvi-HEAD/tests/test_sync.py   gruvi(Download)
        def callback(oldsz, newsz):
            events.append((oldsz, newsz))
        queue.size_changed.connect(callback)
        for i in range(10):
            queue.put(i)
            gruvi.get_hub().close()
        queue = gruvi.Queue()
        queue.size_changed.connect(callback)
        threads = []
        for i in range(5):

src/g/r/gruvi-0.9.2/tests/test_sync.py   gruvi(Download)
        def callback(oldsz, newsz):
            events.append((oldsz, newsz))
        queue.size_changed.connect(callback)
        for i in range(10):
            queue.put(i)
            gruvi.get_hub().close()
        queue = gruvi.Queue()
        queue.size_changed.connect(callback)
        threads = []
        for i in range(5):