summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* enable SSL_MODE_RELEASE_BUFFERSBenjamin Peterson2016-01-081-0/+17
| | | | Patch by Cory Benfield.
* merge 3.4Benjamin Peterson2016-01-012-4/+0
|\
| * merge 3.3Benjamin Peterson2016-01-012-4/+0
| |\
| | * remove some copyright notices supserseded by the toplevel onesBenjamin Peterson2016-01-012-4/+0
| | |
* | | Fixed formatting comman-line usage message.Serhiy Storchaka2015-12-301-4/+4
| | |
* | | Issue #25447: Copying the lru_cache() wrapper object now always works,Serhiy Storchaka2015-12-281-0/+16
| | | | | | | | | | | | | | | independedly from the type of the wrapped object (by returning the original object unchanged).
* | | Issue #20440: More use of Py_SETREF.Serhiy Storchaka2015-12-274-40/+23
| | | | | | | | | | | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically.
* | | Issue #20440: Applied yet one patch for using Py_SETREF.Serhiy Storchaka2015-12-278-66/+39
| | | | | | | | | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR.
* | | Issue #24103: Fixed possible use after free in ElementTree.XMLPullParser.Serhiy Storchaka2015-12-241-19/+13
| | |
* | | Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka2015-12-2413-74/+40
| | | | | | | | | | | | macro Py_SETREF.
* | | Issue #25902: Fixed various refcount issues in ElementTree iteration.Serhiy Storchaka2015-12-211-32/+58
| | |
* | | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-1911-15/+15
| | | | | | | | | | | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined.
* | | Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir() (new try)Victor Stinner2015-12-131-1/+1
| | |
* | | Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir()Victor Stinner2015-12-131-3/+3
| | |
* | | Issue #25845: Drop redundant checks leftover from int to long conversionMartin Panter2015-12-121-2/+2
| | |
* | | Fixed possible leaks in ElementTree parser.Serhiy Storchaka2015-12-091-2/+8
| | |
* | | Fixed possible leak in ElementTree.Element.iter().Serhiy Storchaka2015-12-091-11/+11
| | |
* | | 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 #25717: Add comment explaining why errors are ignoredMartin Panter2015-12-061-0/+3
| | |
* | | 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.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
| | |
| * | Issue #19687: Fixed possible integer overflows in ElementTree.Serhiy Storchaka2015-11-251-10/+34
| | | | | | | | | | | | Based on patch by Christian Heimes.
* | | 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 #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 #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.
* | | 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.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.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.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.4 (#25530)Benjamin Peterson2015-11-121-0/+2
|\ \ \ | |/ /
| * | always set OP_NO_SSLv3 by default (closes #25530)Benjamin Peterson2015-11-121-0/+2
| | |
* | | merge 3.5 (#25569)Benjamin Peterson2015-11-121-28/+24
|\ \ \ | |/ /
| * | fix memory leak in _get_crl_dp (closes #25569)Benjamin Peterson2015-11-121-28/+24
| | | | | | | | | | | | Patch started by Stéphane Wirtel.
* | | Issue #25523: Further a-to-an corrections new in 3.5.Serhiy Storchaka2015-11-021-1/+1
| | |
* | | Issue #25523: Merge a-to-an corrections from 3.4.Serhiy Storchaka2015-11-022-2/+2
|\ \ \ | |/ /
| * | Issue #25523: Further a-to-an corrections.Serhiy Storchaka2015-11-022-2/+2
| | |