Commit Graph

91579 Commits

Author SHA1 Message Date
Victor Stinner 1d65d9192d Issue #25301: The UTF-8 decoder is now up to 15 times as fast for error
handlers: ``ignore``, ``replace`` and ``surrogateescape``.
2015-10-05 13:43:50 +02:00
Terry Jan Reedy 7dbe6dd963 merge 3.5 2015-10-04 01:19:36 -04:00
Terry Jan Reedy e25511a566 Issue #24820: Update IDLE NEWS items. 2015-10-04 01:17:13 -04:00
Terry Jan Reedy d17e9785de Issue #24820: Update IDLE NEWS items. 2015-10-04 01:14:51 -04:00
Terry Jan Reedy 04cbe08be4 Merge with 3.5 2015-10-04 00:31:36 -04:00
Terry Jan Reedy cd49a7de4a Merge with 3.4 2015-10-04 00:31:23 -04:00
Terry Jan Reedy be5b7a2437 Issue #24820: Add 'IDLE Dark' text color theme, warning, and solution. 2015-10-04 00:31:05 -04:00
Terry Jan Reedy f8c32da0ad Issue #9232: Escape rst markup char in NEWS entry to avoid Sphinx warning. 2015-10-03 23:03:15 -04:00
Terry Jan Reedy 67618272ae Issue #24791: Escape rst markup char in NEWS entry to avoid Sphinx warning. 2015-10-03 23:01:46 -04:00
Victor Stinner 20d2118248 Issue #25306: Try to fix test_huntrleaks_fd_leak() on Windows
Issue #25306: Disable popup and logs to stderr on assertion failures in MSCRT.
2015-10-03 21:40:21 +02:00
Victor Stinner 33c30131db Issue #25306: Skip test_huntrleaks_fd_leak() of test_regrtest until the bug is
fixed.
2015-10-03 21:20:41 +02:00
Guido van Rossum 5dad1ff8f8 Issue #25304: Add asyncio.run_coroutine_threadsafe(). By Vincent Michel. (Merge 3.5->3.6.) 2015-10-03 08:35:28 -07:00
Guido van Rossum 0d9bef927b Issue #25304: Add asyncio.run_coroutine_threadsafe(). By Vincent Michel. (Merge 3.4->3.5.) 2015-10-03 08:34:34 -07:00
Guido van Rossum 841d9ee41a Issue #25304: Add asyncio.run_coroutine_threadsafe(). By Vincent Michel. 2015-10-03 08:31:42 -07:00
Martin Panter 9846187bec Issue #16701: Merge sequence docs from 3.5 2015-10-03 07:54:08 +00:00
Martin Panter 2b8cbf04df Issue #16701: Merge sequence docs from 3.4 into 3.5 2015-10-03 07:53:49 +00:00
Martin Panter 3795d12a0d Issue #16701: Document += and *= for mutable sequences 2015-10-03 07:46:04 +00:00
Martin Panter 909a950ffc Issues #25232, #24657: Add NEWS to 3.6.0a1 section 2015-10-03 06:25:43 +00:00
Martin Panter 5e84d037bb Issues #25232, #24657: Merge two CGI server fixes from 3.5 2015-10-03 06:43:19 +00:00
Raymond Hettinger fd265f4a18 Factor out common iterator finalization code 2015-10-02 23:17:33 -07:00
Martin Panter eb1fee9353 Issues #25232, #24657: Use new enum status to match rest of tests 2015-10-03 06:07:22 +00:00
Martin Panter 56b76d25dd Issues #25232, #24657: Merge two CGI server fixes from 3.4 into 3.5 2015-10-03 06:03:25 +00:00
Martin Panter cb29e8c0e5 Issue #24657: Prevent CGIRequestHandler from collapsing the URL query
Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc
string.
2015-10-03 05:55:46 +00:00
Martin Panter a02e18a43f Issue #25232: Fix CGIRequestHandler's splitting of URL query
Patch from Xiang Zhang.
2015-10-03 05:38:07 +00:00
Terry Jan Reedy bfc01028bb Merge with 3.5 2015-10-02 23:25:54 -04:00
Terry Jan Reedy 103d06c81e Merge with 3.4 2015-10-02 23:25:14 -04:00
Terry Jan Reedy d470527aec Issue #25224: README.txt is now an idlelib index for IDLE developers and
curious users.  The previous user content is now in the IDLE doc and is
redundant.  IDLE now means 'Integrated Development and Learning Environment'.
2015-10-02 23:22:59 -04:00
Terry Jan Reedy 2547d071fc Merge with 3.5 2015-10-02 22:12:57 -04:00
Terry Jan Reedy 4401760a6c Merge with 3.4 2015-10-02 22:12:39 -04:00
Terry Jan Reedy a8aa4d5fb7 Issue #24820: Users can now set breakpoint colors in Settings ->
Custom Highlighting. Original patch by Mark Roseman.
2015-10-02 22:12:17 -04:00
Victor Stinner 46d75353c5 Issue #18174: Fix test_regrtest when Python is compiled in release mode 2015-10-03 02:21:35 +02:00
Victor Stinner eb36fdaad8 Fix _PyUnicodeWriter_PrepareKind()
Initialize kind to 0 (PyUnicode_WCHAR_KIND) to ensure that
_PyUnicodeWriter_PrepareKind() handles correctly read-only buffer: copy the
buffer.
2015-10-03 01:55:51 +02:00
Brett Cannon 11faa21843 Merge from 3.5 for issue #25188. 2015-10-02 16:20:49 -07:00
Brett Cannon be7c1638e2 Issue #25188: Add a -P/--pgo flag to regrtest to silence error output.
Since PGO building doesn't care about test failures, silence them when
running the test suite for performance reasons. Initial patch by
Alecsandru Patrascu of Intel.
2015-10-02 16:16:44 -07:00
Victor Stinner 5f9d3acc5e Issue #22806: Add ``python -m test --list-tests`` command to list tests. 2015-10-03 00:21:12 +02:00
Victor Stinner 076fc872bc Issue #18174: "python -m test --huntrleaks ..." now also checks for leak of
file descriptors. Patch written by Richard Oudkerk.
2015-10-03 00:20:56 +02:00
Victor Stinner 6661d885a3 Issue #25287: Don't add crypt.METHOD_CRYPT to crypt.methods if it's not
supported. Check if it is supported, it may not be supported on OpenBSD for
example.
2015-10-02 23:00:39 +02:00
Berker Peksag 4b5d8018df Merge from 3.5
Hg: --
2015-10-02 23:29:13 +03:00
Berker Peksag 8214a7c38f Tweak susp-ignored.csv to make buildbots happy 2015-10-02 23:28:45 +03:00
Yury Selivanov d763909885 asyncio: Make ensure_future() accept all kinds of awaitables. (Merge 3.5) 2015-10-02 15:09:51 -04:00
Yury Selivanov 43d71e2512 asyncio: Make ensure_future() accept all kinds of awaitables. 2015-10-02 15:05:59 -04:00
Yury Selivanov 620279b9ac asyncio: ensure_future() now understands awaitables 2015-10-02 15:00:19 -04:00
Berker Peksag 6585501113 Issue #25290: Fix typo in csv.reader() docstring
Patch by Johannes Niediek.
2015-10-02 19:26:14 +03:00
Berker Peksag 987f215141 Issue #25290: Fix typo in csv.reader() docstring
Patch by Johannes Niediek.
2015-10-02 19:25:53 +03:00
Berker Peksag e2382c598c Issue #25290: Fix typo in csv.reader() docstring
Patch by Johannes Niediek.
2015-10-02 19:25:32 +03:00
Serhiy Storchaka 29e68edbf4 Issue #24848: Fixed bugs in UTF-7 decoding of misformed data:
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
3. In some circumstances the '\xfd' character was produced instead of the
replacement character '\ufffd' (due to a bug in _PyUnicodeWriter).
2015-10-02 13:14:03 +03:00
Serhiy Storchaka 58c8f2bb6d Issue #24848: Fixed bugs in UTF-7 decoding of misformed data:
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
3. In some circumstances the '\xfd' character was produced instead of the
replacement character '\ufffd' (due to a bug in _PyUnicodeWriter).
2015-10-02 13:13:14 +03:00
Serhiy Storchaka 28b21e50c8 Issue #24848: Fixed bugs in UTF-7 decoding of misformed data:
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
2015-10-02 13:07:28 +03:00
Serhiy Storchaka 5dbe245ef2 Issue #24483: C implementation of functools.lru_cache() now calculates key's
hash only once.
2015-10-02 12:47:59 +03:00
Serhiy Storchaka b9d98d532c Issue #24483: C implementation of functools.lru_cache() now calculates key's
hash only once.
2015-10-02 12:47:11 +03:00