Éric Araujo <mer...@netwok.org> added the comment: IIUC returning True is not incorrect, only useless. In the stdlib I usually see “with lock:”. Can you tell what is the use case for accessing the condition object inside the context block? Does it apply only to Condition or also to *Lock and Semaphore?
---------- nosy: +eric.araujo, ncoghlan, pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14116> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com