blob: b4ed5e51e224750b6c7e4ab29fbffbf6f12aa60a (
plain)
1
2
3
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.
|