summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Only update the arr variable when PyObject_RichCompareBool() has been called.Raymond Hettinger2015-12-081-2/+2
|
* Issue #25761: Fixed reference leak added in previous changeset (5c670af0100f).Serhiy Storchaka2015-12-071-0/+1
|
* Issue #25638: Optimized ElementTree.iterparse(); it is now 2x faster.Serhiy Storchaka2015-12-072-19/+23
| | | | | ElementTree.XMLParser._setevents now accepts any objects with the append method, not just a list.
* Issue25814: Propagate all errors from custom XML parser handlersSerhiy Storchaka2015-12-061-88/+39
|\ | | | | | | in ElementTree.iterparse().
| * Issue25814: Propagate all errors from custom XML parser handlersSerhiy Storchaka2015-12-061-88/+39
| |\ | | | | | | | | | in ElementTree.iterparse().
| | * Issue25814: Propagate all errors from custom XML parser handlersSerhiy Storchaka2015-12-061-88/+39
| | | | | | | | | | | | in ElementTree.iterparse().
* | | Issue #25761: Improved detecting errors in broken pickle data.Serhiy Storchaka2015-12-061-42/+69
| | |
* | | Issue #25717: Merge comment from 3.5Martin Panter2015-12-061-0/+3
|\ \ \ | |/ /
| * | Issue #25717: Add comment explaining why errors are ignoredMartin Panter2015-12-061-0/+3
| | |
* | | Issue #25717: Merge fstat() fix from 3.5Martin Panter2015-12-061-12/+27
|\ \ \ | |/ /
| * | Issue #25717: Tolerate fstat() failures in the FileIO constructorMartin Panter2015-12-061-12/+27
| | | | | | | | | | | | | | | | | | This restores 3.4 behaviour, which was removed by revision 3b5279b5bfd1. The fstat() call fails with ENOENT for a Virtual Box shared folder filesystem if the file entry has been unlinked, e.g. for a temporary file.
* | | Issue #25764: Merge subprocess fix from 3.5Martin Panter2015-12-051-17/+18
|\ \ \ | |/ /
| * | Issue #25764: Merge subprocess fix from 3.4 into 3.5Martin Panter2015-12-051-17/+18
| |\ \ | | |/
| | * Issue #25764: Preserve subprocess fork exception when preexec_fn usedMartin Panter2015-11-301-17/+18
| | | | | | | | | | | | Also fix handling of failure to release the import lock.
* | | Fixed reference leak when read truncated pickle.Serhiy Storchaka2015-11-301-1/+3
|\ \ \ | |/ /
| * | Fixed reference leak when read truncated pickle.Serhiy Storchaka2015-11-301-1/+3
| |\ \ | | |/
| | * Fixed reference leak when read truncated pickle.Serhiy Storchaka2015-11-301-1/+3
| | |
| | * Issue #19687: Fixed possible integer overflows in ElementTree.Serhiy Storchaka2015-11-251-10/+34
| | | | | | | | | | | | Based on patch by Christian Heimes.
* | | Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failureMartin Panter2015-11-301-2/+6
| | |
* | | Issue #7990: dir() on ElementTree.Element now lists properties: "tag",Serhiy Storchaka2015-11-251-76/+94
| | | | | | | | | | | | "text", "tail" and "attrib". Original patch by Santoso Wijaya.
* | | Issue #25725: Fixed a reference leak in pickle.loads() when unpicklingSerhiy Storchaka2015-11-251-19/+8
|\ \ \ | |/ / | | | | | | invalid data including tuple instructions.
| * | Issue #25725: Fixed a reference leak in pickle.loads() when unpicklingSerhiy Storchaka2015-11-251-19/+8
| |\ \ | | |/ | | | | | | invalid data including tuple instructions.
| | * Issue #25725: Fixed a reference leak in pickle.loads() when unpicklingSerhiy Storchaka2015-11-251-19/+8
| | | | | | | | | | | | invalid data including tuple instructions.
* | | Issue #23914: Fixed SystemError raised by unpickler on broken pickle data.Serhiy Storchaka2015-11-231-3/+16
|\ \ \ | |/ /
| * | Issue #23914: Fixed SystemError raised by unpickler on broken pickle data.Serhiy Storchaka2015-11-231-3/+16
| |\ \ | | |/
| | * Issue #23914: Fixed SystemError raised by unpickler on broken pickle data.Serhiy Storchaka2015-11-231-3/+16
| | |
* | | Issue #25691: Fixed crash on deleting ElementTree.Element attributes.Serhiy Storchaka2015-11-231-0/+6
|\ \ \ | |/ /
| * | Issue #25691: Fixed crash on deleting ElementTree.Element attributes.Serhiy Storchaka2015-11-231-0/+6
| |\ \ | | |/
| | * Issue #25691: Fixed crash on deleting ElementTree.Element attributes.Serhiy Storchaka2015-11-231-0/+6
| | |
* | | Issue #19687: Fixed memory leak on failed Element slice assignment.Serhiy Storchaka2015-11-221-21/+15
|\ \ \ | |/ / | | | | | | Added new tests for Element slice assignments.
| * | Issue #19687: Fixed memory leak on failed Element slice assignment.Serhiy Storchaka2015-11-221-21/+15
| |\ \ | | |/ | | | | | | Added new tests for Element slice assignments.
| | * Issue #19687: Fixed memory leak on failed Element slice assignment.Serhiy Storchaka2015-11-221-21/+15
| | | | | | | | | | | | Added new tests for Element slice assignments.
* | | Issue #25626: Merge zlib fix from 3.5Martin Panter2015-11-212-33/+33
|\ \ \ | |/ /
| * | Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAXMartin Panter2015-11-202-33/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Closes #25645: Fix a reference leak introduced by change bc5894a3a0e6 of theVictor Stinner2015-11-171-0/+1
| | | | | | | | | | | | issue #24164.
* | | Fixes #23564: Fix a partially broken sanity check in the _posixsubprocessGregory P. Smith2015-11-161-1/+2
|\ \ \ | |/ / | | | | | | | | | internals regarding how fds_to_pass were passed to the child. The bug had no actual impact as subprocess.py already avoided it.
| * | Fixes #23564: Fix a partially broken sanity check in the _posixsubprocessGregory P. Smith2015-11-161-1/+2
| | | | | | | | | | | | | | | internals regarding how fds_to_pass were passed to the child. The bug had no actual impact as subprocess.py already avoided it.
* | | merge 3.5 (#25578)Benjamin Peterson2015-11-141-2/+5
|\ \ \ | |/ /
| * | merge 3.4 (#25578)Benjamin Peterson2015-11-141-2/+5
| |\ \ | | |/
| | * rm trailing wsBenjamin Peterson2015-11-141-1/+1
| | |
| | * fix possible memory lea k in _get_aia_uri (closes #25578)Benjamin Peterson2015-11-141-1/+4
| | |
* | | merge 3.5 (#25569)Benjamin Peterson2015-11-141-1/+1
|\ \ \ | |/ /
| * | merge 3.4 (#25569)Benjamin Peterson2015-11-141-1/+1
| |\ \ | | |/
| | * fix build with older openssl (#25569)Benjamin Peterson2015-11-141-1/+1
| | |
* | | Issue #25498: Merge ctypes crash fix from 3.5Martin Panter2015-11-131-18/+38
|\ \ \ | |/ /
| * | Issue #25498: Merge ctypes crash fix from 3.4 into 3.5Martin Panter2015-11-131-18/+38
| |\ \ | | |/
| | * Issue #25498: Fix GC crash due to ctypes objects wrapping a memoryviewMartin Panter2015-11-131-18/+38
| | | | | | | | | | | | | | | This was a regression caused by revision 1da9630e9b7f. Based on patch by Eryksun.
* | | merge 3.5 (#25530)Benjamin Peterson2015-11-121-0/+2
|\ \ \ | |/ /
| * | merge 3.4 (#25530)Benjamin Peterson2015-11-121-0/+2
| |\ \ | | |/
| | * always set OP_NO_SSLv3 by default (closes #25530)Benjamin Peterson2015-11-121-0/+2
| | |