summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2021-04-13 23:22:49 (GMT)
committerGitHub <noreply@github.com>2021-04-13 23:22:49 (GMT)
commit695d47b51e3e197de5448a1eb2f618bef6d59ac8 (patch)
tree64ec0c41016aa5d7573352ce991cdf4994765bef /Doc/whatsnew
parent8fa1489365e7af8b90286c97db55a2dc60a05cde (diff)
downloadcpython-695d47b51e3e197de5448a1eb2f618bef6d59ac8.zip
cpython-695d47b51e3e197de5448a1eb2f618bef6d59ac8.tar.gz
cpython-695d47b51e3e197de5448a1eb2f618bef6d59ac8.tar.bz2
bpo-43785: Update bz2 document (GH-25351)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.10.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 6af0f83..e0e7d19 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -1013,6 +1013,11 @@ Optimizations
:func:`map`, :func:`filter`, :func:`reversed`, :func:`bool` and :func:`float`.
(Contributed by Dong-hee Na and Jeroen Demeyerin in :issue:`43575`, :issue:`43287`, :issue:`41922`, :issue:`41873` and :issue:`41870`)
+* :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`).
+
Deprecated
==========