summaryrefslogtreecommitdiff
path: root/Doc/library/bz2.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23529: Limit the size of decompressed data when reading fromAntoine Pitrou2015-04-111-0/+4
| | | | | | | | GzipFile, BZ2File or LZMAFile. This defeats denial of service attacks using compressed bombs (i.e. compressed payloads which decompress to a huge size). Patch by Martin Panter and Nikolaus Rath.
* Issue #15955: Add an option to limit the output size in bz2.decompress().Antoine Pitrou2015-02-261-6/+30
| | | | Patch by Nikolaus Rath.
* Closes #18430: Document that peek() may change the position of the underlyingNadeem Vawda2013-12-081-0/+5
|\ | | | | | | file for the BZ2File, GzipFile and LZMAFile classes.
| * #18430: Document that peek() may change the position of the underlying file forNadeem Vawda2013-12-081-0/+5
| | | | | | | | the BZ2File, GzipFile and LZMAFile classes.
* | Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-1/+1
|\ \ | |/
| * Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-1/+1
| |
* | Issue #19223: Add support for the 'x' mode to the bz2 module.Nadeem Vawda2013-10-191-4/+11
|/ | | | Patch by Tim Heaney and Vajrasky Kok.
* Add a function bz2.open(), to match gzip.open().Nadeem Vawda2012-06-041-2/+31
|
* Clarify acceptable values for BZ2File.__init__'s mode argument.Nadeem Vawda2012-06-041-3/+5
|
* Make BZ2File's fileobj support easier to use.Nadeem Vawda2012-06-041-7/+9
| | | | | The fileobj argument was added during the 3.3 development cycle, so this change does not break backward compatibility with 3.2.
* Merge edits from 3.2 (#13716, #1040439, #2945, #13770, #6715)Éric Araujo2012-02-051-3/+0
|\
| * Branch mergeÉric Araujo2012-02-051-3/+0
| |\
| | * Improve interlinking of archiving/compression modules docs.Éric Araujo2012-01-161-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove duplicated list of links to the other modules from each module’s doc (people can already go up to library/archiving and there they can see the list). - Link to shutil high-level operations. Reviewed by Nadeem Vawda in #6715.
| * | Clarify note in BZ2File docs about lack of multi-stream support (issue #1625).Nadeem Vawda2012-02-051-2/+5
| | |
| * | Issue #1625: Document BZ2File's lack of support for multi-stream inputs.Nadeem Vawda2012-02-041-0/+9
| |/
* | Make BZ2File.__init__()'s fileobj argument keyword-only.Nadeem Vawda2012-02-041-1/+1
| |
* | Issue #6715: Add module for compression using the LZMA algorithm.Nadeem Vawda2011-11-301-1/+1
| |
* | Update bz2 docs following issue #1625.Nadeem Vawda2011-05-271-8/+31
| |
* | Issue #5863: Rewrite BZ2File in pure Python, and allow it to acceptAntoine Pitrou2011-04-031-122/+82
|/ | | | | file-like objects using a new `fileobj` constructor argument. Patch by Nadeem Vawda.
* Merged revisions 84827-84829 via svnmerge fromAntoine Pitrou2010-09-151-2/+2
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84827 | antoine.pitrou | 2010-09-15 11:58:26 +0200 (mer., 15 sept. 2010) | 3 lines Add a glossary entry for file objects. ........ r84828 | antoine.pitrou | 2010-09-15 12:08:31 +0200 (mer., 15 sept. 2010) | 3 lines Update file-related information in the FAQ. ........ r84829 | antoine.pitrou | 2010-09-15 13:11:28 +0200 (mer., 15 sept. 2010) | 3 lines Add cross-references to the glossary entry for file objects. ........
* Merged revisions 78891 via svnmerge fromEzio Melotti2010-03-131-2/+3
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r78891 | ezio.melotti | 2010-03-13 02:26:04 +0200 (Sat, 13 Mar 2010) | 9 lines Merged revisions 78887 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78887 | ezio.melotti | 2010-03-13 02:15:36 +0200 (Sat, 13 Mar 2010) | 1 line fix broken links ........ ................
* Merged revisions 78884 via svnmerge fromEzio Melotti2010-03-121-10/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r78884 | ezio.melotti | 2010-03-13 00:45:38 +0200 (Sat, 13 Mar 2010) | 1 line #8057: fix strings -> byte strings ........
* Update signature style of optional arguments, part two.Georg Brandl2009-04-051-7/+5
|
* fix versionchangedBenjamin Peterson2009-03-091-1/+1
|
* Merged revisions ↵Benjamin Peterson2009-03-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 69998-69999,70002,70022-70023,70025-70026,70061,70086,70145,70171,70183,70188,70235,70244,70275,70281 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r69998 | benjamin.peterson | 2009-02-26 13:04:40 -0600 (Thu, 26 Feb 2009) | 1 line the startship is rather outdated now ........ r69999 | benjamin.peterson | 2009-02-26 13:05:59 -0600 (Thu, 26 Feb 2009) | 1 line comma ........ r70002 | andrew.kuchling | 2009-02-26 16:34:30 -0600 (Thu, 26 Feb 2009) | 1 line The curses panel library is now supported ........ r70022 | georg.brandl | 2009-02-27 10:23:18 -0600 (Fri, 27 Feb 2009) | 1 line #5361: fix typo. ........ r70023 | georg.brandl | 2009-02-27 10:39:26 -0600 (Fri, 27 Feb 2009) | 1 line #5363: fix cmpfiles() docs. Another instance where a prose description is twice as long as the code. ........ r70025 | georg.brandl | 2009-02-27 10:52:55 -0600 (Fri, 27 Feb 2009) | 1 line #5344: fix punctuation. ........ r70026 | georg.brandl | 2009-02-27 10:59:03 -0600 (Fri, 27 Feb 2009) | 1 line #5365: add quick look conversion table for different time representations. ........ r70061 | hirokazu.yamamoto | 2009-02-28 09:24:00 -0600 (Sat, 28 Feb 2009) | 1 line Binary flag is needed on windows. ........ r70086 | benjamin.peterson | 2009-03-01 21:35:12 -0600 (Sun, 01 Mar 2009) | 1 line fix a silly problem of caching gone wrong #5401 ........ r70145 | benjamin.peterson | 2009-03-03 16:51:57 -0600 (Tue, 03 Mar 2009) | 1 line making the writing more formal ........ r70171 | facundo.batista | 2009-03-04 15:18:17 -0600 (Wed, 04 Mar 2009) | 3 lines Fixed a typo. ........ r70183 | benjamin.peterson | 2009-03-04 18:17:57 -0600 (Wed, 04 Mar 2009) | 1 line add example ........ r70188 | hirokazu.yamamoto | 2009-03-05 03:34:14 -0600 (Thu, 05 Mar 2009) | 1 line Fixed memory leak on failure. ........ r70235 | benjamin.peterson | 2009-03-07 18:21:17 -0600 (Sat, 07 Mar 2009) | 1 line fix funky indentation ........ r70244 | martin.v.loewis | 2009-03-08 09:06:19 -0500 (Sun, 08 Mar 2009) | 2 lines Add Chris Withers. ........ r70275 | georg.brandl | 2009-03-09 11:35:48 -0500 (Mon, 09 Mar 2009) | 2 lines Add missing space. ........ r70281 | benjamin.peterson | 2009-03-09 15:38:56 -0500 (Mon, 09 Mar 2009) | 1 line gzip and bz2 are context managers ........
* Merged revisions 62490 via svnmerge fromBenjamin Peterson2008-04-251-63/+66
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r62490 | benjamin.peterson | 2008-04-24 20:29:10 -0500 (Thu, 24 Apr 2008) | 2 lines reformat some documentation of classes so methods and attributes are under the class directive ........
* Remove mentions of "long integer" in the docs.Georg Brandl2007-11-291-1/+1
| | | | Credits to HappySmileMan from GHOP.
* Merged revisions 58817-58861 via svnmerge fromGuido van Rossum2007-11-051-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r58822 | brett.cannon | 2007-11-02 23:47:02 -0700 (Fri, 02 Nov 2007) | 2 lines Add a missing quotation mark. ........ r58840 | skip.montanaro | 2007-11-04 07:56:52 -0800 (Sun, 04 Nov 2007) | 2 lines Note change to get_dialect semantics in 2.5. Will backport to 2.5. ........ r58844 | georg.brandl | 2007-11-04 09:43:49 -0800 (Sun, 04 Nov 2007) | 2 lines Fix syntax for versionchanged markup. ........ r58850 | gregory.p.smith | 2007-11-04 18:32:26 -0800 (Sun, 04 Nov 2007) | 9 lines Fixes bug 477182 on pybsddb.sf.net. DB objects now load the flags and pay attention to them when opening an existing database. This means that d[] behaves properly even on databases previously created with DB_DUP or DB_DUPSORT flags to allow duplicate keys. http://sourceforge.net/tracker/index.php?func=detail&aid=477182&group_id=13900&atid=113900 Do not backport, this bugfix could be considered an API change. ........ r58851 | gregory.p.smith | 2007-11-04 18:56:31 -0800 (Sun, 04 Nov 2007) | 3 lines Add the bsddb.db.DBEnv.lock_id_free method. Improve test_lock's tempdir creation and cleanup. ........ r58852 | gregory.p.smith | 2007-11-05 01:06:28 -0800 (Mon, 05 Nov 2007) | 3 lines * db->get_types is only available in BerkeleyDB >= 4.2 * get compiling with older versions of python again for a stand alone release. ........ r58853 | gregory.p.smith | 2007-11-05 01:07:40 -0800 (Mon, 05 Nov 2007) | 2 lines * db->get_flags is only available in BerkeleyDB >= 4.2 ........ r58854 | mark.summerfield | 2007-11-05 01:22:48 -0800 (Mon, 05 Nov 2007) | 3 lines Added cross-references between the various archive file formats. ........ r58857 | mark.summerfield | 2007-11-05 06:38:50 -0800 (Mon, 05 Nov 2007) | 5 lines Clarified the fact that you can have comments for individual archive members even though comments to the archive itself aren't currently supported. ........
* Get rid of the remaining versionadded/versionchanged directives.Georg Brandl2007-09-011-2/+0
|
* Move the 3k reST doc tree in place.Georg Brandl2007-08-151-0/+181