def pop(self, nbytes):
        size = 0
        popped = []
        with self._lock_packets:
            while size < nbytes:
                try:
                    packet = self._packets.pop(0)
                    size += len(packet.data.data)
                    self._remaining -= len(packet.data.data)
                    popped.append(packet)
                except IndexError:
                    break
        return popped
Cache entries passed into L{cache.CacheResolver.__init__} get
dataset/ETHPy150Open pinterest/thrift-tools/thrift_tools/sniffer.py/Stream.pop--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/names/test/test_cache.py/Caching.test_constructorExpires