Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment: Bill,
I was looking at this patch again, and I'm not sure about thread safety. The correctness of the caching depends on manager.status, which is state which is potentially shared across threads. There are no interlocks around it, so with the patch as it stands, ISTM it's possible in a multi-threaded application to get stale information. Has your patch been used in multi-threaded applications? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11369> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com