]>
granicus.if.org Git - python/log
Serhiy Storchaka [Sun, 11 Oct 2015 14:48:28 +0000 (17:48 +0300)]
No longer skip tests for classes with __getnewargs_ex__. The copy module
already supports reduce protocol 4 (issue #20289).
Serhiy Storchaka [Sun, 11 Oct 2015 14:43:12 +0000 (17:43 +0300)]
Cleanup test_descr: remove C8 that is the same as C3.
Serhiy Storchaka [Sun, 11 Oct 2015 14:42:39 +0000 (17:42 +0300)]
Cleanup test_descr: remove C8 that is the same as C3.
Victor Stinner [Sun, 11 Oct 2015 08:53:15 +0000 (10:53 +0200)]
Close #25367: Fix test_coroutines()
Fix usage of support.import_module('asyncio'): store the result in an 'asyncio'
variable.
Victor Stinner [Sun, 11 Oct 2015 08:39:56 +0000 (10:39 +0200)]
lose #25373: Fix regrtest --slow with interrupted test
Victor Stinner [Sun, 11 Oct 2015 08:10:31 +0000 (10:10 +0200)]
Close #25367: Fix test_coroutines with no thread support
Skip test_asyncio_1() when the asyncio module cannot be imported because
CPython is compiled with no thread support.
Victor Stinner [Sun, 11 Oct 2015 07:54:42 +0000 (09:54 +0200)]
Close #24784: Fix compilation without thread support
Add "#ifdef WITH_THREAD" around cals to:
* PyGILState_Check()
* _PyImport_AcquireLock()
* _PyImport_ReleaseLock()
Benjamin Peterson [Sun, 11 Oct 2015 06:24:39 +0000 (23:24 -0700)]
merge 3.4
Benjamin Peterson [Sun, 11 Oct 2015 06:23:55 +0000 (23:23 -0700)]
don't mention Python 2.2 (closes #25375)
Benjamin Peterson [Sun, 11 Oct 2015 02:36:40 +0000 (19:36 -0700)]
merge 3.4 (#25362)
Benjamin Peterson [Sun, 11 Oct 2015 02:34:46 +0000 (19:34 -0700)]
use the with statement for locking the internal condition (closes #25362)
Patch by Nir Soffer.
Benjamin Peterson [Sun, 11 Oct 2015 02:32:33 +0000 (19:32 -0700)]
merge 3.4 (#25371)
Benjamin Peterson [Sun, 11 Oct 2015 02:32:20 +0000 (19:32 -0700)]
add a missing comma (closes #25371)
Serhiy Storchaka [Sat, 10 Oct 2015 17:27:28 +0000 (20:27 +0300)]
Null merge
Serhiy Storchaka [Sat, 10 Oct 2015 17:26:16 +0000 (20:26 +0300)]
Correct Misc/NEWS.
Serhiy Storchaka [Sat, 10 Oct 2015 17:10:54 +0000 (20:10 +0300)]
Issue #25365: test_pickle now works in threads disabled builds.
Serhiy Storchaka [Sat, 10 Oct 2015 17:10:07 +0000 (20:10 +0300)]
Issue #25365: test_pickle now works in threads disabled builds.
Serhiy Storchaka [Sat, 10 Oct 2015 16:43:32 +0000 (19:43 +0300)]
Issue #25364: zipfile now works in threads disabled builds.
Martin Panter [Sat, 10 Oct 2015 11:05:47 +0000 (11:05 +0000)]
Issue #25322: Merge contextlib.suppress test fix from 3.4 into 3.5
Martin Panter [Sat, 10 Oct 2015 11:04:44 +0000 (11:04 +0000)]
Issue #25322: Fix test for nested contextlib.suppress
Martin Panter [Sat, 10 Oct 2015 10:44:25 +0000 (10:44 +0000)]
Issue #25161: Merge full stops from 3.4 into 3.5
Martin Panter [Sat, 10 Oct 2015 10:36:22 +0000 (10:36 +0000)]
Issue #25161: Add full stops in documentation; patch by Takase Arihiro
Martin Panter [Sat, 10 Oct 2015 10:17:57 +0000 (10:17 +0000)]
Issue #22413: Remove comment made out of date by Argument Clinic
Martin Panter [Sat, 10 Oct 2015 10:15:21 +0000 (10:15 +0000)]
Issue #22413: Merge StringIO doc from 3.4 into 3.5
Martin Panter [Sat, 10 Oct 2015 05:28:17 +0000 (05:28 +0000)]
Issue #24402: Merge potential test fix from 3.4 into 3.5
Martin Panter [Sat, 10 Oct 2015 05:27:15 +0000 (05:27 +0000)]
Issue #24402: Factor out PtyTests.run_child() in input() tests
This reuses existing code to hopefully make the new test_input_no_stdout_
fileno() test work. It is hanging Free BSD 9 and OS X Tiger buildbots, and I
don't know why.
Martin Panter [Sat, 10 Oct 2015 03:01:20 +0000 (03:01 +0000)]
Issue #22413: Document newline effect on StringIO initializer and getvalue
Also add to comment in the C code.
Martin Panter [Sat, 10 Oct 2015 01:55:23 +0000 (01:55 +0000)]
Issue #24402: Merge input() fix from 3.4 into 3.5
Martin Panter [Sat, 10 Oct 2015 01:25:38 +0000 (01:25 +0000)]
Issue #24402: Fix input() when stdout.fileno() fails; diagnosed by Eryksun
Also factored out some test cases into a new PtyTests class.
Vinay Sajip [Fri, 9 Oct 2015 23:53:37 +0000 (00:53 +0100)]
Closes #25344: Merged fix from 3.4.
Vinay Sajip [Fri, 9 Oct 2015 23:52:35 +0000 (00:52 +0100)]
Closes #25344: Added cookbook recipe to show buffering of logging events.
Brett Cannon [Fri, 9 Oct 2015 22:09:43 +0000 (15:09 -0700)]
Issue #25099: Skip relevant tests in test_compileall when an entry on
sys.path has an unwritable __pycache__ directory.
This typically comes up when someone runs the test suite from an
administrative install of Python on Windows where the user does not
have write permissions to the stdlib's directory.
Thanks to Zachary Ware and Matthias Klose for reporting bugs related
to this issue.
(grafted from
34bbd537b3e688dfbb6498e9083445a6a72fc4b1 )
Brett Cannon [Fri, 9 Oct 2015 22:09:43 +0000 (15:09 -0700)]
Issue #25099: Skip relevant tests in test_compileall when an entry on
sys.path has an unwritable __pycache__ directory.
This typically comes up when someone runs the test suite from an
administrative install of Python on Windows where the user does not
have write permissions to the stdlib's directory.
Thanks to Zachary Ware and Matthias Klose for reporting bugs related
to this issue.
R David Murray [Fri, 9 Oct 2015 14:19:33 +0000 (10:19 -0400)]
#25328: add missing raise keyword in decode_data+SMTPUTF8 check.
This is a relatively benign bug, since having both be true was correctly
rejected at in SMTPServer even before this patch.
Patch by Xiang Zhang.
Steve Dower [Thu, 8 Oct 2015 16:55:49 +0000 (09:55 -0700)]
Issue #25089: Adds logging to installer for case where launcher is not selected on upgrade.
Steve Dower [Thu, 8 Oct 2015 16:06:17 +0000 (09:06 -0700)]
Removes deprecated -n option from buildbot script.
Steve Dower [Thu, 8 Oct 2015 15:56:06 +0000 (08:56 -0700)]
Issue #23919: Prevents assert dialogs appearing in the test suite.
Berker Peksag [Thu, 8 Oct 2015 03:34:31 +0000 (06:34 +0300)]
Issue #16802: Document fileno parameter of socket.socket()
Patch by Henrik Heimbuerger and Bar Harel.
Berker Peksag [Thu, 8 Oct 2015 03:34:01 +0000 (06:34 +0300)]
Issue #16802: Document fileno parameter of socket.socket()
Patch by Henrik Heimbuerger and Bar Harel.
Martin Panter [Wed, 7 Oct 2015 11:03:53 +0000 (11:03 +0000)]
More typos in 3.5 documentation and comments
Martin Panter [Wed, 7 Oct 2015 11:01:47 +0000 (11:01 +0000)]
Merge typo fixes from 3.4 into 3.5
Martin Panter [Wed, 7 Oct 2015 10:26:23 +0000 (10:26 +0000)]
Various minor typos in documentation and comments
Martin Panter [Wed, 7 Oct 2015 10:03:20 +0000 (10:03 +0000)]
Issue #25286: Update dictionary view link; patch by Akira Li
Martin Panter [Wed, 7 Oct 2015 10:01:04 +0000 (10:01 +0000)]
Issue #25286: Merge dictionary view glossary from 3.4 into 3.5
Martin Panter [Wed, 7 Oct 2015 09:56:46 +0000 (09:56 +0000)]
Issue #25286: Dictionary views are not sequences
Also change glossary heading from view
Raymond Hettinger [Wed, 7 Oct 2015 03:06:17 +0000 (23:06 -0400)]
Backport early-out
91259f061cfb to reduce the cost of
bb1a2944bcb6
Benjamin Peterson [Wed, 7 Oct 2015 02:42:02 +0000 (19:42 -0700)]
merge 3.4 (#24806)
Benjamin Peterson [Wed, 7 Oct 2015 02:36:54 +0000 (19:36 -0700)]
prevent unacceptable bases from becoming bases through multiple inheritance (#24806)
Zachary Ware [Tue, 6 Oct 2015 20:28:56 +0000 (15:28 -0500)]
Issue #25097: Merge with 3.4
Zachary Ware [Tue, 6 Oct 2015 20:28:43 +0000 (15:28 -0500)]
Issue #25097: Re-raise any other pywin32 error
Zachary Ware [Tue, 6 Oct 2015 20:22:41 +0000 (15:22 -0500)]
Issue #25097: Merge with 3.4
Zachary Ware [Tue, 6 Oct 2015 20:22:13 +0000 (15:22 -0500)]
Issue #25097: fix Windows error number access
Serhiy Storchaka [Tue, 6 Oct 2015 15:47:26 +0000 (18:47 +0300)]
Null merge
Serhiy Storchaka [Tue, 6 Oct 2015 15:39:58 +0000 (18:39 +0300)]
Merge heads
Serhiy Storchaka [Tue, 6 Oct 2015 15:38:25 +0000 (18:38 +0300)]
Merge heads
Guido van Rossum [Tue, 6 Oct 2015 15:24:44 +0000 (08:24 -0700)]
Issue #23972: Fix tests for Windows and Debian. (Merge 3.4->3.5)
Guido van Rossum [Tue, 6 Oct 2015 15:24:10 +0000 (08:24 -0700)]
Issue #23972: Fix tests for Windows and Debian.
Serhiy Storchaka [Tue, 6 Oct 2015 15:23:12 +0000 (18:23 +0300)]
Issue #25317: Converted doctests in test_tokenize to unittests.
Made test_tokenize discoverable.
Serhiy Storchaka [Tue, 6 Oct 2015 15:16:28 +0000 (18:16 +0300)]
Issue #25317: Converted doctests in test_tokenize to unittests.
Made test_tokenize discoverable.
Benjamin Peterson [Tue, 6 Oct 2015 05:00:33 +0000 (22:00 -0700)]
merge 3.4 (#25319)
Benjamin Peterson [Tue, 6 Oct 2015 04:56:22 +0000 (21:56 -0700)]
reinitialize an Event's Condition with a regular lock (closes #25319)
Guido van Rossum [Mon, 5 Oct 2015 23:23:13 +0000 (16:23 -0700)]
Docs and one small improvement for issue #25304, by Vincent Michel. (Merge 3.4->3.5.)
Guido van Rossum [Mon, 5 Oct 2015 23:20:00 +0000 (16:20 -0700)]
Docs and one small improvement for issue #25304, by Vincent Michel.
Steve Dower [Mon, 5 Oct 2015 17:35:00 +0000 (10:35 -0700)]
Issue #25316: distutils raises OSError instead of DistutilsPlatformError when MSVC is not installed.
Guido van Rossum [Mon, 5 Oct 2015 16:19:11 +0000 (09:19 -0700)]
Issue #23972: updates to asyncio datagram API. By Chris Laws. (Merge 3.4->3.5.)
Guido van Rossum [Mon, 5 Oct 2015 16:15:28 +0000 (09:15 -0700)]
Issue #23972: updates to asyncio datagram API. By Chris Laws.
Terry Jan Reedy [Sun, 4 Oct 2015 05:17:13 +0000 (01:17 -0400)]
Issue #24820: Update IDLE NEWS items.
Terry Jan Reedy [Sun, 4 Oct 2015 05:14:51 +0000 (01:14 -0400)]
Issue #24820: Update IDLE NEWS items.
Terry Jan Reedy [Sun, 4 Oct 2015 04:31:23 +0000 (00:31 -0400)]
Merge with 3.4
Terry Jan Reedy [Sun, 4 Oct 2015 04:31:05 +0000 (00:31 -0400)]
Issue #24820: Add 'IDLE Dark' text color theme, warning, and solution.
Terry Jan Reedy [Sun, 4 Oct 2015 03:01:46 +0000 (23:01 -0400)]
Issue #24791: Escape rst markup char in NEWS entry to avoid Sphinx warning.
Guido van Rossum [Sat, 3 Oct 2015 15:34:34 +0000 (08:34 -0700)]
Issue #25304: Add asyncio.run_coroutine_threadsafe(). By Vincent Michel. (Merge 3.4->3.5.)
Guido van Rossum [Sat, 3 Oct 2015 15:31:42 +0000 (08:31 -0700)]
Issue #25304: Add asyncio.run_coroutine_threadsafe(). By Vincent Michel.
Martin Panter [Sat, 3 Oct 2015 07:53:49 +0000 (07:53 +0000)]
Issue #16701: Merge sequence docs from 3.4 into 3.5
Martin Panter [Sat, 3 Oct 2015 07:46:04 +0000 (07:46 +0000)]
Issue #16701: Document += and *= for mutable sequences
Martin Panter [Sat, 3 Oct 2015 06:07:22 +0000 (06:07 +0000)]
Issues #25232, #24657: Use new enum status to match rest of tests
Martin Panter [Sat, 3 Oct 2015 06:03:25 +0000 (06:03 +0000)]
Issues #25232, #24657: Merge two CGI server fixes from 3.4 into 3.5
Martin Panter [Sat, 3 Oct 2015 05:55:46 +0000 (05:55 +0000)]
Issue #24657: Prevent CGIRequestHandler from collapsing the URL query
Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc
string.
Martin Panter [Sat, 3 Oct 2015 05:38:07 +0000 (05:38 +0000)]
Issue #25232: Fix CGIRequestHandler's splitting of URL query
Patch from Xiang Zhang.
Terry Jan Reedy [Sat, 3 Oct 2015 03:25:14 +0000 (23:25 -0400)]
Merge with 3.4
Terry Jan Reedy [Sat, 3 Oct 2015 03:22:59 +0000 (23:22 -0400)]
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'.
Terry Jan Reedy [Sat, 3 Oct 2015 02:12:39 +0000 (22:12 -0400)]
Merge with 3.4
Terry Jan Reedy [Sat, 3 Oct 2015 02:12:17 +0000 (22:12 -0400)]
Issue #24820: Users can now set breakpoint colors in Settings ->
Custom Highlighting. Original patch by Mark Roseman.
Brett Cannon [Fri, 2 Oct 2015 23:16:44 +0000 (16:16 -0700)]
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.
Berker Peksag [Fri, 2 Oct 2015 20:28:45 +0000 (23:28 +0300)]
Tweak susp-ignored.csv to make buildbots happy
Yury Selivanov [Fri, 2 Oct 2015 19:05:59 +0000 (15:05 -0400)]
asyncio: Make ensure_future() accept all kinds of awaitables.
Yury Selivanov [Fri, 2 Oct 2015 19:00:19 +0000 (15:00 -0400)]
asyncio: ensure_future() now understands awaitables
Berker Peksag [Fri, 2 Oct 2015 16:25:53 +0000 (19:25 +0300)]
Issue #25290: Fix typo in csv.reader() docstring
Patch by Johannes Niediek.
Berker Peksag [Fri, 2 Oct 2015 16:25:32 +0000 (19:25 +0300)]
Issue #25290: Fix typo in csv.reader() docstring
Patch by Johannes Niediek.
Serhiy Storchaka [Fri, 2 Oct 2015 10:13:14 +0000 (13:13 +0300)]
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).
Serhiy Storchaka [Fri, 2 Oct 2015 10:07:28 +0000 (13:07 +0300)]
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.
Serhiy Storchaka [Fri, 2 Oct 2015 09:47:11 +0000 (12:47 +0300)]
Issue #24483: C implementation of functools.lru_cache() now calculates key's
hash only once.
Steve Dower [Thu, 1 Oct 2015 22:19:39 +0000 (15:19 -0700)]
Issue #25165: Windows uninstallation should not remove launcher if other versions remain
Steve Dower [Thu, 1 Oct 2015 22:18:53 +0000 (15:18 -0700)]
Improves support for building unofficial versions of the Windows installer.
Vinay Sajip [Thu, 1 Oct 2015 19:38:53 +0000 (20:38 +0100)]
Fixes #25097: Merged fi from 3.4.
Vinay Sajip [Thu, 1 Oct 2015 19:37:54 +0000 (20:37 +0100)]
Fixes #25097: Windows test is skipped if there are insufficient privileges, rather than failing.
Vinay Sajip [Thu, 1 Oct 2015 10:27:57 +0000 (11:27 +0100)]
Closes #25185: merged fix from 3.4.
Vinay Sajip [Thu, 1 Oct 2015 10:27:00 +0000 (11:27 +0100)]
Closes #25185: Use UTF-8 encoding when reading pyvenv.cfg.
Serhiy Storchaka [Thu, 1 Oct 2015 08:40:22 +0000 (11:40 +0300)]
Issue #25280: Import trace messages emitted in verbose (-v) mode are no
longer formatted twice.
Serhiy Storchaka [Thu, 1 Oct 2015 08:08:50 +0000 (11:08 +0300)]
Issue #25280: Import trace messages emitted in verbose (-v) mode are no
longer formatted twice.