Kristján Valur Jónsson <krist...@ccpgames.com> added the comment: Thank you Richard. A new patch is included. Now the processing of "timeout" is done in _acquire_condition(). None is infinite, and negative timeouts are clipped to zero.
Do you feel that it is unnecessary to be able to support other locks than Lock() and RLock() as the outer lock? If so, then we can drop the "_acquire_restore()" as suggested by Martin. ---------- Added file: http://bugs.python.org/file26243/condition.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15139> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com