Commit Graph

79250 Commits

Author SHA1 Message Date
Serhiy Storchaka 45cf0b7f3e Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().
2015-12-06 23:51:53 +02:00
Ned Deily 4902591cae merge heads 2015-12-06 00:00:57 -05:00
Benjamin Peterson 3c459de2c6 remove pointless keys() call 2015-12-05 20:52:43 -08:00
Ned Deily 3afd9c17b6 Issue #25798: Update OS X 10.5+ 32-bit-only installer to build
and link with OpenSSL 1.0.2e.
2015-12-05 23:47:34 -05:00
Benjamin Peterson 4f1aeaef3d off to 2.7.12 we go 2015-12-05 11:46:21 -08:00
Benjamin Peterson 0c13d1af63 merge 2.7.11 branch 2015-12-05 11:45:48 -08:00
Benjamin Peterson bee7f7cc82 Added tag v2.7.11 for changeset 6d1b6a68f775 2015-12-05 11:45:22 -08:00
Benjamin Peterson 11fc030b6f 2.7.11 final 2015-12-05 11:45:17 -08:00
Benjamin Peterson f9d11e815a make consulting save_modules O(1) rather than O(n) 2015-12-05 00:29:56 -08:00
Benjamin Peterson fe5c64f727 merge 2.7.11 branch 2015-12-05 00:18:11 -08:00
Benjamin Peterson 167910a42b add CVE and issue number 2015-12-05 00:17:57 -08:00
Martin Panter 7e59ce8b07 Issue #14285: Do not catch ImportError from __init__.py in runpy
Initialize package before calling get_loader() for __main__, so that we do
not incorrectly handle ImportError from __init__.py. When runpy is used from
the Python CLI, use an internal exception rather than ImportError, to avoid
catching an unexpected ImportError.

Also simplify message formatting: str() is redundant with %s.

