Commit Graph

92451 Commits

Author SHA1 Message Date
Serhiy Storchaka b1f64e7d29 Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().
2015-12-03 22:26:36 +02:00
Serhiy Storchaka c7217d7c22 Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().
2015-12-03 22:21:07 +02:00
Martin Panter 85134706af Issue #14285: Merge runpy exception fix from 3.5 2015-12-03 01:36:03 +00:00
Martin Panter 657257edb6 Issue #14285: Do not catch __init__.py exceptions in runpy
Initialize package before calling find_spec() for __main__, so that we do not
incorrectly handle exceptions from __init__.py. When runpy is used from the
Python CLI, use an internal exception rather than ImportError, to avoid
catching unexpected exceptions.

Also remove exception message rewriting in _run_module_as_main(), because it
seems to be redundant with the _get_main_module_details() function.
2015-12-03 01:23:10 +00:00
Serhiy Storchaka 7c088a9b5c Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache. 2015-12-03 01:05:52 +02:00
Serhiy Storchaka 6648bf5661 Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache. 2015-12-03 01:04:37 +02:00
Serhiy Storchaka e800941d66 Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache. 2015-12-03 01:02:03 +02:00
Larry Hastings a8f4405044 Merge. 2015-12-05 16:49:19 -08:00
Serhiy Storchaka 7aa690860e Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache. 2015-12-03 01:02:03 +02:00
Serhiy Storchaka 7bc168faf5 Null merge 2015-12-03 00:58:13 +02:00
Serhiy Storchaka 38982e543a Null merge 2015-12-03 00:57:41 +02:00
Steve Dower 7b28eb1457 Merge from 3.5 (including all NEWS entries) 2015-12-02 09:19:07 -08:00
Steve Dower 10f997d986 Issue #25715: Python 3.5.1 installer shows wrong upgrade path and incorrect logic for launcher detection. 2015-12-02 08:28:51 -08:00
Victor Stinner 31618c9d48 (Merge 3.5) Fix test_doctest in verbose mode 2015-12-02 14:37:35 +01:00
Victor Stinner 09a08de363 Fix test_doctest in verbose mode 2015-12-02 14:37:17 +01:00
Victor Stinner bd0ce2805c Null merge 3.5, patch was already applied to default (isuse #25177) 2015-12-02 14:36:15 +01:00
Steven D'Aprano f02de4938e Merge heads. 2015-12-02 01:10:09 +11:00
Steven D'Aprano b28c3275c7 Issue #25177: Fixed problem with the mean of very small and very large numbers. 2015-12-01 19:59:53 +11:00
Steven D'Aprano 40a841bcb9 Fixed issue #25177, problems with the mean of very small and very large numbers. 2015-12-01 17:04:32 +11:00
Zachary Ware df144092a3 Closes #25767: Merge with 3.5 2015-11-30 22:57:22 -06:00
Zachary Ware ee1a0e4b8c Issue #25767: Merge with 3.4 2015-11-30 22:57:01 -06:00
Zachary Ware 992bfe093e Issue #25767: Link to English Wikipedia instead of French. 2015-11-30 22:56:17 -06:00
Steven D'Aprano c0c00c38ad Fix for issue #25177 with the mean of very small and very large numbers. 2015-12-01 13:48:48 +11:00
Serhiy Storchaka 723e296b3b Removed debugging output of exception raised by __reduce__ method. 2015-12-01 00:40:50 +02:00
Serhiy Storchaka 1f23e238e8 Removed debugging output of exception raised by __reduce__ method. 2015-12-01 00:39:45 +02:00
Serhiy Storchaka a8d83f5fc9 Removed debugging output of exception raised by __reduce__ method. 2015-12-01 00:39:25 +02:00
Serhiy Storchaka fbc3e374a6 Fixed reference leak when read truncated pickle. 2015-12-01 00:20:49 +02:00
Serhiy Storchaka 77a61d292a Fixed reference leak when read truncated pickle. 2015-12-01 00:20:36 +02:00
Serhiy Storchaka ca28eba3d3 Fixed reference leak when read truncated pickle. 2015-12-01 00:18:23 +02:00
Serhiy Storchaka 78122c9c5d Issue #25718: Fixed copying object with state with boolean value is false. 2015-11-30 17:37:13 +02:00
Serhiy Storchaka b63015b01a Issue #25718: Fixed copying object with state with boolean value is false. 2015-11-30 17:35:40 +02:00
Serhiy Storchaka cbbec1c53f Issue #25718: Fixed copying object with state with boolean value is false. 2015-11-30 17:20:02 +02:00
Martin Panter b4ce1fc31b Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failure 2015-11-30 03:18:29 +00:00
Martin Panter afdd51343c Issue #25764: Preserve subprocess fork exception when preexec_fn used
Also fix handling of failure to release the import lock.
2015-11-30 02:21:41 +00:00
Serhiy Storchaka 92d5fbaf8f Issue #25761: Added more test cases for testing unpickling broken data.
Output raised exception at verbose level 2 (-vv).
2015-11-29 13:14:00 +02:00
Serhiy Storchaka 3c49710e9f Issue #25761: Added more test cases for testing unpickling broken data.
Output raised exception at verbose level 2 (-vv).
2015-11-29 13:13:24 +02:00
Serhiy Storchaka 7279befccb Issue #25761: Added more test cases for testing unpickling broken data.
Output raised exception at verbose level 2 (-vv).
2015-11-29 13:12:10 +02:00
Martin Panter 40062a1127 Issue #25754: Allow test_rlcompleter to be run multiple times 2015-11-28 22:38:24 +00:00
R David Murray 4f09806e66 #25485: Add context manager support to Telnet class.
Patch by Stéphane Wirtel.
2015-11-28 12:24:52 -05:00
Serhiy Storchaka 37f5421954 Issue #10131: Fixed deep copying of minidom documents. Based on patch
by Marian Ganisin.
2015-11-26 23:52:34 +02:00
Serhiy Storchaka 15f070f845 Issue #10131: Fixed deep copying of minidom documents. Based on patch
by Marian Ganisin.
2015-11-26 23:50:54 +02:00
Serhiy Storchaka c472246d81 Issue #10131: Fixed deep copying of minidom documents. Based on patch
by Marian Ganisin.
2015-11-26 23:49:42 +02:00
Martin Panter 2ed41f305e Issue #22989, #21228: Merge urlopen() doc from 3.5 2015-11-26 11:04:06 +00:00
Martin Panter 9e87f3d79f Issue #22989, #21228: Merge urlopen() doc from 3.4 into 3.5 2015-11-26 11:03:50 +00:00
Martin Panter 747d48cf27 Issues #22989, #21228: Document HTTP response object for urlopen()
Previous documentation was not clear if the geturl(), info() and getcode()
were valid for HTTP responses. The “msg” attribute is different to the usual
HTTPResponse.msg attribute. Based on patch by Evens Fortuné.
2015-11-26 11:01:58 +00:00
Martin Panter 7a9d325d72 Merge from 3.5; no changes 2015-11-26 10:44:07 +00:00
Martin Panter 077e36af25 Issue #25622: Use repr(bytes) to avoid BytesWarning 2015-11-26 02:36:26 +00:00
Martin Panter 7b2eb81997 Issue #25622: Merge ctypes test from 3.4 into 3.5 2015-11-26 10:26:33 +00:00
Martin Panter 92072ac8b4 Issue #25622: Rename to PythonValuesTestCase and enable for non-Windows 2015-11-26 02:36:26 +00:00
Martin Panter aa785555b1 Issue #25622: Rename to PythonValuesTestCase and enable for non-Windows 2015-11-26 02:36:26 +00:00