| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Issue #27130: Fix handling of buffers exceeding (U)INT_MAX in “zlib” module | Martin Panter | 2016-07-23 | 1 | -0/+120 |
| | | | | | Ported from patches by Xiang Zhang, Nadeem Vawda, and myself. | ||||
| * | Issue #5784: Cannot test wbits=0 unless we know we have zlib v1.2.3.5 | Martin Panter | 2016-05-27 | 1 | -2/+0 |
| | | |||||
| * | Issue #5784: Expand documentation and tests for zlib wbits parameter | Martin Panter | 2016-05-27 | 1 | -0/+43 |
| | | | | | Based on documentation by AM Kuchling. | ||||
| * | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 1 | -1/+1 |
| | | | | | This affects documentation and code comments. | ||||
| * | Issue #22995: Backported additional tests for non-pickleable types. | Serhiy Storchaka | 2015-11-12 | 1 | -0/+11 |
| | | |||||
| * | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -78/+87 |
| | | |||||
| * | Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to ↵ | Nadeem Vawda | 2012-11-11 | 1 | -0/+12 |
| | | | | | | | access previously-freed memory. Patch by Serhiy Storchaka. | ||||
| * | Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in ↵ | Nadeem Vawda | 2012-11-11 | 1 | -9/+21 |
| | | | | | | | | | | | decompressobj().flush(). Additionally, fix a bug where a MemoryError in allocating a bytes object could leave the decompressor object in an invalid state (with its unconsumed_tail member being NULL). Patch by Serhiy Storchaka. | ||||
| * | Issue #16350: Fix zlib decompressor handling of unused_data with multiple ↵ | Nadeem Vawda | 2012-11-04 | 1 | -0/+13 |
| | | | | | | | calls to decompress() after EOF. Patch by Serhiy Storchaka. | ||||
| * | Issue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tail | Nadeem Vawda | 2011-05-14 | 1 | -0/+9 |
| | | | | | attribute when called without a max_length argument. | ||||
| * | Issue #11277: Remove useless test from test_zlib. | Nadeem Vawda | 2011-05-07 | 1 | -42/+0 |
| | | |||||
| * | Issue #11277: oops, fix checksum values of test_zlib on 32 bits | Victor Stinner | 2011-05-04 | 1 | -2/+6 |
| | | |||||
| * | Issue #11277: test_zlib tests a buffer of 1 GB on 32 bits | Victor Stinner | 2011-05-04 | 1 | -6/+15 |
| | | | | | (instead of a buffer of 2 GB) | ||||
| * | Issue #11277: fix issue number in a test_zlib comment | Victor Stinner | 2011-05-04 | 1 | -1/+1 |
| | | |||||
| * | Issue #10276: Fix test_zlib, m may be undefined in the finally block | Victor Stinner | 2011-05-03 | 1 | -1/+1 |
| | | |||||
| * | Issue #10276: test_zlib checks that inputs of 2 GB are handled correctly by | Victor Stinner | 2011-05-03 | 1 | -3/+38 |
| | | | | | crc32() and adler32(). Patch written by Steffen Daode Nurpmeso. | ||||
| * | Issue #8681: Make the zlib module's error messages more informative when | Antoine Pitrou | 2010-05-11 | 1 | -0/+7 |
| | | | | | the zlib itself doesn't give any detailed explanation. | ||||
| * | Issue #8672: Add a zlib test ensuring that an incomplete stream can be | Antoine Pitrou | 2010-05-11 | 1 | -0/+13 |
| | | | | | | handled by a decompressor object without errors (it returns incomplete uncompressed data). | ||||
| * | Issue #8571: Fix an internal error when compressing or decompressing a | Antoine Pitrou | 2010-05-07 | 1 | -3/+59 |
| | | | | | | chunk larger than 1GB with the zlib module's compressor and decompressor objects. | ||||
| * | Issue #8193: Fix test_zlib failure with zlib 1.2.4. | Antoine Pitrou | 2010-04-06 | 1 | -1/+1 |
| | | |||||
| * | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -6/+6 |
| | | |||||
| * | Change more tests to use import_module for the modules that | R. David Murray | 2009-03-30 | 1 | -1/+2 |
| | | | | | | should cause tests to be skipped. Also rename import_function to the more descriptive get_attribute and add a docstring. | ||||
| * | Fix zlib crash from zlib.decompressobj().flush(val) when val was not positive. | Gregory P. Smith | 2008-04-09 | 1 | -0/+5 |
| | | | | | It tried to allocate negative or zero memory. That fails. | ||||
| * | A stab in the dark attempt to fix the alpha/tru64 buildbot problem and add more | Gregory P. Smith | 2008-03-25 | 1 | -0/+9 |
| | | | | | test coverage of valid inputs to zlib.crc32. | ||||
| * | Add a test to make sure zlib.crc32 and binascii.crc32 return the same thing. | Gregory P. Smith | 2008-03-18 | 1 | -0/+6 |
| | | | | | | Fix a buglet in binascii.crc32, the second optional argument could previously have a signedness mismatch with the C variable its going into. | ||||
| * | Force zlib.crc32 and zlib.adler32 to return a signed integer on all platforms | Gregory P. Smith | 2008-03-17 | 1 | -0/+9 |
| | | | | | | | | | | regardless of the native sizeof(long) used in the integer object. This somewhat odd behavior of returning a signed is maintained in 2.x for compatibility reasons of always returning an integer rather than a long object. Fixes Issue1202 for Python 2.6 | ||||
| * | test_bigbits was not testing what it seemed to. | Armin Rigo | 2007-10-15 | 1 | -4/+8 |
| | | |||||
| * | Remove code that hasn't been called in years. | Collin Winter | 2007-04-24 | 1 | -34/+0 |
| | | |||||
| * | Patch #1503046, Conditional compilation of zlib.(de)compressobj.copy | Neal Norwitz | 2006-06-12 | 1 | -57/+59 |
| | | | | | | copy is only in newer versions of zlib. This should allow zlibmodule to work with older versions like the Tru64 buildbot. | ||||
| * | Patch #1435422: zlib's compress and decompress objects now have a | Georg Brandl | 2006-05-16 | 1 | -0/+57 |
| | | | | | copy() method. | ||||
| * | [Patch #1350573] zlib.crc32 doesn't handle 0xffffffff seed. Add tests and ↵ | Andrew M. Kuchling | 2005-11-22 | 1 | -0/+2 |
| | | | | | bugfix. Bug reported by John Schmidt; bugfix by Danny Yoo. | ||||
| * | Whitespace normalization. | Tim Peters | 2005-01-07 | 1 | -1/+1 |
| | | |||||
| * | [Bug #1083110] calling .flush() on decompress objects causes a segfault due ↵ | Andrew M. Kuchling | 2004-12-28 | 1 | -0/+10 |
| | | | | | to an uninitialized pointer: fixes the problem and adds a test case | ||||
| * | Remove a number of tests that differ only in input data size. It seems | Neil Schemenauer | 2004-06-05 | 1 | -161/+59 |
| | | | | | | | no bug motivated their inclusion and the chance of them triggering a problem seems unlikely. Refactor to reduce code duplication. Rename 'hamlet_scene' to 'HAMLET_SCENE'. Test is much faster now. Closes #960995. | ||||
| * | Remove lots of magic constants. | Neil Schemenauer | 2004-06-05 | 1 | -23/+38 |
| | | |||||
| * | SF bug #785222: zlib monotonic test | Raymond Hettinger | 2003-08-31 | 1 | -11/+0 |
| | | | | | | | For smaller datasets, it is not always true the increasing the compression level always results in better compression. Removed the test which made this invalid assumption. | ||||
| * | Combine the functionality of test_support.run_unittest() | Walter Dörwald | 2003-05-01 | 1 | -12/+12 |
| | | | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807. | ||||
| * | Use floor division (//). | Guido van Rossum | 2003-02-27 | 1 | -3/+3 |
| | | |||||
| * | Whitespace normalization. | Tim Peters | 2003-02-19 | 1 | -2/+1 |
| | | |||||
| * | - Thanks to Scott David Daniels, a subtle bug in how the zlib | Guido van Rossum | 2003-02-03 | 1 | -163/+444 |
| | | | | | | | | | extension implemented flush() was fixed. Scott also rewrite the zlib test suite using the unittest module. (SF bug #640230 and patch #678531.) Backport candidate I think. | ||||
| * | Portable way of producing unsigned 32-bit hex output to print the | Guido van Rossum | 2002-08-12 | 1 | -2/+4 |
| | | | | | CRCs. | ||||
| * | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :) | ||||
| * | Fix SF #544995 (zlib crash on second flush call) | Jeremy Hylton | 2002-04-19 | 1 | -0/+6 |
| | | | | | | | Bug fix by mhammond. Bug fix candidate for 2.2, not present in 2.1. | ||||
| * | Whitespace normalization. | Tim Peters | 2001-10-18 | 1 | -1/+1 |
| | | |||||
| * | [ #403753 ] zlib decompress; uncontrollable memory usage | Jeremy Hylton | 2001-10-16 | 1 | -0/+30 |
| | | | | | | | | | | | | | | Mostly by Toby Dickenson and Titus Brown. Add an optional argument to a decompression object's decompress() method. The argument specifies the maximum length of the return value. If the uncompressed data exceeds this length, the excess data is stored as the unconsumed_tail attribute. (Not to be confused with unused_data, which is a separate issue.) Difference from SF patch: Default value for unconsumed_tail is "" rather than None. It's simpler if the attribute is always a string. | ||||
| * | Patch #441091 from Finn Bock: the more advanced flush options are not | Andrew M. Kuchling | 2001-08-10 | 1 | -15/+20 |
| | | | | | | available in java, so only use the advanced flush options if they are defined in the zlib module. | ||||
| * | Whitespace normalization. | Tim Peters | 2001-02-21 | 1 | -2/+2 |
| | | |||||
| * | Add test case from bug #124981: zlib decompress of sync-flushed data | Andrew M. Kuchling | 2001-02-21 | 1 | -0/+26 |
| | | | | | fails | ||||
| * | Patch #103748 from Toby Dickenson: fix typo in test_zlib that turns one | Andrew M. Kuchling | 2001-02-14 | 1 | -1/+1 |
| | | | | | test case into a no-op because ''.join('hello world') == 'hello world' | ||||
| * | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -3/+2 |
| | | |||||
