Commit graph

86633 commits

Author SHA1 Message Date
Benjamin Peterson
0fc08fd2c7 merge 3.3 2014-10-19 10:47:58 -04:00
Georg Brandl
24f0717b82 Closes #22663: patchcheck: only modify text files under Doc/ 2014-10-19 11:54:08 +02:00
Ethan Furman
8e120ac05c Issue20689: add missing API pieces to __all__ 2014-10-18 15:10:49 -07:00
Terry Jan Reedy
dd09efdd53 Issue #20155: Fix non-buildbot test failure on Windows. Patch by Claudiu Popa,
revised by R. David Murray.
2014-10-18 17:10:09 -04:00
Ethan Furman
f87f515057 Issue7186: document that __doc__ is not inherited by subclasses 2014-10-17 22:25:22 -07:00
R David Murray
838f2c437d #18853: Fix resource warning in shlex's __main__ section.
Report and original fix by Vajrasky Kok.
2014-10-17 20:28:47 -04:00
R David Murray
7570cbdc6b #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.
2014-10-17 19:55:11 -04:00
R David Murray
685b3495e1 #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.
2014-10-17 19:30:13 -04:00
Antoine Pitrou
d696732025 Issue #22653: Fix an assertion failure in debug mode when doing a reentrant dict insertion in debug mode. 2014-10-18 00:35:00 +02:00
Zachary Ware
baa6d3a01f Issue #22644: Update the Windows build to OpenSSL 1.0.1j 2014-10-17 16:26:30 -05:00
Zachary Ware
be16d68071 Fix test_ctypes failure on OpenIndiana buildbot where _ctypes is not built 2014-10-17 14:24:14 -05:00
Zachary Ware
baf45c590c Issue #16000: Convert test_curses to use unittest 2014-10-17 13:59:18 -05:00
Vinay Sajip
16c41ab460 Issue #22646: Accept list as well as tuple to support initialisation via dictConfig(). 2014-10-17 08:49:38 +01:00
Terry Jan Reedy
cd567365c9 Issue #22629: Revise idle_test.htest, mostly docstring. Start revision of
htests to add # htest # marker for coveragepy and stop tcl errors.
2014-10-17 01:31:35 -04:00
Terry Jan Reedy
9a6f8e1866 Issue #22628: Increase Treewidge line spacing so lines do not overlap.
Move test lines up with respect to icons.
2014-10-16 23:12:48 -04:00
Benjamin Peterson
fa5021699a Merge 3.3 2014-10-15 23:58:32 -04:00
Terry Jan Reedy
380ec63f23 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.
2014-10-15 22:01:31 -04:00
Benjamin Peterson
c966103be6 merge heads 2014-10-15 13:40:34 -04:00
Benjamin Peterson
3f9f612b7d merge 3.3 (#22643) 2014-10-15 13:40:01 -04:00
Victor Stinner
7f314ed71b asyncio doc: write simpler examples to introduce asyncio 2014-10-15 18:49:16 +02:00
Benjamin Peterson
9c422f3c3d merge 3.3 2014-10-15 12:17:33 -04:00
Benjamin Peterson
60d7a73194 Merge 3.3 2014-10-15 11:51:12 -04:00
Benjamin Peterson
1cbb3fe775 merge 3.3 (#22643) 2014-10-15 11:48:41 -04:00
Antoine Pitrou
fd39a89e0e Issue #22641: In asyncio, the default SSL context for client connections is now created using ssl.create_default_context(), for stronger security. 2014-10-15 16:58:21 +02:00
Ethan Furman
7184bac544 Issue20386: SocketType is again socket.socket; the IntEnum SOCK constants are SocketKind 2014-10-14 18:56:53 -07:00
Terry Jan Reedy
00bdce3e10 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.
2014-10-14 18:55:20 -04:00
Victor Stinner
f67f460242 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.
2014-10-14 22:56:25 +02:00
Terry Jan Reedy
ee3e56105f Issue #22632: replace dead link with version-specific doc link. 2014-10-14 16:56:42 -04:00
Ethan Furman
0ae550bdde Issue22506: added methods on base Enum class now show up in dir of Enum subclass (3.4) 2014-10-14 08:58:32 -07:00
Victor Stinner
39892055cd 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
2014-10-14 00:52:07 +02:00
Victor Stinner
3c95062f52 asyncio doc: protocol_factory of subprocess_exec() and subprocess_shell() must
instanciate a subclass of SubprocessProtocol
2014-10-14 00:02:10 +02:00
Victor Stinner
4270a24dd9 asyncio doc: document BaseSubprocessTransport.close() method
Modify also the get_pipe_transport() doc to mention explicitly the supported
file descriptors.
2014-10-13 23:56:43 +02:00
Alex Gaynor
e6f8c5025a Use https:// URLs for the bug tracker in the :issue: role.
Thanks to Ezio for noticing this
2014-10-13 12:58:03 -07:00
Alex Gaynor
53dfcd86e9 issue22626: Use https:// for a link to the bug tracker 2014-10-13 12:55:21 -07:00
Benjamin Peterson
4fd55ca525 merge heads 2014-10-13 15:50:37 -04:00
Charles-François Natali
0f4f048fa5 Issue #22435: Fix a file descriptor leak when SocketServer bind fails. 2014-10-13 19:19:26 +01:00
Benjamin Peterson
157da6fdd2 merge 3.3 2014-10-13 11:55:02 -04:00
Terry Jan Reedy
efc7258377 Issue #22614: Don't try to update deleted text. Patch by Serhiy Storchaka. 2014-10-12 22:58:47 -04:00
Victor Stinner
ed8e3a987e asyncio: add missing @coroutine decorator 2014-10-13 00:55:50 +02:00
Victor Stinner
ab1c853079 asyncio doc: update debug traces 2014-10-12 21:37:16 +02:00
Victor Stinner
980dd84f92 asyncio doc: more explicit doc for async()
The function schedules the execution of coroutines, it's not just a wrapper for
something.
2014-10-12 21:36:17 +02:00
Victor Stinner
33f6abe4ae asyncio doc: reformat create_server() doc
Fix also the reate_unix_connection() doc: the method is not support on Windows,
not need to mention that ssl is not support with ProactorEventLoop.
2014-10-12 20:36:04 +02:00
Victor Stinner
ed051594d7 asyncio doc: add TCP echo client/server using streams 2014-10-12 20:18:16 +02:00
R David Murray
7567865867 #20815: small readability improvements in ipaddress tests.
Patch by Michel Albert.  We don't normally do patches that just tweak
whitespace, but ipaddress is relatively new and the package maintainers
approved the patch.
2014-10-12 15:17:22 -04:00
R David Murray
817905b239 #13096: Fix segfault in CTypes POINTER handling of large values.
Patch by Meador Inge.
2014-10-12 13:54:48 -04:00
Serhiy Storchaka
4cfb5bee89 Always handle non-handled events before destoying root widget in tests.
This gets rid of  Tcl warnings when they are handled later when the root is
already destroyed.
2014-10-12 20:35:30 +03:00
R David Murray
2ac7a89843 #17325: Improve distutils PyPI documentation.
Patch by Chris Jerdonek.
2014-10-12 13:14:12 -04:00
R David Murray
90f7afda61 #11973: add test for previously fixed kevent signed/unsigned bug.
Patch by David Naylor.
2014-10-12 12:39:46 -04:00
Georg Brandl
62b08136d7 Closes #22586: clarify meaning of allow_fragments in urlparse. 2014-10-12 16:13:32 +02:00
Victor Stinner
5366434336 asyncio doc: enhance TCP client example 2014-10-12 11:35:09 +02:00