Commit Graph

79472 Commits

Author SHA1 Message Date
Serhiy Storchaka 2e6c829681 Issue #20440: More use of Py_SETREF.
This patch is manually crafted and contains changes that couldn't be handled
automatically.
2015-12-27 15:41:58 +02:00
Serhiy Storchaka 8688acaf2e Issue #20440: Applied yet one patch for using Py_SETREF.
The patch is automatically generated, it replaces the code that uses Py_CLEAR.
2015-12-27 12:38:48 +02:00
Vinay Sajip 82ea0f9517 Closes #25664: handled logger names in Unicode. 2015-12-26 12:21:47 +00:00
Serhiy Storchaka 20a003bea4 Issue #24103: Fixed possible use after free in ElementTree.iterparse(). 2015-12-24 11:51:24 +02:00
Serhiy Storchaka 5951f2300f Issue #20440: Massive replacing unsafe attribute setting code with special
macro Py_SETREF.
2015-12-24 10:35:35 +02:00
Zachary Ware 6ed42ea08b Issue #25827: Add support for ICC to configure 2015-12-21 11:43:03 -06:00
Serhiy Storchaka a3c2242461 Fixed sizeof tests for dict and type (they were passed by accident).
Added tests for dict views.
2015-12-20 11:40:00 +02:00
Serhiy Storchaka 0b72ae8e78 Create a file in SizeofTest only if needed. 2015-12-20 09:36:55 +02:00
Serhiy Storchaka e789038e0d Use correct PyGC_Head size in tests for issue #25421. 2015-12-19 22:49:29 +02:00
Serhiy Storchaka c06a6d0958 Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
2015-12-19 20:07:48 +02:00
Terry Jan Reedy 6f3d5da36c Issue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK. 2015-12-18 15:46:52 -05:00
Serhiy Storchaka 3ea431dedf Issue #25899: Fixed typo in .bzrignore. 2015-12-18 13:12:33 +02:00
Martin Panter d77fe94b4e Issue #22088: Port base64 character ignoring doc and test from 857d9fe60169 2015-12-14 03:41:59 +00:00
Martin Panter edd6a817d1 Issue #20837: Base-64 alphabet clarification from revision 1853679c6f71 2015-12-14 02:54:40 +00:00
R David Murray b75adccd0a #25495: Clarify b2a_base64 documentation vis 57 bytes. 2015-12-13 18:04:14 -05:00
Gregory P. Smith 64fa45af5a Fixes issue #20954: _args_from_interpreter_flags used by multiprocessing
and some tests no longer behaves incorrectly in the presence of the
PYTHONHASHSEED environment variable.
2015-12-13 13:57:50 -08:00
Victor Stinner 04627633ed Issue #25696: Don't ignore errors in 'make bininstall' on creating $(LIBPC) directory 2015-12-13 21:25:42 +01:00
Victor Stinner 15a6c4239c Issue #25696: Fix installation of Python on UNIX with make -j9. 2015-12-13 21:19:28 +01:00
Martin Panter 7b9e7ed59f Issue #25809: Skip testing platform-dependent French thousands separator 2015-12-12 06:53:34 +00:00
Serhiy Storchaka 33ea29772d Fixed possible leaks in ElementTree parser. 2015-12-09 19:44:30 +02:00
Zachary Ware 6b93ca6a3b Clarify that only *documentation* bugs should go to docs@python.org 2015-12-09 01:53:44 -06:00
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