]>
granicus.if.org Git - python/log
Georg Brandl [Mon, 20 Oct 2014 06:36:09 +0000 (08:36 +0200)]
merge with 3.4
Georg Brandl [Mon, 20 Oct 2014 06:36:02 +0000 (08:36 +0200)]
Closes #22675: fix typo.
Robert Collins [Mon, 20 Oct 2014 00:24:05 +0000 (13:24 +1300)]
Close #19746: expose unittest discovery errors on TestLoader.errors
This makes it possible to examine the errors from unittest discovery
without executing the test suite - important when the test suite may
be very large, or when enumerating the test ids from a test suite.
Berker Peksag [Sun, 19 Oct 2014 15:07:05 +0000 (18:07 +0300)]
Issue #22186: Fix typos in Lib/.
Patch by Févry Thibault.
Berker Peksag [Sun, 19 Oct 2014 15:04:38 +0000 (18:04 +0300)]
Issue #22186: Fix typos in Lib/.
Patch by Févry Thibault.
Benjamin Peterson [Sun, 19 Oct 2014 14:48:06 +0000 (10:48 -0400)]
merge 3.4
Benjamin Peterson [Sun, 19 Oct 2014 14:47:58 +0000 (10:47 -0400)]
merge 3.3
Benjamin Peterson [Sun, 19 Oct 2014 14:47:49 +0000 (10:47 -0400)]
make plural s lowercase
Georg Brandl [Sun, 19 Oct 2014 09:55:15 +0000 (11:55 +0200)]
merge with 3.4
Georg Brandl [Sun, 19 Oct 2014 09:54:08 +0000 (11:54 +0200)]
Closes #22663: patchcheck: only modify text files under Doc/
Ethan Furman [Sat, 18 Oct 2014 22:11:03 +0000 (15:11 -0700)]
Issue20689: add missing API pieces to __all__
Ethan Furman [Sat, 18 Oct 2014 22:10:49 +0000 (15:10 -0700)]
Issue20689: add missing API pieces to __all__
Terry Jan Reedy [Sat, 18 Oct 2014 21:10:32 +0000 (17:10 -0400)]
Merge with 3.4
Terry Jan Reedy [Sat, 18 Oct 2014 21:10:09 +0000 (17:10 -0400)]
Issue #20155: Fix non-buildbot test failure on Windows. Patch by Claudiu Popa,
revised by R. David Murray.
Ethan Furman [Sat, 18 Oct 2014 05:25:47 +0000 (22:25 -0700)]
Issue7186: document that __doc__ is not inherited by subclasses
Ethan Furman [Sat, 18 Oct 2014 05:25:22 +0000 (22:25 -0700)]
Issue7186: document that __doc__ is not inherited by subclasses
Robert Collins [Sat, 18 Oct 2014 00:32:43 +0000 (13:32 +1300)]
Issue #17401: document closefd in io.FileIO docs and add to repr
closefd was documented in the open docs but not the matching FileIO
class documented. Further, closefd, part of the core state for the
object was not shown.
In review it was noted that the open docs are a little confusing about
the interaction between closefd and paths, so tweaked them at the same
time.
R David Murray [Sat, 18 Oct 2014 00:30:16 +0000 (20:30 -0400)]
Merge: #18853: Fix resource warning in shlex's __main__ section.
R David Murray [Sat, 18 Oct 2014 00:28:47 +0000 (20:28 -0400)]
#18853: Fix resource warning in shlex's __main__ section.
Report and original fix by Vajrasky Kok.
R David Murray [Fri, 17 Oct 2014 23:58:03 +0000 (19:58 -0400)]
Merge: #9351: set_defaults on subparser is no longer ignored if set on parent.
R David Murray [Fri, 17 Oct 2014 23:55:11 +0000 (19:55 -0400)]
#9351: set_defaults on subparser is no longer ignored if set on parent.
Before, if a default was set on the parent parser, any default for that
variable set via set_defaults on a subparser would be ignored. Now
the subparser set_defaults is honored.
Patch by Jyrki Pullianinen.
R David Murray [Fri, 17 Oct 2014 23:32:08 +0000 (19:32 -0400)]
Merge: #21991: make headerregistry params property MappingProxyType.
R David Murray [Fri, 17 Oct 2014 23:30:13 +0000 (19:30 -0400)]
#21991: make headerregistry params property MappingProxyType.
It is unlikely anyone is using the fact that the dictionary returned
by the 'params' attribute was previously writable, but even if someone
is the API is provisional so this kind of change is acceptable (and
needed, to get the API "right" before it becomes official).
Patch by Stéphane Wirtel.
Zachary Ware [Fri, 17 Oct 2014 22:40:04 +0000 (17:40 -0500)]
Turn externals cleaning back off
Antoine Pitrou [Fri, 17 Oct 2014 22:35:44 +0000 (00:35 +0200)]
Issue #22653: Fix an assertion failure in debug mode when doing a reentrant dict insertion in debug mode.
Antoine Pitrou [Fri, 17 Oct 2014 22:35:00 +0000 (00:35 +0200)]
Issue #22653: Fix an assertion failure in debug mode when doing a reentrant dict insertion in debug mode.
Zachary Ware [Fri, 17 Oct 2014 21:31:57 +0000 (16:31 -0500)]
Issue #22644: Update the Windows build to OpenSSL 1.0.1j
Zachary Ware [Fri, 17 Oct 2014 21:26:30 +0000 (16:26 -0500)]
Issue #22644: Update the Windows build to OpenSSL 1.0.1j
Zachary Ware [Fri, 17 Oct 2014 19:24:43 +0000 (14:24 -0500)]
Merge with 3.4
Zachary Ware [Fri, 17 Oct 2014 19:24:14 +0000 (14:24 -0500)]
Fix test_ctypes failure on OpenIndiana buildbot where _ctypes is not built
Zachary Ware [Fri, 17 Oct 2014 19:10:51 +0000 (14:10 -0500)]
Issue #16000: Convert test_curses to use unittest
Zachary Ware [Fri, 17 Oct 2014 18:59:18 +0000 (13:59 -0500)]
Issue #16000: Convert test_curses to use unittest
Antoine Pitrou [Fri, 17 Oct 2014 17:28:30 +0000 (19:28 +0200)]
Issue #22638: SSLv3 is now disabled throughout the standard library.
It can still be enabled by instantiating a SSLContext manually.
Vinay Sajip [Fri, 17 Oct 2014 07:52:20 +0000 (08:52 +0100)]
Closes #22646: Accept list as well as tuple to support initialisation via dictConfig().
Vinay Sajip [Fri, 17 Oct 2014 07:49:38 +0000 (08:49 +0100)]
Issue #22646: Accept list as well as tuple to support initialisation via dictConfig().
Terry Jan Reedy [Fri, 17 Oct 2014 05:32:20 +0000 (01:32 -0400)]
Merge with 3.4: Issue #22629
Terry Jan Reedy [Fri, 17 Oct 2014 05:31:35 +0000 (01:31 -0400)]
Issue #22629: Revise idle_test.htest, mostly docstring. Start revision of
htests to add # htest # marker for coveragepy and stop tcl errors.
Terry Jan Reedy [Fri, 17 Oct 2014 03:13:21 +0000 (23:13 -0400)]
Merge with 3.4 Issue #22628
Terry Jan Reedy [Fri, 17 Oct 2014 03:12:48 +0000 (23:12 -0400)]
Issue #22628: Increase Treewidge line spacing so lines do not overlap.
Move test lines up with respect to icons.
Benjamin Peterson [Thu, 16 Oct 2014 03:58:37 +0000 (23:58 -0400)]
merge 3.4
Benjamin Peterson [Thu, 16 Oct 2014 03:58:32 +0000 (23:58 -0400)]
Merge 3.3
Terry Jan Reedy [Thu, 16 Oct 2014 02:01:58 +0000 (22:01 -0400)]
Merge with 3.4 Issue#16233
Terry Jan Reedy [Thu, 16 Oct 2014 02:01:31 +0000 (22:01 -0400)]
Issue #16233: When the module browser is not invoked in an editor window with
a filename, pop up the Open Module box. If a module is opened, open a
corresponding browser.
Antoine Pitrou [Wed, 15 Oct 2014 21:14:53 +0000 (23:14 +0200)]
Fixed signed/unsigned comparison warning
Antoine Pitrou [Wed, 15 Oct 2014 21:14:53 +0000 (23:14 +0200)]
Fixed signed/unsigned comparison warning
Benjamin Peterson [Wed, 15 Oct 2014 17:40:53 +0000 (13:40 -0400)]
Merge heads
Benjamin Peterson [Wed, 15 Oct 2014 17:40:46 +0000 (13:40 -0400)]
merge 3.4
Benjamin Peterson [Wed, 15 Oct 2014 17:40:34 +0000 (13:40 -0400)]
merge heads
Benjamin Peterson [Wed, 15 Oct 2014 17:40:15 +0000 (13:40 -0400)]
merge 3.4 (#22643)
Benjamin Peterson [Wed, 15 Oct 2014 17:40:01 +0000 (13:40 -0400)]
merge 3.3 (#22643)
Benjamin Peterson [Wed, 15 Oct 2014 17:39:46 +0000 (13:39 -0400)]
test is cpython only
Victor Stinner [Wed, 15 Oct 2014 16:49:32 +0000 (18:49 +0200)]
Merge 3.4 (asyncio doc)
Victor Stinner [Wed, 15 Oct 2014 16:49:16 +0000 (18:49 +0200)]
asyncio doc: write simpler examples to introduce asyncio
Benjamin Peterson [Wed, 15 Oct 2014 16:17:47 +0000 (12:17 -0400)]
merge 3.4 (closes #22643)
Benjamin Peterson [Wed, 15 Oct 2014 16:17:33 +0000 (12:17 -0400)]
merge 3.3
Benjamin Peterson [Wed, 15 Oct 2014 16:17:21 +0000 (12:17 -0400)]
it suffices to check for PY_SSIZE_T_MAX overflow (#22643)
Benjamin Peterson [Wed, 15 Oct 2014 15:51:17 +0000 (11:51 -0400)]
Merge 3.4
Benjamin Peterson [Wed, 15 Oct 2014 15:51:12 +0000 (11:51 -0400)]
Merge 3.3
Benjamin Peterson [Wed, 15 Oct 2014 15:51:05 +0000 (11:51 -0400)]
make sure length is unsigned
Benjamin Peterson [Wed, 15 Oct 2014 15:49:15 +0000 (11:49 -0400)]
merge 3.4 (#22643)
Benjamin Peterson [Wed, 15 Oct 2014 15:48:41 +0000 (11:48 -0400)]
merge 3.3 (#22643)
Benjamin Peterson [Wed, 15 Oct 2014 15:47:36 +0000 (11:47 -0400)]
fix integer overflow in unicode case operations (closes #22643)
Antoine Pitrou [Wed, 15 Oct 2014 14:59:58 +0000 (16:59 +0200)]
Issue #22641: In asyncio, the default SSL context for client connections is now created using ssl.create_default_context(), for stronger security.
Antoine Pitrou [Wed, 15 Oct 2014 14:58:21 +0000 (16:58 +0200)]
Issue #22641: In asyncio, the default SSL context for client connections is now created using ssl.create_default_context(), for stronger security.
Berker Peksag [Wed, 15 Oct 2014 08:10:57 +0000 (11:10 +0300)]
Issue #21338: Add silent mode for compileall.
quiet parameters of compile_{dir, file, path} functions now have
a multilevel value.
Also, -q option of the CLI now have a multilevel value.
Patch by Thomas Kluyver.
Ethan Furman [Wed, 15 Oct 2014 01:57:58 +0000 (18:57 -0700)]
Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants are SocketKind
Ethan Furman [Wed, 15 Oct 2014 01:56:53 +0000 (18:56 -0700)]
Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants are SocketKind
Terry Jan Reedy [Tue, 14 Oct 2014 22:55:49 +0000 (18:55 -0400)]
Merge with 3.4 #3068
Terry Jan Reedy [Tue, 14 Oct 2014 22:55:20 +0000 (18:55 -0400)]
Issue #3068: Change 0/1 to False/True so that extension configure dialog can
easily recognize and display boolean values as such and recognize changes.
Also reformat comments and alphabetize extensions included with Idle.
Brett Cannon [Tue, 14 Oct 2014 21:37:02 +0000 (17:37 -0400)]
Issue #20152: Convert the cmath module to Argument Clinic.
Victor Stinner [Tue, 14 Oct 2014 21:03:13 +0000 (23:03 +0200)]
Merge 3.4 (asyncio)
Terry Jan Reedy [Tue, 14 Oct 2014 20:56:57 +0000 (16:56 -0400)]
Merge with 3.4
Terry Jan Reedy [Tue, 14 Oct 2014 20:56:42 +0000 (16:56 -0400)]
Issue #22632: replace dead link with version-specific doc link.
Victor Stinner [Tue, 14 Oct 2014 20:56:25 +0000 (22:56 +0200)]
Issue #18643: asyncio.windows_utils now reuse socket.socketpair() on Windows if
available
Since Python 3.5, socket.socketpair() is now also available on Windows.
Make csock blocking before calling the accept() method, and fix also a typo in
an error message.
Charles-François Natali [Tue, 14 Oct 2014 20:22:44 +0000 (21:22 +0100)]
Issue #18643: Add socket.socketpair() on Windows.
Ethan Furman [Tue, 14 Oct 2014 15:59:14 +0000 (08:59 -0700)]
Issue22506: merge from 3.4
Ethan Furman [Tue, 14 Oct 2014 15:58:32 +0000 (08:58 -0700)]
Issue22506: added methods on base Enum class now show up in dir of Enum subclass (3.4)
Victor Stinner [Mon, 13 Oct 2014 22:53:13 +0000 (00:53 +0200)]
Merge 3.4 (asyncio doc)
Victor Stinner [Mon, 13 Oct 2014 22:52:07 +0000 (00:52 +0200)]
asyncio doc: rewrite subprocess doc
* add a new example using transport and protocol
* rewrite the example using streams to make it much simpler (remove error
handling, use a simpler Python code)
* copy (and adapt) more documentation from the subprocess module:
- add a note about Process.wait() deadlock
- add a note about shell injection
- etc.
* sort Process methods and attributes in the same order than subprocess.Popen
methods and attributes, so the documentation looks closer
* list differences between Process and subprocess.Popen APIs
Victor Stinner [Mon, 13 Oct 2014 22:02:10 +0000 (00:02 +0200)]
asyncio doc: protocol_factory of subprocess_exec() and subprocess_shell() must
instanciate a subclass of SubprocessProtocol
Victor Stinner [Mon, 13 Oct 2014 21:56:43 +0000 (23:56 +0200)]
asyncio doc: document BaseSubprocessTransport.close() method
Modify also the get_pipe_transport() doc to mention explicitly the supported
file descriptors.
Benjamin Peterson [Mon, 13 Oct 2014 20:34:06 +0000 (16:34 -0400)]
merge 3.4
Alex Gaynor [Mon, 13 Oct 2014 19:58:03 +0000 (12:58 -0700)]
Use https:// URLs for the bug tracker in the :issue: role.
Thanks to Ezio for noticing this
Alex Gaynor [Mon, 13 Oct 2014 19:58:03 +0000 (12:58 -0700)]
Use https:// URLs for the bug tracker in the :issue: role.
Thanks to Ezio for noticing this
Alex Gaynor [Mon, 13 Oct 2014 19:55:21 +0000 (12:55 -0700)]
issue22626: Use https:// for a link to the bug tracker
Alex Gaynor [Mon, 13 Oct 2014 19:55:21 +0000 (12:55 -0700)]
issue22626: Use https:// for a link to the bug tracker
Benjamin Peterson [Mon, 13 Oct 2014 19:51:21 +0000 (15:51 -0400)]
merge 3.4
Benjamin Peterson [Mon, 13 Oct 2014 19:50:50 +0000 (15:50 -0400)]
merge heads
Benjamin Peterson [Mon, 13 Oct 2014 19:50:37 +0000 (15:50 -0400)]
merge heads
Charles-François Natali [Mon, 13 Oct 2014 18:32:38 +0000 (19:32 +0100)]
Merge.
Charles-François Natali [Mon, 13 Oct 2014 18:28:50 +0000 (19:28 +0100)]
Issue #22435: Fix a file descriptor leak when SocketServer bind fails.
Antoine Pitrou [Mon, 13 Oct 2014 18:21:12 +0000 (20:21 +0200)]
Whitespace
Antoine Pitrou [Mon, 13 Oct 2014 18:19:45 +0000 (20:19 +0200)]
Issue #17636: Circular imports involving relative imports are now supported.
Charles-François Natali [Mon, 13 Oct 2014 18:19:26 +0000 (19:19 +0100)]
Issue #22435: Fix a file descriptor leak when SocketServer bind fails.
Benjamin Peterson [Mon, 13 Oct 2014 15:55:11 +0000 (11:55 -0400)]
merge 3.4
Benjamin Peterson [Mon, 13 Oct 2014 15:55:02 +0000 (11:55 -0400)]
merge 3.3
Benjamin Peterson [Mon, 13 Oct 2014 15:54:50 +0000 (11:54 -0400)]
note xmlrpclib doesn't verify certs (yet)
Larry Hastings [Mon, 13 Oct 2014 09:39:41 +0000 (10:39 +0100)]
Issue #22615: Argument Clinic now supports the "type" argument for the
int converter. This permits using the int converter with enums and
typedefs.
Zachary Ware [Mon, 13 Oct 2014 05:17:23 +0000 (00:17 -0500)]
Issue #21907: Partially revert changes to Windows buildbot scripts.
Trying to use run_tests.py for testing is more trouble than it's
worth; reverted to rt.bat. Also cleaned up rt.bat a bit.
Trying to use hg purge to clean up after testing is also
error-prone, so we're back to using the build solution's Clean
targets.
Terry Jan Reedy [Mon, 13 Oct 2014 02:59:18 +0000 (22:59 -0400)]
Merge with 3.4 #22614