| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [3.4] bpo-29591, bpo-30694: Upgrade Modules/expat to libexpat 2.2.1 (#2164) ↵ | Victor Stinner | 2017-07-12 | 15 | -608/+1375 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#2203) * bpo-29591: Upgrade Modules/expat to libexpat 2.2 (#2164) * bpo-29591: Upgrade Modules/expat to libexpat 2.2 * bpo-29591: Restore Python changes on expat * bpo-29591: Remove expat config of unsupported platforms Remove the configuration (Modules/expat/*config.h) of unsupported platforms: * Amiga * MacOS Classic on PPC32 * Open Watcom * bpo-29591: Remove useless XML_HAS_SET_HASH_SALT The XML_HAS_SET_HASH_SALT define of Modules/expat/expat.h became useless since our local expat copy was upgrade to expat 2.1 (it's now expat 2.2.0). (cherry picked from commit 23ec4b57e1359f9c539b8defc317542173ae087e) * bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300) New file: Modules/expat/siphash.h. (cherry picked from commit 5ff7132313eb651107b179d20218dfe5d4e47f13) * bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348) bpo-30726, bpo-29591: libexpat 2.2.1 of Modules/expat/ now uses a winconfig.h configuration file which already defines: * XML_NS * XML_DTD * BYTEORDER=1234 * XML_CONTEXT_BYTES=1024 * HAVE_MEMMOVE Remove these defines from PCbuild/_elementtree.vcxproj to prevent compiler warnings. Co-Authored-By: Jeremy Kloth <jeremy.kloth@gmail.com> (cherry picked from commit c8fb58bd7917151e63398587a7fc2126db7c26de) * bpo-30726: Fix elementtree warnings on Windows due to expat upgrade (#2319) * bpo-30726: Fix elementtree warnings on Windows Caused by usage of `getenv` which should be safe. And a few integer truncations which should also be ok. * bpo-30726: Don't ignore libexpat warnings which haypo intends to fix upstream (cherry picked from commit 87c65550730a8f85ce339ba197bce4fb7e836619) | ||||
| * | [security][3.4] bpo-30730: Prevent environment variables injection in ↵ | Serhiy Storchaka | 2017-07-11 | 1 | -4/+19 |
| | | | | | | | | | | | | subprocess on Windows. (GH-2325) (#2362) * [3.4] bpo-30730: Prevent environment variables injection in subprocess on Windows. (GH-2325) Prevent passing other invalid environment variables and command arguments.. (cherry picked from commit d174d24a5d37d1516b885dc7c82f71ecd5930700) * Update NEWS | ||||
| * | merge 3.3 (#27783) | Benjamin Peterson | 2016-08-17 | 1 | -8/+7 |
| |\ | |||||
| | * | rearrange methodcaller_new so that the main error case does not cause ↵ | Benjamin Peterson | 2016-08-17 | 1 | -8/+7 |
| | | | | | | | | | uninitialized memory usage (closes #27783) | ||||
| * | | merge 3.3 (#27774) | Benjamin Peterson | 2016-08-16 | 1 | -3/+1 |
| |\ \ | |/ | |||||
| | * | do not decref value borrowed from list (closes #27774) | Benjamin Peterson | 2016-08-16 | 1 | -3/+1 |
| | | | |||||
| * | | fail when negative values are passed to instr() | Benjamin Peterson | 2016-08-16 | 1 | -0/+8 |
| | | | |||||
| * | | merge 3.3 (closes #27760) | Benjamin Peterson | 2016-08-14 | 1 | -9/+15 |
| |\ \ | |/ | |||||
| | * | fix possible integer overflow in binascii.b2a_qp (closes #27760) | Benjamin Peterson | 2016-08-14 | 1 | -9/+16 |
| | | | | | | | | | Reported by Thomas E. Hybel | ||||
| * | | do not allow reading negative values with getstr() | Benjamin Peterson | 2016-08-14 | 1 | -0/+8 |
| | | | |||||
| * | | merge 3.3 (#27758) | Benjamin Peterson | 2016-08-14 | 1 | -4/+19 |
| |\ \ | |/ | |||||
| | * | check for overflow in join_append_data (closes #27758) | Benjamin Peterson | 2016-08-14 | 1 | -4/+19 |
| | | | | | | | | | Reported by Thomas E. Hybel | ||||
| * | | Issue #20160: Merged fix from 3.3. | Vinay Sajip | 2016-08-05 | 2 | -2/+30 |
| |\ \ | |/ | |||||
| | * | Issue #20160: Handled passing of large structs to callbacks correctly. | Vinay Sajip | 2016-08-05 | 2 | -2/+30 |
| | | | |||||
| * | | sync ordering of stddef.h includes with expat 2.1.1 | Benjamin Peterson | 2016-06-14 | 2 | -4/+4 |
| | | | |||||
| * | | upgrade expt to 2.1.1 (closes #26556) | Benjamin Peterson | 2016-06-11 | 3 | -6/+24 |
| | | | |||||
| * | | open the cert store readonly | Benjamin Peterson | 2016-02-18 | 1 | -2/+6 |
| | | | | | | | | | Patch from Chi Hsuan Yen. | ||||
| * | | reject negative data_size | Benjamin Peterson | 2016-01-22 | 1 | -0/+4 |
| | | | |||||
| * | | prevent buffer overflow in get_data (closes #26171) | Benjamin Peterson | 2016-01-21 | 1 | -0/+5 |
| | | | |||||
| * | | fix refleak in error condition | Benjamin Peterson | 2016-01-21 | 1 | -0/+1 |
| | | | |||||
| * | | merge 3.3 | Benjamin Peterson | 2016-01-01 | 2 | -4/+0 |
| |\ \ | |/ | |||||
| | * | remove some copyright notices supserseded by the toplevel ones | Benjamin Peterson | 2016-01-01 | 2 | -4/+0 |
| | | | |||||
| * | | Issue25814: Propagate all errors from custom XML parser handlers | Serhiy Storchaka | 2015-12-06 | 1 | -88/+39 |
| | | | | | | | | | in ElementTree.iterparse(). | ||||
| * | | Issue #25764: Preserve subprocess fork exception when preexec_fn used | Martin Panter | 2015-11-30 | 1 | -17/+18 |
| | | | | | | | | | Also fix handling of failure to release the import lock. | ||||
| * | | Fixed reference leak when read truncated pickle. | Serhiy Storchaka | 2015-11-30 | 1 | -1/+3 |
| | | | |||||
| * | | Issue #19687: Fixed possible integer overflows in ElementTree. | Serhiy Storchaka | 2015-11-25 | 1 | -10/+34 |
| | | | | | | | | | Based on patch by Christian Heimes. | ||||
| * | | Issue #25725: Fixed a reference leak in pickle.loads() when unpickling | Serhiy Storchaka | 2015-11-25 | 1 | -19/+8 |
| | | | | | | | | | invalid data including tuple instructions. | ||||
| * | | Issue #23914: Fixed SystemError raised by unpickler on broken pickle data. | Serhiy Storchaka | 2015-11-23 | 1 | -3/+16 |
| | | | |||||
| * | | Issue #25691: Fixed crash on deleting ElementTree.Element attributes. | Serhiy Storchaka | 2015-11-23 | 1 | -0/+6 |
| | | | |||||
| * | | Issue #19687: Fixed memory leak on failed Element slice assignment. | Serhiy Storchaka | 2015-11-22 | 1 | -21/+15 |
| | | | | | | | | | Added new tests for Element slice assignments. | ||||
| * | | rm trailing ws | Benjamin Peterson | 2015-11-14 | 1 | -1/+1 |
| | | | |||||
| * | | fix possible memory lea k in _get_aia_uri (closes #25578) | Benjamin Peterson | 2015-11-14 | 1 | -1/+4 |
| | | | |||||
| * | | fix build with older openssl (#25569) | Benjamin Peterson | 2015-11-14 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #25498: Fix GC crash due to ctypes objects wrapping a memoryview | Martin Panter | 2015-11-13 | 1 | -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 Peterson | 2015-11-12 | 1 | -0/+2 |
| | | | |||||
| * | | fix memory leak in _get_crl_dp (closes #25569) | Benjamin Peterson | 2015-11-12 | 1 | -28/+24 |
| | | | | | | | | | Patch started by Stéphane Wirtel. | ||||
| * | | Issue #25523: Further a-to-an corrections. | Serhiy Storchaka | 2015-11-02 | 2 | -2/+2 |
| | | | |||||
| * | | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 13 | -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 Peterson | 2015-10-11 | 1 | -2/+2 |
| | | | |||||
| * | | Issue #22413: Document newline effect on StringIO initializer and getvalue | Martin Panter | 2015-10-10 | 1 | -1/+6 |
| | | | | | | | | | Also add to comment in the C code. | ||||
| * | | Various minor typos in documentation and comments | Martin Panter | 2015-10-07 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #25290: Fix typo in csv.reader() docstring | Berker Peksag | 2015-10-02 | 1 | -1/+1 |
| | | | | | | | | | Patch by Johannes Niediek. | ||||
| * | | Issue #25262. Added support for BINBYTES8 opcode in Python implementation of | Serhiy Storchaka | 2015-09-29 | 1 | -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 Belopolsky | 2015-09-28 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #25203: Failed readline.set_completer_delims() no longer left the | Serhiy Storchaka | 2015-09-27 | 1 | -4/+5 |
| | | | | | | | | | module in inconsistent state. | ||||
| * | | fix spacing | Benjamin Peterson | 2015-09-27 | 1 | -2/+2 |
| | | | |||||
| * | | initialize return value to NULL to avoid compiler compliants (closes #25245) | Benjamin Peterson | 2015-09-27 | 1 | -0/+1 |
| | | | |||||
| * | | prevent overflow in _Unpickler_Read | Benjamin Peterson | 2015-09-26 | 1 | -0/+6 |
| | | | |||||
| * | | Issue #23517: Fix rounding in fromtimestamp() and utcfromtimestamp() methods | Victor Stinner | 2015-09-18 | 1 | -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.4 | Kristján Valur Jónsson | 2015-09-12 | 1 | -2/+10 |
| |\ \ | |/ | |||||
