Yang Zhang <yang.pythonb...@mailnull.com> added the comment: Oops, sorry - pasted a wrong example.
In [38]: tp = ThreadPool(5) In [39]: xs = tp.map(lambda x: x, []) In [40]: xs Out[40]: [] In [41]: tp._cache Out[41]: {3: <multiprocessing.pool.MapResult at 0x244ab50>} ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13542> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com