@asyncio.coroutine
def putter():
    for i in range(3):
        (yield from q.put(i))
        have_been_put.append(i)
    return True
@asyncio.coroutine
def putter():
    for i in range(3):
        (yield from q.put(i))
        have_been_put.append(i)
    return True