We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have:
https://github.com/python/typeshed/blob/614e9499f145e9dccade16d906247276f1d5e6aa/stdlib/logging/__init__.pyi#L249C11-L249C25
However, the stdlib actually uses an RLock (and has done since CPython 2.5, python/cpython@4a70486):
RLock
https://github.com/python/cpython/blob/7dc41ad6a7826ffc675f088972de96624917696e/Lib/logging/__init__.py#L961
Note that RLock is not a subclass of Lock.
Lock
See also #13381 (Should logging.Handler.lock allow None?)
The text was updated successfully, but these errors were encountered:
PR welcome!
Sorry, something went wrong.
Fixes issus python#13382
c861b6f
threading.RLock
logging.Handler.lock
Successfully merging a pull request may close this issue.
We have:
https://github.com/python/typeshed/blob/614e9499f145e9dccade16d906247276f1d5e6aa/stdlib/logging/__init__.pyi#L249C11-L249C25
However, the stdlib actually uses an
RLock
(and has done since CPython 2.5, python/cpython@4a70486):https://github.com/python/cpython/blob/7dc41ad6a7826ffc675f088972de96624917696e/Lib/logging/__init__.py#L961
Note that
RLock
is not a subclass ofLock
.See also #13381 (Should logging.Handler.lock allow None?)
The text was updated successfully, but these errors were encountered: