Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-43916: Apply Py_TPFLAGS_DISALLOW_INSTANTIATION to selected types (GH-25748) | Erlend Egeberg Aasland | 2021-04-30 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | Apply Py_TPFLAGS_DISALLOW_INSTANTIATION to the following types: * _dbm.dbm * _gdbm.gdbm * _multibytecodec.MultibyteCodec * _sre..SRE_Scanner * _thread._localdummy * _thread.lock * _winapi.Overlapped * array.arrayiterator * functools.KeyWrapper * functools._lru_list_elem * pyexpat.xmlparser * re.Match * re.Pattern * unicodedata.UCD * zlib.Compress * zlib.Decompress | ||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21315) | Hai Shi | 2020-07-06 | 1 | -1/+3 |
| | |||||
* | bpo-40286: Use random.randbytes() in tests (GH-19575) | Victor Stinner | 2020-04-17 | 1 | -18/+2 |
| | |||||
* | bpo-36048: Use __index__() instead of __int__() for implicit conversion if ↵ | Serhiy Storchaka | 2019-02-25 | 1 | -1/+1 |
| | | | | | | available. (GH-11952) Deprecate using the __int__() method in implicit conversions of Python numbers to C integers. | ||||
* | bpo-34582: Update syntax of Azure Pipelines builds (GH-9521) | Steve Dower | 2018-09-24 | 1 | -6/+17 |
| | |||||
* | bpo-25007: Add copy protocol support to zlib compressors and decompressors ↵ | Zackery Spytz | 2018-06-27 | 1 | -24/+31 |
| | | | | (GH-7940) | ||||
* | bpo-32969: Expose some missing constants in zlib and fix the doc (GH-5988) | Xiang Zhang | 2018-03-07 | 1 | -1/+2 |
| | |||||
* | bpo-32682: Improve libz version parsing in test_zilb (GH-5347) | pmp-p | 2018-02-19 | 1 | -4/+9 |
| | |||||
* | Replace KB unit with KiB (#4293) | Victor Stinner | 2017-11-08 | 1 | -2/+2 |
| | | | | | | | | | | | kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte") means 1024 bytes. KB was misused: replace kB or KB with KiB when appropriate. Same change for MB and GB which become MiB and GiB. Change the output of Tools/iobench/iobench.py. Round also the size of the documentation from 5.5 MB to 5 MiB. | ||||
* | Issue #16764: Move NEWS entry to correct section and remove too strict test. | Serhiy Storchaka | 2016-08-18 | 1 | -4/+0 |
| | |||||
* | Issue #16764: Support keyword arguments to zlib.decompress(). Patch by | Serhiy Storchaka | 2016-08-15 | 1 | -4/+29 |
| | | | | Xiang Zhang. | ||||
* | Issue #27130: Merge zlib 64-bit fixes from 3.5 | Martin Panter | 2016-07-23 | 1 | -16/+48 |
|\ | |||||
| * | Issue #27130: Fix handling of buffers exceeding UINT_MAX in “zlib” module | Martin Panter | 2016-07-23 | 1 | -16/+48 |
| | | | | | | | | Patch by Xiang Zhang. | ||||
* | | Issue #26243: Only the level argument to zlib.compress() is keyword argument | Serhiy Storchaka | 2016-06-25 | 1 | -1/+3 |
| | | | | | | | | now. The first argument is positional-only. | ||||
* | | Issue #27164: Merge raw Deflate zdict support from 3.5 | Martin Panter | 2016-06-05 | 1 | -0/+9 |
|\ \ | |/ | |||||
| * | Issue #27164: Allow decompressing raw Deflate streams with predefined zdict | Martin Panter | 2016-06-05 | 1 | -0/+9 |
| | | | | | | | | Based on patch by Xiang Zhang. | ||||
* | | Issue #5784: Merge zlib from 3.5 | Martin Panter | 2016-05-27 | 1 | -2/+11 |
|\ \ | |/ | |||||
| * | Issue #5784: wbits=0 apparently added in zlib v1.2.3.5 | Martin Panter | 2016-05-27 | 1 | -2/+11 |
| | | |||||
* | | Issue #5784: Merge zlib from 3.5 | Martin Panter | 2016-05-27 | 1 | -0/+43 |
|\ \ | |/ | |||||
| * | Issue #5784: Expand documentation and tests for zlib wbits parameter | Martin Panter | 2016-05-27 | 1 | -0/+43 |
| | | | | | | | | Based on documentation by AM Kuchling. | ||||
* | | Issue #15984: Merge PyUnicode doc from 3.5 | Martin Panter | 2016-04-15 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 1 | -1/+1 |
| | | | | | | | | This affects documentation, code comments, and a debugging messages. | ||||
* | | Issue #26243: zlib.compress() keyword argument support by Aviv Palivoda | Martin Panter | 2016-02-10 | 1 | -0/+4 |
|/ | |||||
* | Issue #22341: Drop Python 2 workaround and document CRC initial value | Martin Panter | 2015-12-11 | 1 | -9/+4 |
| | | | | Also align the parameter naming in binascii to be consistent with zlib. | ||||
* | Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAX | Martin Panter | 2015-11-20 | 1 | -1/+55 |
| | | | | | | | | | | | | | | The underlying zlib library stores sizes in “unsigned int”. The corresponding Python parameters are all sizes of buffers filled in by zlib, so it is okay to reduce higher values to the UINT_MAX internal cap. OverflowError is still raised for sizes that do not fit in Py_ssize_t. Sizes are now limited to Py_ssize_t rather than unsigned long, because Python byte strings cannot be larger than Py_ssize_t. Previously this could result in a SystemError on 32-bit platforms. This resolves a regression in the gzip module when reading more than UINT_MAX or LONG_MAX bytes in one call, introduced by revision 62723172412c. | ||||
* | Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now | Serhiy Storchaka | 2015-11-12 | 1 | -0/+11 |
|\ | | | | | | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types. | ||||
| * | Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now | Serhiy Storchaka | 2015-11-12 | 1 | -0/+11 |
| | | | | | | | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types. | ||||
* | | Issue #23738: Merge 3.4 into 3.5 | Martin Panter | 2015-09-09 | 1 | -2/+6 |
|\ \ | |/ | |||||
| * | Issue #23738: Document and test actual keyword parameter names | Martin Panter | 2015-09-09 | 1 | -2/+6 |
| | | | | | | | | Also fix signature because os.utime(..., ns=None) is not allowed. | ||||
* | | Issue #21741: Update 147 test modules to use test discovery. | Zachary Ware | 2015-04-13 | 1 | -12/+1 |
|/ | | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run. | ||||
* | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -87/+96 |
| | |||||
* | 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 #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 | -10/+22 |
|\ \ | |/ | | | | | | | | | | | | | | | | | 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, 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/+14 |
|\ \ | |/ | | | | | | | | | calls to decompress() after EOF. 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 #13873: Fix crash in test_zlib when running on a small (<4GB) tmpfs. | Nadeem Vawda | 2012-02-26 | 1 | -18/+5 |
| | | |||||
* | | Tidy up comments from dd4f7d5c51c7 (zlib compression dictionary support). | Nadeem Vawda | 2012-06-21 | 1 | -7/+6 |
| | | |||||
* | | Issue #14684: Add support for predefined compression dictionaries to the ↵ | Nadeem Vawda | 2012-06-21 | 1 | -0/+30 |
| | | | | | | | | | | | | zlib module. Original patch by Sam Rushing. | ||||
* | | Simplify zlib bigmem tests. | Nadeem Vawda | 2012-02-23 | 1 | -6/+2 |
| | | |||||
* | | Fix previous fix (for test_zlib) to work on 32-bit systems. | Nadeem Vawda | 2012-02-23 | 1 | -2/+2 |
| | | |||||
* | | Issue #13873: Fix crash in test_zlib on bigmem buildbot. | Nadeem Vawda | 2012-02-23 | 1 | -23/+5 |
| | | |||||
* | | Fix typo in comment. | Nadeem Vawda | 2012-01-28 | 1 | -1/+1 |
| | | |||||
* | | Issue #13862: Relax zlib version test to avoid spurious failures. | Nadeem Vawda | 2012-01-25 | 1 | -6/+6 |
| | | |||||
* | | Start fixing test_bigmem: | Antoine Pitrou | 2011-10-04 | 1 | -7/+7 |
|\ \ | |/ | | | | | | | - bigmemtest is replaced by precisionbigmemtest - add a poor man's watchdog thread to print memory consumption | ||||
| * | Start fixing test_bigmem: | Antoine Pitrou | 2011-10-04 | 1 | -7/+7 |
| | | | | | | | | | | - bigmemtest is replaced by precisionbigmemtest - add a poor man's watchdog thread to print memory consumption | ||||
* | | Issue #12306: Add ZLIB_RUNTIME_VERSION to the zlib module. | Nadeem Vawda | 2011-09-11 | 1 | -0/+12 |
| | | | | | | | | | | | | While we're at it, also document ZLIB_VERSION. Patch by Torsten Landschoff. | ||||
* | | Issue #12646: Add an 'eof' attribute to zlib.Decompress. | Nadeem Vawda | 2011-08-13 | 1 | -0/+20 |
|/ | | | | | | This will make it easier to detect truncated input streams. Also, make zlib's error messages more consistent. | ||||
* | Merge: Fix copy-paste mistake in new zlib test. | Nadeem Vawda | 2011-05-14 | 1 | -2/+4 |
|\ |