Richard Oudkerk added the comment: > With this, you are stuck with employing a context manager model only. > You loose the flexibility to do explicit acquire_read() or > acquire_write().
You are not restricted to the context manager model. Just use selock.shared.acquire() or selock.exclusive.acquire(). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8800> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com