def _get_idle(self):
        return len([t for t in self._threads if t.conn is None])
Generator to create n_packs slices going up to n.
dataset/ETHPy150Open timonwong/OmniMarkupPreviewer/OmniMarkupLib/libs/cherrypy/wsgiserver/wsgiserver3.py/ThreadPool._get_idle--crossover with--dataset/ETHPy150Open trevorstephens/gplearn/gplearn/skutils/__init__.py/gen_even_slices