summaryrefslogtreecommitdiff
path: root/Modules/bz2module.c
AgeCommit message (Expand)AuthorLines
2017-06-10bpo-30614: testInitNonExistentFile() of test_bz2 leaks references (#2033)Stéphane Wirtel-25/+39
2016-04-10Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka-1/+1
2016-04-06Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka-1/+1
2015-12-24Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka-3/+2
2014-04-25Issue #20434 Correct error handlin of _PyString_Resize and _PyBytes_ResizeKristján Valur Jónsson-1/+2
2013-12-08Closes #19878: Fix segfault in bz2 module.Nadeem Vawda-7/+10
2013-01-02Issue #16828: Fix error incorrectly raised by bz2.compress('').Nadeem Vawda-1/+1
2012-10-21Issue #14398: Fix size truncation and overflow bugs in bz2 module.Nadeem Vawda-137/+179
2011-10-13Issue #13159: Replace FileIO's quadratic-time buffer growth algorithm with a ...Nadeem Vawda-15/+4
2010-09-23Merged revisions 84980 via svnmerge fromAntoine Pitrou-3/+6
2010-08-01Merged revisions 83440 via svnmerge fromAntoine Pitrou-0/+28
2010-05-09Untabify C files. Will watch buildbots.Antoine Pitrou-1548/+1548
2009-10-27Issue #7205: Fix a possible deadlock when using a BZ2File object from several...Antoine Pitrou-1/+6
2009-01-10Issue #3860: GzipFile and BZ2File now support the context manager protocol.Antoine Pitrou-0/+32
2008-08-12Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,Martin v. Löwis-10/+48
2008-08-09#3205: bz2 iterator fails silently on MemoryErrorAntoine Pitrou-0/+1
2008-07-07- Issue #3309: Fix bz2.BZFile itererator to release its internal lockGregory P. Smith-0/+1
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-54/+54
2008-05-26Renamed PyString to PyBytesChristian Heimes-54/+54
2008-04-12fix compiler warningsGregory P. Smith-5/+5
2008-04-07Use the new PyFile_IncUseCount & PyFile_DecUseCount calls appropriatlyGregory P. Smith-0/+15
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-7/+7
2007-09-17issue1597011: Fix for bz2 module corner-case error due to error checking bug.Sean Reifscheider-23/+17
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-13/+10
2007-03-13Bug #1622896: fix a rare corner case where the bz2 module raised anGeorg Brandl-10/+11
2006-12-18[Patch #1615868 by Lars Gustaebel] Use Py_off_t to fix BZ2File.seek() for off...Andrew M. Kuchling-1/+1
2006-09-23Remove extra semi-colons reported by Johnny Lee on python-dev. Backport if a...Neal Norwitz-2/+2
2006-08-14Patch #1535500: fix segfault in BZ2File.writelines and make sure itGeorg Brandl-2/+17
2006-07-22Fix more memory allocation issues found with failmalloc.Neal Norwitz-8/+20
2006-07-10Patch #1516912: improve Modules support for OpenVMS.Neal Norwitz-0/+4
2006-06-12Fix some Py_ssize_t issuesNeal Norwitz-5/+5
2006-02-27Revert backwards-incompatible const changes.Martin v. Löwis-3/+3
2006-02-18Remove unused variableNeal Norwitz-1/+0
2006-02-18Bug #1366000: cleanup BZ2File.seek() logic. Fixes the case of whence=2, offse...Georg Brandl-41/+32
2006-02-15Merge ssize_t branch.Martin v. Löwis-1/+1
2006-01-19Check return result from Py_InitModule*(). This API can fail.Neal Norwitz-0/+2
2006-01-17SF Bug #1407069, Remove extra semi-colon if there is no long longNeal Norwitz-1/+1
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-4/+4
2005-09-03bug [ 1274069 ] bz2module.c compiler warningGeorg Brandl-5/+12
2005-08-21Fix BZ2File.(x)readlines() for files without a newline.Georg Brandl-8/+31
2005-06-03Bug #1194181: bz2.BZ2File didn't handle mode 'U' correctly.Georg Brandl-0/+4
2004-11-01Add error checks for the bz2, cStringIO and operator modules.Walter Dörwald-4/+4
2004-02-14- Fixed #853061: allow BZ2Compressor.compress() to receive an empty stringGustavo Niemeyer-0/+3
2004-02-07Remove support for --without-universal-newlines (see PEP 11).Skip Montanaro-22/+0
2003-07-01Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macrosNeal Norwitz-1/+1
2003-05-03Patch #708495: Port more stuff to OpenVMS.Martin v. Löwis-0/+2
2003-04-29Applying patch #728656, by logistix, fixing opening of nonexistentGustavo Niemeyer-1/+1
2003-04-27Applying patch by Neal Norwitz:Gustavo Niemeyer-0/+25
2003-03-29Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.Martin v. Löwis-4/+4
2003-02-11Unparenting BZ2File, as discussed in SF patch #661796.Gustavo Niemeyer-102/+158