summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* merge 3.3 (#27783)Benjamin Peterson2016-08-171-8/+7
|\
| * rearrange methodcaller_new so that the main error case does not cause ↵Benjamin Peterson2016-08-171-8/+7
| | | | | | | | uninitialized memory usage (closes #27783)
* | merge 3.3 (#27774)Benjamin Peterson2016-08-161-3/+1
|\ \ | |/
| * do not decref value borrowed from list (closes #27774)Benjamin Peterson2016-08-161-3/+1
| |
* | fail when negative values are passed to instr()Benjamin Peterson2016-08-161-0/+8
| |
* | merge 3.3 (closes #27760)Benjamin Peterson2016-08-141-9/+15
|\ \ | |/
| * fix possible integer overflow in binascii.b2a_qp (closes #27760)Benjamin Peterson2016-08-141-9/+16
| | | | | | | | Reported by Thomas E. Hybel
* | do not allow reading negative values with getstr()Benjamin Peterson2016-08-141-0/+8
| |
* | merge 3.3 (#27758)Benjamin Peterson2016-08-141-4/+19
|\ \ | |/
| * check for overflow in join_append_data (closes #27758)Benjamin Peterson2016-08-141-4/+19
| | | | | | | | Reported by Thomas E. Hybel
* | Issue #20160: Merged fix from 3.3.Vinay Sajip2016-08-052-2/+30
|\ \ | |/
| * Issue #20160: Handled passing of large structs to callbacks correctly.Vinay Sajip2016-08-052-2/+30
| |
* | sync ordering of stddef.h includes with expat 2.1.1Benjamin Peterson2016-06-142-4/+4
| |
* | upgrade expt to 2.1.1 (closes #26556)Benjamin Peterson2016-06-113-6/+24
| |
* | open the cert store readonlyBenjamin Peterson2016-02-181-2/+6
| | | | | | | | Patch from Chi Hsuan Yen.
* | reject negative data_sizeBenjamin Peterson2016-01-221-0/+4
| |
* | prevent buffer overflow in get_data (closes #26171)Benjamin Peterson2016-01-211-0/+5
| |
* | fix refleak in error conditionBenjamin Peterson2016-01-211-0/+1
| |
* | merge 3.3Benjamin Peterson2016-01-012-4/+0
|\ \ | |/
| * remove some copyright notices supserseded by the toplevel onesBenjamin Peterson2016-01-012-4/+0
| |
* | Issue25814: Propagate all errors from custom XML parser handlersSerhiy Storchaka2015-12-061-88/+39
| | | | | | | | in ElementTree.iterparse().
* | 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
| |
* | 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 #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 #19687: Fixed memory leak on failed Element slice assignment.Serhiy Storchaka2015-11-221-21/+15
| | | | | | | | Added new tests for Element slice assignments.
* | 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
| |
* | fix build with older openssl (#25569)Benjamin Peterson2015-11-141-1/+1
| |
* | 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.
* | always set OP_NO_SSLv3 by default (closes #25530)Benjamin Peterson2015-11-121-0/+2
| |
* | 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.Serhiy Storchaka2015-11-022-2/+2
| |
* | Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-0213-26/+26
| | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* | add a missing comma (closes #25371)Benjamin Peterson2015-10-111-2/+2
| |
* | Issue #22413: Document newline effect on StringIO initializer and getvalueMartin Panter2015-10-101-1/+6
| | | | | | | | Also add to comment in the C code.
* | Various minor typos in documentation and commentsMartin Panter2015-10-071-1/+1
| |
* | Issue #25290: Fix typo in csv.reader() docstringBerker Peksag2015-10-021-1/+1
| | | | | | | | Patch by Johannes Niediek.
* | Issue #25262. Added support for BINBYTES8 opcode in Python implementation ofSerhiy Storchaka2015-09-291-1/+11
| | | | | | | | | | unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8 opcodes no longer silently ignored on 32-bit platforms in C implementation.
* | Closes issue #23600: Wrong results from tzinfo.fromutc().Alexander Belopolsky2015-09-281-1/+1
| |
* | Issue #25203: Failed readline.set_completer_delims() no longer left theSerhiy Storchaka2015-09-271-4/+5
| | | | | | | | module in inconsistent state.
* | fix spacingBenjamin Peterson2015-09-271-2/+2
| |
* | initialize return value to NULL to avoid compiler compliants (closes #25245)Benjamin Peterson2015-09-271-0/+1
| |
* | prevent overflow in _Unpickler_ReadBenjamin Peterson2015-09-261-0/+6
| |
* | Issue #23517: Fix rounding in fromtimestamp() and utcfromtimestamp() methodsVictor Stinner2015-09-181-8/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | of datetime.datetime: microseconds are now rounded to nearest with ties going to nearest even integer (ROUND_HALF_EVEN), instead of being rounding towards zero (ROUND_DOWN). It's important that these methods use the same rounding mode than datetime.timedelta to keep the property: (datetime(1970,1,1) + timedelta(seconds=t)) == datetime.utcfromtimestamp(t) It also the rounding mode used by round(float) for example. Add more unit tests on the rounding mode in test_datetime.
* | Issue #25021: Merge from 3.3 to 3.4Kristján Valur Jónsson2015-09-121-2/+10
|\ \ | |/
| * Issue #25021: Correctly make sure that product.__setstate__ does not accessKristján Valur Jónsson2015-09-121-2/+10
| | | | | | | | invalid memory.
* | Issue #24684: socket.socket.getaddrinfo() now callsVictor Stinner2015-09-111-3/+1
| | | | | | | | | | | | | | PyUnicode_AsEncodedString() instead of calling the encode() method of the host, to handle correctly custom string with an encode() method which doesn't return a byte string. The encoder of the IDNA codec is now called directly instead of calling the encode() method of the string.