]> granicus.if.org Git - python/log
python
10 years agoMerge 3.4 (open doc)
Victor Stinner [Wed, 22 Oct 2014 07:57:30 +0000 (09:57 +0200)]
Merge 3.4 (open doc)

10 years agoIssue #22695: Fix syntax of open() doc
Victor Stinner [Wed, 22 Oct 2014 07:55:44 +0000 (09:55 +0200)]
Issue #22695: Fix syntax of open() doc

10 years agoIssue22506: remove name & value from __dir__ as they now show up automatically
Ethan Furman [Tue, 21 Oct 2014 20:40:35 +0000 (13:40 -0700)]
Issue22506: remove name & value from __dir__ as they now show up automatically

10 years agoIssue #22637: avoid using a shell in uuid
Victor Stinner [Tue, 21 Oct 2014 20:33:10 +0000 (22:33 +0200)]
Issue #22637: avoid using a shell in uuid

Replace os.popen() with subprocess.Popen() in the uuid module.

10 years agoIssue #22660: update various mentions in the ssl module documentation.
Antoine Pitrou [Mon, 20 Oct 2014 22:16:00 +0000 (00:16 +0200)]
Issue #22660: update various mentions in the ssl module documentation.

10 years agoIssue #22660: update various mentions in the ssl module documentation.
Antoine Pitrou [Mon, 20 Oct 2014 22:14:39 +0000 (00:14 +0200)]
Issue #22660: update various mentions in the ssl module documentation.

10 years agoMERGE: Docs: 'os.pwrite()' needs bytes, not strings
Jesus Cea [Mon, 20 Oct 2014 14:19:33 +0000 (16:19 +0200)]
MERGE: Docs: 'os.pwrite()' needs bytes, not strings

10 years agoDocs: 'os.pwrite()' needs bytes, not strings
Jesus Cea [Mon, 20 Oct 2014 14:18:24 +0000 (16:18 +0200)]
Docs: 'os.pwrite()' needs bytes, not strings

10 years agomerge with 3.4
Georg Brandl [Mon, 20 Oct 2014 06:36:09 +0000 (08:36 +0200)]
merge with 3.4

10 years agoCloses #22675: fix typo.
Georg Brandl [Mon, 20 Oct 2014 06:36:02 +0000 (08:36 +0200)]
Closes #22675: fix typo.

10 years agoClose #19746: expose unittest discovery errors on TestLoader.errors
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.

10 years agoIssue #22186: Fix typos in Lib/.
Berker Peksag [Sun, 19 Oct 2014 15:07:05 +0000 (18:07 +0300)]
Issue #22186: Fix typos in Lib/.

Patch by Févry Thibault.

10 years agoIssue #22186: Fix typos in Lib/.
Berker Peksag [Sun, 19 Oct 2014 15:04:38 +0000 (18:04 +0300)]
Issue #22186: Fix typos in Lib/.

Patch by Févry Thibault.

10 years agomerge 3.4
Benjamin Peterson [Sun, 19 Oct 2014 14:48:06 +0000 (10:48 -0400)]
merge 3.4

10 years agomerge 3.3
Benjamin Peterson [Sun, 19 Oct 2014 14:47:58 +0000 (10:47 -0400)]
merge 3.3

10 years agomake plural s lowercase
Benjamin Peterson [Sun, 19 Oct 2014 14:47:49 +0000 (10:47 -0400)]
make plural s lowercase

10 years agomerge with 3.4
Georg Brandl [Sun, 19 Oct 2014 09:55:15 +0000 (11:55 +0200)]
merge with 3.4

10 years agoCloses #22663: patchcheck: only modify text files under Doc/
Georg Brandl [Sun, 19 Oct 2014 09:54:08 +0000 (11:54 +0200)]
Closes #22663: patchcheck: only modify text files under Doc/

10 years agoIssue20689: add missing API pieces to __all__
Ethan Furman [Sat, 18 Oct 2014 22:11:03 +0000 (15:11 -0700)]
Issue20689: add missing API pieces to __all__

10 years agoIssue20689: 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__

10 years agoMerge with 3.4
Terry Jan Reedy [Sat, 18 Oct 2014 21:10:32 +0000 (17:10 -0400)]
Merge with 3.4

10 years agoIssue #20155: Fix non-buildbot test failure on Windows. Patch by Claudiu Popa,
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.

10 years agoIssue7186: document that __doc__ is not inherited by subclasses
Ethan Furman [Sat, 18 Oct 2014 05:25:47 +0000 (22:25 -0700)]
Issue7186: document that __doc__ is not inherited by subclasses

10 years agoIssue7186: 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

10 years agoIssue #17401: document closefd in io.FileIO docs and add to repr
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.

10 years agoMerge: #18853: Fix resource warning in shlex's __main__ section.
R David Murray [Sat, 18 Oct 2014 00:30:16 +0000 (20:30 -0400)]
Merge: #18853: Fix resource warning in shlex's __main__ section.

10 years ago#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.

10 years agoMerge: #9351: set_defaults on subparser is no longer ignored if set on parent.
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.

10 years ago#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.

