Commit graph

86649 commits

Author SHA1 Message Date
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
Victor Stinner
cfbea3a02e asyncio doc: clarify how servers create protocol instances 2014-10-12 11:30:17 +02:00
Victor Stinner
c7edffdddd asyncio doc: add UDP client and server examples 2014-10-12 11:24:26 +02:00
Victor Stinner
c2721b41d3 asyncio doc: use server.wait_closed() in TCP echo server example 2014-10-12 11:13:40 +02:00
Victor Stinner
0e34dc3737 asyncio: enhance protocol representation
Add "closed" or "closing" to repr() of selector and proactor transports
2014-10-12 09:52:11 +02:00
Georg Brandl
fa62f4cedd merge 3.3 into 3.4 2014-10-12 09:30:46 +02:00
Georg Brandl
e1a7d9dbf5 Closes #22568: fix UTIME_TO_* macros in posixmodule for rare cases. 2014-10-12 08:45:15 +02:00
Terry Jan Reedy
6b04dc9bcc Issue #14105: Change comment to reflect fix. Patch by Saimadhav Heblikar. 2014-10-12 01:11:05 -04:00
Berker Peksag
edd6ec2dd3 Issue #22613: Fix reprlib.Repr subclass example on Python 3.
Reported by Jacques Ducasse.
2014-10-12 05:11:16 +03:00
Nick Coghlan
36d8ef9cc7 Issue #21061: correctly note redirect_stdout is reentrant 2014-10-12 10:25:00 +10:00
Victor Stinner
ccd8e34508 asyncio doc: socket.socketpair() is not available on Windows yet 2014-10-11 16:30:02 +02:00
Victor Stinner
04e6df330d asyncio doc: add examples showing the 3 ways to wait for data from an open
socket
2014-10-11 16:16:27 +02:00
Victor Stinner
6888b96cee asyncio doc: cleanup Hello World examples 2014-10-11 16:15:58 +02:00
Victor Stinner
5121a9ba4a asyncio doc: the "Get HTTP headers" example now supports HTTPS 2014-10-11 15:52:14 +02:00
Georg Brandl
4cc0551773 merge 2014-10-11 15:08:18 +02:00
Georg Brandl
dbf8344404 Closes #18959: move optparse and imp to new "superseded modules" chapter 2014-10-11 14:47:11 +02:00
Georg Brandl
e8ea355b72 Closes #21687: delimiter in Py_SetPath is platform dependent 2014-10-11 14:36:02 +02:00
Georg Brandl
c5dd095a9b Closes #21675: fix ordering of description in library intro 2014-10-11 14:32:34 +02:00
Victor Stinner
c8bd53f815 Issue #22601: run_forever() now consumes BaseException of the temporary task
If the coroutine raised a BaseException, consume the exception to not log a
warning. The caller doesn't have access to the local task.
2014-10-11 14:30:18 +02:00
Benjamin Peterson
682124ccc3 prevent passing NULL to memcpy (closes #22605)
Patch by Jakub Wilk.
2014-10-10 20:58:30 -04:00
Terry Jan Reedy
ad0c57fed8 Issue #21986: Idle now matches interpreter in not pickling user code objects.
Patch by Claudiu Popa
2014-10-10 19:33:45 -04:00
Antoine Pitrou
9086f9260f Issue #22604: Fix assertion error in debug mode when dividing a complex number by (nan+0j). 2014-10-10 23:49:32 +02:00
Zachary Ware
a13dab47cb Issue #15414: Clean and correct the os.path.join docs.
In particular, correctly describe the behavior of ntpath.join.

Based on a patch by Dave Sawyer.
2014-10-10 16:03:14 -05:00
Terry Jan Reedy
64138c438c Issue 22603: add Francisco Fernández Castaño to ACKS. 2014-10-10 16:53:41 -04:00
Terry Jan Reedy
f9bd920cfa Issue 22603: add missing 'self'. Patch by Francisco Fernández Castaño. 2014-10-10 16:00:18 -04:00
Petri Lehtinen
3894b2a24f Issue #11694: Raise ConversionError in xdrlib as documented 2014-10-10 21:21:52 +03:00
Victor Stinner
866c4e2188 test_venv: use support.rmtree() instead of shutil.rmtree() to fix sporadic
failures on Windows
2014-10-10 14:23:00 +02:00
Berker Peksag
b77983d2bd Issue #21456: Skip two tests in test_urllib2net.py if _ssl module not present.
Patch by Remi Pointel.
2014-10-10 14:34:16 +03:00
Victor Stinner
cfb2a0a855 Issue #22564: ssl doc: mention asyncio in the non-blocking section 2014-10-10 12:45:10 +02:00
Victor Stinner
d28fe8c8f4 Issue #22564: ssl doc: mention how SSLSocket are usually created 2014-10-10 12:07:19 +02:00
Victor Stinner
3c3d3c73f3 Issue #22564: ssl doc: use "class" marker to document the SSLSocket class 2014-10-10 12:06:51 +02:00
Victor Stinner
41f92c2818 Issue #22564: ssl doc: document read(), write(), pending, server_side and
server_hostname methods and attributes of SSLSocket.
2014-10-10 12:05:56 +02:00
Victor Stinner
851a6cc071 Issue #22564: ssl doc: fix typos 2014-10-10 12:04:15 +02:00
Terry Jan Reedy
4fe69ba01c Issue #20167: revise condition to accomodate message change. 2014-10-09 23:13:36 -04:00
R David Murray
5f16f90d1b #18176: Change generic UCD PropList link to version specific link. 2014-10-09 20:45:59 -04:00