Also fix test_dash_m_error_code_is_one() in test_cmd_line_script, which was
failing because the test package was not in the current directlry, rather
the desired ValueError.
2015-12-03 01:23:10 +00:00
Serhiy Storchaka ab68fcaee3 Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().
2015-12-03 22:20:45 +02:00
Serhiy Storchaka e37003e9ae Issue #19543: Added Py3k warning for decoding unicode. 2015-12-03 20:47:48 +02:00
Victor Stinner c747e5564f Fix test_doctest in verbose mode 2015-12-02 14:39:37 +01:00
Serhiy Storchaka 048e107859 Fixed reference leak when read truncated pickle. 2015-12-01 00:32:49 +02:00
Serhiy Storchaka 2329eeda0c Issue #25718: Fixed copying object with state with boolean value is false. 2015-11-30 17:20:02 +02:00
Serhiy Storchaka 03f3c2fa5f Fixed yet one syntax error in test_xpickle in Python 2.5. 2015-11-29 20:18:27 +02:00
Serhiy Storchaka 43e9007767 Fixed Py3k warnings in tests for issue #24731. 2015-11-29 20:13:56 +02:00
Serhiy Storchaka 81772f1ee2 Trying to fix test_xpickle with python 2.4 and 2.5. 2015-11-29 19:20:11 +02:00
Victor Stinner 3c8ef8f100 Issue #25742: Try to fix test_locale on Windows 2015-11-29 16:33:18 +01:00
Serhiy Storchaka d26b66313e Got rid of "with" for compatibility test_xpickle with Python 2.5. 2015-11-29 16:13:51 +02:00
Serhiy Storchaka bf19ce27c4 Issue #25761: Added more test cases for testing unpickling broken data.
Output raised exception at verbose level 2 (-vv).
2015-11-29 13:12:40 +02:00
Victor Stinner e08496b62d Closes #25742: locale.setlocale() now accepts a Unicode string for its second
parameter.
2015-11-27 23:54:36 +01:00
Zachary Ware 916c7c7ae1 Issue #23914: Fix test_xpickle with python 2.4 and 2.5
Remove 'b' prefix from strings, remove unused import.
2015-11-27 01:21:51 -06:00
Serhiy Storchaka 9baa56883a Issue #10131: Fixed deep copying of minidom documents. Based on patch
by Marian Ganisin.
2015-11-26 23:48:30 +02:00
Martin Panter 929e363a7b Issue #25622: Rename to PythonValuesTestCase and enable for non-Windows 2015-11-26 02:36:26 +00:00
Serhiy Storchaka b5b76c370b Fixed compilation error introduced in 745fd5550bc0. 2015-11-26 11:21:47 +02:00
Serhiy Storchaka c4c64be1b8 Issue #19687: Fixed possible integer overflows in ElementTree.
Based on patch by Christian Heimes.
2015-11-25 20:12:58 +02:00
Serhiy Storchaka ee1b24ccaa Issue #24097: Fixed crash in object.__reduce__() if slot name is freed inside
__getattr__.  Original patch by Antoine Pitrou.
2015-11-25 18:35:33 +02:00
Serhiy Storchaka 282e831a5a Issue #25616: Tests for OrderedDict are extracted from test_collections
into separate file test_ordered_dict.
2015-11-25 17:19:27 +02:00
Serhiy Storchaka 1121b5e6a9 Issue #25703: Skip test_43581 if one of stdout or stderr is redirected. 2015-11-25 16:20:04 +02:00
Serhiy Storchaka 8addf280a9 Issue #25697: Fixed rough alphabetical order in Misc/ACKS. 2015-11-25 16:13:56 +02:00
Serhiy Storchaka 8d30ad7c8a Issue #24731: Fixed crash on converting objects with special methods
__str__, __trunc__, and __float__ returning instances of subclasses of
str, long, and float to subclasses of str, long, and float correspondingly.
2015-11-25 15:55:54 +02:00
Serhiy Storchaka 80767a38c7 Issue #25725: Fixed a reference leak in cPickle.loads() when unpickling
invalid data including tuple instructions.
2015-11-25 15:07:49 +02:00
Vinay Sajip c9625c8e4b Issue #25508: Clarify documentation on LogRecord args attribute. 2015-11-24 23:18:30 +00:00
Raymond Hettinger d2f0726f86 Fix non-ascii character 2015-11-23 21:00:45 -08:00
Raymond Hettinger 5fda2f6fb7 Add a missing docstring 2015-11-23 20:47:05 -08:00
Martin Panter 96bc1757ce Issue #25663: Make rlcompleter avoid duplicate global names 2015-11-23 23:50:26 +00:00
Serhiy Storchaka b3d8b59426 Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error. 2015-11-23 15:46:36 +02:00
Serhiy Storchaka 5c137669e3 Issue #23914: Fixed SystemError raised by unpickler on broken pickle data. 2015-11-23 15:20:43 +02:00
Serhiy Storchaka 1456c98493 Issue #25691: Added tests on deleting cElementTree.Element attributes. 2015-11-23 08:50:20 +02:00
Benjamin Peterson 71f8dd7402 rm duplicate entry 2015-11-22 19:05:29 -08:00
Benjamin Peterson b37d9b4604 merge 2.7.11 release branch 2015-11-22 19:05:14 -08:00
Benjamin Peterson 5323ed3424 Issue #25624: ZipFile now always writes a ZIP_STORED header for directory entries. Patch by Dingyuan Wang. 2015-11-22 19:04:56 -08:00
Serhiy Storchaka 37c02acb6f Issue #25624: ZipFile now always writes a ZIP_STORED header for directory
entries.  Patch by Dingyuan Wang.
2015-11-22 14:56:22 +02:00
Serhiy Storchaka a0ae9ff006 Issue #19687: Fixed memory leak on failed Element slice assignment. 2015-11-22 12:31:11 +02:00
Benjamin Peterson 4d04361bd5 news section for 2.7.12 2015-11-21 18:39:07 -08:00
Benjamin Peterson 85592c9c80 post rc1 updates 2015-11-21 18:38:18 -08:00
Benjamin Peterson 6a93913d7a Added tag v2.7.11rc1 for changeset 82dd9545bd93 2015-11-21 13:38:43 -08:00