Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #15546: Fix BZ2File.read1()'s handling of pathological input data. | Nadeem Vawda | 2012-08-04 | 1 | -23/+28 |
| | |||||
* | Add a function bz2.open(), to match gzip.open(). | Nadeem Vawda | 2012-06-04 | 1 | -3/+44 |
| | |||||
* | Clarify acceptable values for BZ2File.__init__'s mode argument. | Nadeem Vawda | 2012-06-04 | 1 | -2/+2 |
| | |||||
* | Make BZ2File's fileobj support easier to use. | Nadeem Vawda | 2012-06-04 | 1 | -9/+8 |
| | | | | | The fileobj argument was added during the 3.3 development cycle, so this change does not break backward compatibility with 3.2. | ||||
* | Fix seekable() in BZ2File and LZMAFile to check whether the underlying file ↵ | Nadeem Vawda | 2012-02-11 | 1 | -2/+5 |
| | | | | supports seek(). | ||||
* | Make BZ2File.__init__()'s fileobj argument keyword-only. | Nadeem Vawda | 2012-02-04 | 1 | -1/+1 |
| | |||||
* | Update docstring for BZ2File.__init__(). | Nadeem Vawda | 2012-02-04 | 1 | -3/+7 |
| | |||||
* | Issue #13809: Make bz2 module work with threads disabled. | Nadeem Vawda | 2012-01-17 | 1 | -2/+6 |
| | | | | Original patch by Amaury Forgeot d'Arc. | ||||
* | Make error handling in BZ2File.{readable,seekable,writable,fileno} ↵ | Nadeem Vawda | 2011-11-30 | 1 | -3/+3 |
| | | | | | | consistent with TextIOWrapper. Also, add tests for these methods. | ||||
* | BZ2File now uses the compresslevel argument given by the caller, | Nadeem Vawda | 2011-09-11 | 1 | -2/+2 |
| | | | | instead of ignoring it and always using a compression level of 9. | ||||
* | Miscellaneous cleanups to bz2 and test_bz2 following issue #1625. | Nadeem Vawda | 2011-05-29 | 1 | -3/+3 |
| | | | | | | | * In bz2.decompress(), concatenate partial results in a way that should be more friendly to other Python implementations * Remove redundant comments in test_bz2 * Use 'while True:' instead of 'while 1:' | ||||
* | Issue #1625: BZ2File and bz2.decompress() now support multi-stream files. | Nadeem Vawda | 2011-05-26 | 1 | -13/+34 |
| | | | | Initial patch by Nir Aides. | ||||
* | Fix typo in bz2 module. | Nadeem Vawda | 2011-05-24 | 1 | -1/+1 |
| | |||||
* | Fix whitespace | Antoine Pitrou | 2011-04-03 | 1 | -2/+2 |
| | |||||
* | Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept | Antoine Pitrou | 2011-04-03 | 1 | -0/+392 |
file-like objects using a new `fileobj` constructor argument. Patch by Nadeem Vawda. |