10 years agoMerge: #21991: make headerregistry params property MappingProxyType.
R David Murray [Fri, 17 Oct 2014 23:32:08 +0000 (19:32 -0400)]
Merge: #21991: make headerregistry params property MappingProxyType.

10 years ago#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.

10 years agoTurn externals cleaning back off
Zachary Ware [Fri, 17 Oct 2014 22:40:04 +0000 (17:40 -0500)]
Turn externals cleaning back off

10 years agoIssue #22653: Fix an assertion failure in debug mode when doing a reentrant dict...
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.

10 years agoIssue #22653: Fix an assertion failure in debug mode when doing a reentrant dict...
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.

10 years agoIssue #22644: Update the Windows build to OpenSSL 1.0.1j
Zachary Ware [Fri, 17 Oct 2014 21:31:57 +0000 (16:31 -0500)]
Issue #22644: Update the Windows build to OpenSSL 1.0.1j

10 years agoIssue #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

10 years agoMerge with 3.4
Zachary Ware [Fri, 17 Oct 2014 19:24:43 +0000 (14:24 -0500)]
Merge with 3.4

10 years agoFix test_ctypes failure on OpenIndiana buildbot where _ctypes is not built
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

10 years agoIssue #16000: Convert test_curses to use unittest
Zachary Ware [Fri, 17 Oct 2014 19:10:51 +0000 (14:10 -0500)]
Issue #16000: Convert test_curses to use unittest

10 years agoIssue #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

10 years agoIssue #22638: SSLv3 is now disabled throughout the standard library.
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.

10 years agoCloses #22646: Accept list as well as tuple to support initialisation via dictConfig().
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().

10 years agoIssue #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().

10 years agoMerge with 3.4: Issue #22629
Terry Jan Reedy [Fri, 17 Oct 2014 05:32:20 +0000 (01:32 -0400)]
Merge with 3.4: Issue #22629

10 years agoIssue #22629: Revise idle_test.htest, mostly docstring. Start revision of
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.

10 years agoMerge with 3.4 Issue #22628
Terry Jan Reedy [Fri, 17 Oct 2014 03:13:21 +0000 (23:13 -0400)]
Merge with 3.4 Issue #22628

10 years agoIssue #22628: Increase Treewidge line spacing so lines do not overlap.
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.

10 years agomerge 3.4
Benjamin Peterson [Thu, 16 Oct 2014 03:58:37 +0000 (23:58 -0400)]
merge 3.4

10 years agoMerge 3.3
Benjamin Peterson [Thu, 16 Oct 2014 03:58:32 +0000 (23:58 -0400)]
Merge 3.3

10 years agoMerge with 3.4 Issue#16233
Terry Jan Reedy [Thu, 16 Oct 2014 02:01:58 +0000 (22:01 -0400)]
Merge with 3.4 Issue#16233

10 years agoIssue #16233: When the module browser is not invoked in an editor window with
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.

10 years agoFixed signed/unsigned comparison warning
Antoine Pitrou [Wed, 15 Oct 2014 21:14:53 +0000 (23:14 +0200)]
Fixed signed/unsigned comparison warning

10 years agoFixed signed/unsigned comparison warning
Antoine Pitrou [Wed, 15 Oct 2014 21:14:53 +0000 (23:14 +0200)]
Fixed signed/unsigned comparison warning

10 years agoMerge heads
Benjamin Peterson [Wed, 15 Oct 2014 17:40:53 +0000 (13:40 -0400)]
Merge heads

10 years agomerge 3.4
Benjamin Peterson [Wed, 15 Oct 2014 17:40:46 +0000 (13:40 -0400)]
merge 3.4

10 years agomerge heads
Benjamin Peterson [Wed, 15 Oct 2014 17:40:34 +0000 (13:40 -0400)]
merge heads

