| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
take two parameters.
|
| | |
|
| | |
|
| |
|
|
| |
for some builtins.
|
| |
|
|
|
| |
"format units" as legacy converters, as well as two new features:
"self converters" and the "version" directive.
|
| | |
|
| | |
|
| |
|
|
| |
for C files to generate argument parsing code. (See PEP 436.)
|
| |
|
|
|
| |
_PyBytes_Resize(&v, new_size) sets v to NULL on error, so v cannot be used
anymore. Replace "Py_DECREF(v); v = NULL;" with "Py_CLEAR(v);".
|
| |
|
|
| |
(MemoryError).
|
| |
|
|
| |
value (void)
|
| | |
|
| |
|
|
|
| |
Replace malloc() with PyMem_Malloc() when the GIL is held, or with
PyMem_RawMalloc() otherwise.
|
| |
|
|
| |
on Windows x64
|
| |
|
|
| |
when applicable.
|
| | |
|
| |\
| |
| |
| |
| |
| | |
mean 'no compression'.
Patch by Brian Brazil.
|
| | |\
| | |
| | |
| | |
| | |
| | | |
mean 'no compression'.
Patch by Brian Brazil.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
mean 'no compression'.
Patch by Brian Brazil.
|
| |\ \ \
| |/ /
| | |
| | |
| | |
| | | |
access previously-freed memory.
Patch by Serhiy Storchaka.
|
| | |\ \
| | |/
| | |
| | |
| | |
| | | |
access previously-freed memory.
Patch by Serhiy Storchaka.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
access previously-freed memory.
Patch by Serhiy Storchaka.
|
| |\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |\ \
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \ \
| |/ /
| | |
| | |
| | |
| | | |
calls to decompress() after EOF.
Patch by Serhiy Storchaka.
|
| | |\ \
| | |/
| | |
| | |
| | |
| | | |
calls to decompress() after EOF.
Patch by Serhiy Storchaka.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
calls to decompress() after EOF.
Patch by Serhiy Storchaka.
|
| |/ / |
|
| | |
| |
| |
| | |
Original patch by Jim Jewett; see issue 14684.
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
zlib module.
Original patch by Sam Rushing.
|
| | |
| |
| |
| |
| |
| | |
While we're at it, also document ZLIB_VERSION.
Patch by Torsten Landschoff.
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
If the version of zlib used to compile the zlib module is incompatible
with the one that is actually linked in, then calls into zlib will fail.
This can leave attributes of the z_stream uninitialized, so we must take
care to avoid segfaulting by trying to use an invalid pointer.
Fix by Richard M. Tew.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
If the version of zlib used to compile the zlib module is incompatible
with the one that is actually linked in, then calls into zlib will fail.
This can leave attributes of the z_stream uninitialized, so we must take
care to avoid segfaulting by trying to use an invalid pointer.
Fix by Richard M. Tew.
|
| | |
| |
| |
| | |
Reported by Oleg Oshmyan in issue #12646.
|
| |/
|
|
|
|
| |
This will make it easier to detect truncated input streams.
Also, make zlib's error messages more consistent.
|
| |
|
|
|
| |
Raise an OverflowError if the input data is too large, instead of silently
truncating the input and returning an incorrect result.
|
| | |
|
| |
|
|
| |
attribute when called without a max_length argument.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88460 | antoine.pitrou | 2011-02-21 19:03:13 +0100 (lun., 21 févr. 2011) | 4 lines
Issue #10276: Fix the results of zlib.crc32() and zlib.adler32() on buffers
larger than 4GB. Patch by Nadeem Vawda.
........
r88464 | antoine.pitrou | 2011-02-21 20:05:08 +0100 (lun., 21 févr. 2011) | 3 lines
Fix issues on 32-bit systems introduced by r88460
........
r88466 | antoine.pitrou | 2011-02-21 20:28:40 +0100 (lun., 21 févr. 2011) | 3 lines
Fix compile error under MSVC introduced by r88460.
........
r88486 | antoine.pitrou | 2011-02-22 00:41:12 +0100 (mar., 22 févr. 2011) | 5 lines
Issue #4681: Allow mmap() to work on file sizes and offsets larger than
4GB, even on 32-bit builds. Initial patch by Ross Lagerwall, adapted for
32-bit Windows.
........
r88511 | antoine.pitrou | 2011-02-22 22:42:56 +0100 (mar., 22 févr. 2011) | 4 lines
Issue #11277: finally fix Snow Leopard crash following r88460.
(probably an OS-related issue with mmap)
........
r88652 | antoine.pitrou | 2011-02-26 16:58:05 +0100 (sam., 26 févr. 2011) | 4 lines
Issue #9931: Fix hangs in GUI tests under Windows in certain conditions.
Patch by Hirokazu Yamamoto.
........
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r81100 | antoine.pitrou | 2010-05-12 01:46:02 +0200 (mer., 12 mai 2010) | 10 lines
Merged revisions 81098 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81098 | antoine.pitrou | 2010-05-12 01:42:28 +0200 (mer., 12 mai 2010) | 5 lines
Issue #8681: Make the zlib module's error messages more informative when
the zlib itself doesn't give any detailed explanation.
........
................
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines
Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
................
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80928 | antoine.pitrou | 2010-05-07 19:04:02 +0200 (ven., 07 mai 2010) | 11 lines
Merged revisions 80926 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80926 | antoine.pitrou | 2010-05-07 18:50:34 +0200 (ven., 07 mai 2010) | 5 lines
Issue #8571: Fix an internal error when compressing or decompressing a
chunk larger than 1GB with the zlib module's compressor and decompressor
objects.
........
................
|
| |
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76836 | antoine.pitrou | 2009-12-14 19:00:06 +0100 (lun., 14 déc. 2009) | 5 lines
Issue #4757: `zlib.compress` and other methods in the zlib module now
raise a TypeError when given an `str` object (rather than a `bytes`-like
object). Patch by Victor Stinner and Florent Xicluna.
........
|
| |
|
|
|
| |
type of tp_compare in a separate commit, for ease of reversion
should things go wrong.
|
| | |
|
| |
|
|
|
| |
Make zlib and zipimport to return bytes instead of bytearray and use bytes
rather than bytearray for their internal leftover data storages.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65654 | martin.v.loewis | 2008-08-12 16:49:50 +0200 (Tue, 12 Aug 2008) | 6 lines
Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,
by denying s# to parse objects that have a releasebuffer procedure,
and introducing s*.
More module might need to get converted to use s*.
........
|