Antoine Pitrou <pit...@free.fr> added the comment:

I'm not sure it's a good idea to have a default context manager, and default 
acquire/release methods. "In the face of ambiguity, refuse the temptation to 
guess".

Is there any use in being able to use a RWLock inside a condition variable?

Docstrings should be polished (e.g. typo "must be mathced with an release"). I 
think wrlocked() and rdlocked() deserve a docstring too.

A style nit: generally, comments should be on their own line, before the code 
they comment. Also, there should be a space just after the "#" (see PEP 8 :-)).

----------
nosy: +pitrou

_______________________________________
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

Reply via email to