-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-43785: Update bz2 document #25351
New issue
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
Conversation
Doc/library/bz2.rst
Outdated
@@ -140,6 +138,11 @@ All of the classes in this module may safely be accessed from multiple threads. | |||
|
|||
The *compresslevel* parameter became keyword-only. | |||
|
|||
.. versionchanged:: 3.10 | |||
This class is now thread unsafe in the face of multiple simultaneous |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @methane , maybe you could remove the now
, I am not sure it's really interesting.
Doc/whatsnew/3.10.rst
Outdated
* :class:`BZ2File` performance is improved by removing internal ``RLock``. | ||
This makes :class:`BZ2File` thread unsafe in the face of multiple simultaneous | ||
readers or writers, just like its equivalent classes in :mod:`gzip` and | ||
:mod:`lzma` have always been. (Contributed by inada Naoki in :issue:`43785`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just, I think you could use a upper case for your first name, Inada
There's also some wording at the top of https://docs.python.org/3/library/lzma.html that needs cleanup to not claim that bz2 is thread safe. |
https://bugs.python.org/issue43785