Commit Graph

79745 Commits

Author SHA1 Message Date
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 v2.7.11 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