diff options
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-04-09-14-51-58.bpo-43785.1mM5xE.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-04-09-14-51-58.bpo-43785.1mM5xE.rst b/Misc/NEWS.d/next/Library/2021-04-09-14-51-58.bpo-43785.1mM5xE.rst new file mode 100644 index 0000000..b4ed5e5 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-04-09-14-51-58.bpo-43785.1mM5xE.rst @@ -0,0 +1,4 @@ +Improve ``bz2.BZ2File`` performance by removing the RLock from BZ2File. +This makes 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. Patch by Inada Naoki. |