10 years agomerge 3.4 (#22643)
Benjamin Peterson [Wed, 15 Oct 2014 17:40:15 +0000 (13:40 -0400)]
merge 3.4 (#22643)

10 years agomerge 3.3 (#22643)
Benjamin Peterson [Wed, 15 Oct 2014 17:40:01 +0000 (13:40 -0400)]
merge 3.3 (#22643)

10 years agotest is cpython only
Benjamin Peterson [Wed, 15 Oct 2014 17:39:46 +0000 (13:39 -0400)]
test is cpython only

10 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Wed, 15 Oct 2014 16:49:32 +0000 (18:49 +0200)]
Merge 3.4 (asyncio doc)

10 years agoasyncio doc: write simpler examples to introduce asyncio
Victor Stinner [Wed, 15 Oct 2014 16:49:16 +0000 (18:49 +0200)]
asyncio doc: write simpler examples to introduce asyncio

10 years agomerge 3.4 (closes #22643)
Benjamin Peterson [Wed, 15 Oct 2014 16:17:47 +0000 (12:17 -0400)]
merge 3.4 (closes #22643)

10 years agomerge 3.3
Benjamin Peterson [Wed, 15 Oct 2014 16:17:33 +0000 (12:17 -0400)]
merge 3.3

10 years agoit suffices to check for PY_SSIZE_T_MAX overflow (#22643)
Benjamin Peterson [Wed, 15 Oct 2014 16:17:21 +0000 (12:17 -0400)]
it suffices to check for PY_SSIZE_T_MAX overflow (#22643)

10 years agoMerge 3.4
Benjamin Peterson [Wed, 15 Oct 2014 15:51:17 +0000 (11:51 -0400)]
Merge 3.4

10 years agoMerge 3.3
Benjamin Peterson [Wed, 15 Oct 2014 15:51:12 +0000 (11:51 -0400)]
Merge 3.3

10 years agomake sure length is unsigned
Benjamin Peterson [Wed, 15 Oct 2014 15:51:05 +0000 (11:51 -0400)]
make sure length is unsigned

10 years agomerge 3.4 (#22643)
Benjamin Peterson [Wed, 15 Oct 2014 15:49:15 +0000 (11:49 -0400)]
merge 3.4 (#22643)

10 years agomerge 3.3 (#22643)
Benjamin Peterson [Wed, 15 Oct 2014 15:48:41 +0000 (11:48 -0400)]
merge 3.3 (#22643)

10 years agofix integer overflow in unicode case operations (closes #22643)
Benjamin Peterson [Wed, 15 Oct 2014 15:47:36 +0000 (11:47 -0400)]
fix integer overflow in unicode case operations (closes #22643)

10 years agoIssue #22641: In asyncio, the default SSL context for client connections is now creat...
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.

10 years agoIssue #22641: In asyncio, the default SSL context for client connections is now creat...
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.

10 years agoIssue #21338: Add silent mode for compileall.
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.

10 years agoIssue20386: SocketType is again socket.socket; the IntEnum SOCK constants are SocketKind
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

10 years agoIssue20386: 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

10 years agoMerge with 3.4 #3068
Terry Jan Reedy [Tue, 14 Oct 2014 22:55:49 +0000 (18:55 -0400)]
Merge with 3.4 #3068

10 years agoIssue #3068: Change 0/1 to False/True so that extension configure dialog can
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.

10 years agoIssue #20152: Convert the cmath module to Argument Clinic.
Brett Cannon [Tue, 14 Oct 2014 21:37:02 +0000 (17:37 -0400)]
Issue #20152: Convert the cmath module to Argument Clinic.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Tue, 14 Oct 2014 21:03:13 +0000 (23:03 +0200)]
Merge 3.4 (asyncio)

10 years agoMerge with 3.4
Terry Jan Reedy [Tue, 14 Oct 2014 20:56:57 +0000 (16:56 -0400)]
Merge with 3.4

10 years agoIssue #22632: replace dead link with version-specific doc link.
Terry Jan Reedy [Tue, 14 Oct 2014 20:56:42 +0000 (16:56 -0400)]
Issue #22632: replace dead link with version-specific doc link.

10 years agoIssue #18643: asyncio.windows_utils now reuse socket.socketpair() on Windows if
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.

10 years agoIssue #18643: Add socket.socketpair() on Windows.
Charles-François Natali [Tue, 14 Oct 2014 20:22:44 +0000 (21:22 +0100)]
Issue #18643: Add socket.socketpair() on Windows.

10 years agoIssue22506: merge from 3.4
Ethan Furman [Tue, 14 Oct 2014 15:59:14 +0000 (08:59 -0700)]
Issue22506: merge from 3.4

10 years agoIssue22506: added methods on base Enum class now show up in dir of Enum subclass...
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)

10 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Mon, 13 Oct 2014 22:53:13 +0000 (00:53 +0200)]
Merge 3.4 (asyncio doc)

10 years agoasyncio doc: rewrite subprocess 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

10 years agoasyncio doc: protocol_factory of subprocess_exec() and subprocess_shell() must
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

10 years agoasyncio doc: document BaseSubprocessTransport.close() method
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.

10 years agomerge 3.4
Benjamin Peterson [Mon, 13 Oct 2014 20:34:06 +0000 (16:34 -0400)]
merge 3.4

10 years agoUse https:// URLs for the bug tracker in the :issue: role.
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

10 years agoUse https:// URLs for the bug tracker in the :issue: role.
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

10 years agoissue22626: 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

10 years agoissue22626: 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

10 years agomerge 3.4
Benjamin Peterson [Mon, 13 Oct 2014 19:51:21 +0000 (15:51 -0400)]
merge 3.4

10 years agomerge heads
Benjamin Peterson [Mon, 13 Oct 2014 19:50:50 +0000 (15:50 -0400)]
merge heads

10 years agomerge heads
Benjamin Peterson [Mon, 13 Oct 2014 19:50:37 +0000 (15:50 -0400)]
merge heads

10 years agoMerge.
Charles-François Natali [Mon, 13 Oct 2014 18:32:38 +0000 (19:32 +0100)]
Merge.

10 years agoIssue #22435: Fix a file descriptor leak when SocketServer bind fails.
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.

10 years agoWhitespace
Antoine Pitrou [Mon, 13 Oct 2014 18:21:12 +0000 (20:21 +0200)]
Whitespace