New submission from Mateusz:

The number of acquisitions must be the same as the number of releases or else 
lock will not be released for other threads leading to deadlock. This is not 
mentioned in documentation. 

First acquisition returns boolean and further acquisitions return 1. This is 
also not mentioned in documentation.

----------
assignee: docs@python
components: Documentation, Library (Lib)
messages: 262165
nosy: docs@python, smbrd
priority: normal
severity: normal
status: open
title: RLock undocumented behavior in case of multiple acquire
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26608>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to