]> granicus.if.org Git - python/log
python
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

10 years agoIssue #17636: Circular imports involving relative imports are now supported.
Antoine Pitrou [Mon, 13 Oct 2014 18:19:45 +0000 (20:19 +0200)]
Issue #17636: Circular imports involving relative imports are now supported.

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

10 years agoIssue #22615: Argument Clinic now supports the "type" argument for the
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.

10 years agoIssue #21907: Partially revert changes to Windows buildbot scripts.
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.

10 years agoMerge with 3.4 #22614
Terry Jan Reedy [Mon, 13 Oct 2014 02:59:18 +0000 (22:59 -0400)]
Merge with 3.4 #22614

10 years agoIssue #22614: Don't try to update deleted text. Patch by Serhiy Storchaka.
Terry Jan Reedy [Mon, 13 Oct 2014 02:58:47 +0000 (22:58 -0400)]
Issue #22614: Don't try to update deleted text.  Patch by Serhiy Storchaka.

10 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Sun, 12 Oct 2014 22:56:02 +0000 (00:56 +0200)]
Merge 3.4 (asyncio doc)

10 years agoasyncio: add missing @coroutine decorator
Victor Stinner [Sun, 12 Oct 2014 22:55:50 +0000 (00:55 +0200)]
asyncio: add missing @coroutine decorator

10 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Sun, 12 Oct 2014 22:10:02 +0000 (00:10 +0200)]
Merge 3.4 (asyncio doc)

10 years agoasyncio doc: update debug traces
Victor Stinner [Sun, 12 Oct 2014 19:37:16 +0000 (21:37 +0200)]
asyncio doc: update debug traces

10 years agoasyncio doc: more explicit doc for async()
Victor Stinner [Sun, 12 Oct 2014 19:36:17 +0000 (21:36 +0200)]
asyncio doc: more explicit doc for async()

The function schedules the execution of coroutines, it's not just a wrapper for
something.

10 years ago#20815: small readability improvements in ipaddress tests.
R David Murray [Sun, 12 Oct 2014 19:17:44 +0000 (15:17 -0400)]
#20815: small readability improvements in ipaddress tests.

10 years ago#20815: small readability improvements in ipaddress tests.
R David Murray [Sun, 12 Oct 2014 19:17:22 +0000 (15:17 -0400)]
#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.

10 years agoasyncio doc: reformat create_server() doc
Victor Stinner [Sun, 12 Oct 2014 18:36:04 +0000 (20:36 +0200)]
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.

10 years agoasyncio doc: add TCP echo client/server using streams
Victor Stinner [Sun, 12 Oct 2014 18:18:16 +0000 (20:18 +0200)]
asyncio doc: add TCP echo client/server using streams

10 years agoMerge: #13096: Fix segfault in CTypes POINTER handling of large values.
R David Murray [Sun, 12 Oct 2014 17:56:37 +0000 (13:56 -0400)]
Merge: #13096: Fix segfault in CTypes POINTER handling of large values.

10 years ago#13096: Fix segfault in CTypes POINTER handling of large values.
R David Murray [Sun, 12 Oct 2014 17:54:48 +0000 (13:54 -0400)]
#13096: Fix segfault in CTypes POINTER handling of large values.

Patch by Meador Inge.

10 years agoAlways handle non-handled events before destoying root widget in tests.
Serhiy Storchaka [Sun, 12 Oct 2014 17:36:03 +0000 (20:36 +0300)]
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.

10 years agoAlways handle non-handled events before destoying root widget in tests.
Serhiy Storchaka [Sun, 12 Oct 2014 17:35:30 +0000 (20:35 +0300)]
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.

10 years agoMerge: #17325: Improve distutils PyPI documentation.
R David Murray [Sun, 12 Oct 2014 17:14:50 +0000 (13:14 -0400)]
Merge: #17325: Improve distutils PyPI documentation.

10 years ago#17325: Improve distutils PyPI documentation.
R David Murray [Sun, 12 Oct 2014 17:14:12 +0000 (13:14 -0400)]
#17325: Improve distutils PyPI documentation.

Patch by Chris Jerdonek.

10 years agoMerge: #11973: add test for previously fixed kevent signed/unsigned bug.
R David Murray [Sun, 12 Oct 2014 16:42:01 +0000 (12:42 -0400)]
Merge: #11973: add test for previously fixed kevent signed/unsigned bug.

10 years ago#11973: add test for previously fixed kevent signed/unsigned bug.
R David Murray [Sun, 12 Oct 2014 16:39:46 +0000 (12:39 -0400)]
#11973: add test for previously fixed kevent signed/unsigned bug.

Patch by David Naylor.

10 years agomerge with 3.4
Georg Brandl [Sun, 12 Oct 2014 14:13:38 +0000 (16:13 +0200)]
merge with 3.4

10 years agoCloses #22586: clarify meaning of allow_fragments in urlparse.
Georg Brandl [Sun, 12 Oct 2014 14:13:32 +0000 (16:13 +0200)]
Closes #22586: clarify meaning of allow_fragments in urlparse.

10 years agoIssue #19232: Fix sys.modules lookup (--without-threads)
Stefan Krah [Sun, 12 Oct 2014 11:29:15 +0000 (13:29 +0200)]
Issue #19232: Fix sys.modules lookup (--without-threads)

10 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Sun, 12 Oct 2014 09:35:22 +0000 (11:35 +0200)]
Merge 3.4 (asyncio doc)

10 years agoasyncio doc: enhance TCP client example
Victor Stinner [Sun, 12 Oct 2014 09:35:09 +0000 (11:35 +0200)]
asyncio doc: enhance TCP client example

10 years agoasyncio doc: clarify how servers create protocol instances
Victor Stinner [Sun, 12 Oct 2014 09:30:17 +0000 (11:30 +0200)]
asyncio doc: clarify how servers create protocol instances

10 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Sun, 12 Oct 2014 09:25:10 +0000 (11:25 +0200)]
Merge 3.4 (asyncio doc)

10 years agoasyncio doc: add UDP client and server examples
Victor Stinner [Sun, 12 Oct 2014 09:24:26 +0000 (11:24 +0200)]
asyncio doc: add UDP client and server examples

10 years agoasyncio doc: use server.wait_closed() in TCP echo server example
Victor Stinner [Sun, 12 Oct 2014 09:13:40 +0000 (11:13 +0200)]
asyncio doc: use server.wait_closed() in TCP echo server example

10 years ago(Merge 3.4) asyncio: enhance protocol representation
Victor Stinner [Sun, 12 Oct 2014 07:53:12 +0000 (09:53 +0200)]
(Merge 3.4) asyncio: enhance protocol representation

Add "closed" or "closing" to repr() of selector and proactor transports

10 years agoasyncio: enhance protocol representation
Victor Stinner [Sun, 12 Oct 2014 07:52:11 +0000 (09:52 +0200)]
asyncio: enhance protocol representation

Add "closed" or "closing" to repr() of selector and proactor transports

10 years agomerge 3.4 into default
Georg Brandl [Sun, 12 Oct 2014 07:31:03 +0000 (09:31 +0200)]
merge 3.4 into default

10 years agomerge 3.3 into 3.4
Georg Brandl [Sun, 12 Oct 2014 07:30:46 +0000 (09:30 +0200)]
merge 3.3 into 3.4

10 years agoMerge 3.2 into 3.3.
Georg Brandl [Sun, 12 Oct 2014 07:29:19 +0000 (09:29 +0200)]
Merge 3.2 into 3.3.

10 years agoAdded tag v3.3.6 for changeset 971fec30da1f
Georg Brandl [Sun, 12 Oct 2014 07:03:47 +0000 (09:03 +0200)]
Added tag v3.3.6 for changeset 971fec30da1f

10 years agoBump to 3.3.6 v3.3.6
Georg Brandl [Sun, 12 Oct 2014 07:03:40 +0000 (09:03 +0200)]
Bump to 3.3.6

10 years agoAdded tag v3.2.6 for changeset 0bd5f4f14de9
Georg Brandl [Sun, 12 Oct 2014 06:51:30 +0000 (08:51 +0200)]
Added tag v3.2.6 for changeset 0bd5f4f14de9

10 years agoBump to 3.2.6 v3.2.6
Georg Brandl [Sun, 12 Oct 2014 06:50:38 +0000 (08:50 +0200)]
Bump to 3.2.6

10 years ago#16040: fix unlimited read from connection in nntplib.
Georg Brandl [Sun, 12 Oct 2014 06:50:11 +0000 (08:50 +0200)]
#16040: fix unlimited read from connection in nntplib.

10 years ago#22568: merge with 3.4
Georg Brandl [Sun, 12 Oct 2014 06:45:26 +0000 (08:45 +0200)]
#22568: merge with 3.4

10 years agoCloses #22568: fix UTIME_TO_* macros in posixmodule for rare cases.
Georg Brandl [Sun, 12 Oct 2014 06:45:15 +0000 (08:45 +0200)]
Closes #22568: fix UTIME_TO_* macros in posixmodule for rare cases.

10 years agoIssue #14105: Merge with 3.4
Terry Jan Reedy [Sun, 12 Oct 2014 05:11:44 +0000 (01:11 -0400)]
Issue #14105: Merge with 3.4

10 years agoIssue #14105: Change comment to reflect fix. Patch by Saimadhav Heblikar.
Terry Jan Reedy [Sun, 12 Oct 2014 05:11:05 +0000 (01:11 -0400)]
Issue #14105: Change comment to reflect fix.  Patch by Saimadhav Heblikar.

10 years agoREADME: 3.5 release schedule PEP is PEP 478.
Berker Peksag [Sun, 12 Oct 2014 03:59:14 +0000 (06:59 +0300)]
README: 3.5 release schedule PEP is PEP 478.

10 years agoIssue #22613: Fix reprlib.Repr subclass example on Python 3.
Berker Peksag [Sun, 12 Oct 2014 02:11:40 +0000 (05:11 +0300)]
Issue #22613: Fix reprlib.Repr subclass example on Python 3.

Reported by Jacques Ducasse.

10 years agoIssue #22613: Fix reprlib.Repr subclass example on Python 3.
Berker Peksag [Sun, 12 Oct 2014 02:11:16 +0000 (05:11 +0300)]
Issue #22613: Fix reprlib.Repr subclass example on Python 3.

Reported by Jacques Ducasse.

10 years agoMerge issue #21061 fix from 3.4
Nick Coghlan [Sun, 12 Oct 2014 00:25:33 +0000 (10:25 +1000)]
Merge issue #21061 fix from 3.4

10 years agoIssue #21061: correctly note redirect_stdout is reentrant
Nick Coghlan [Sun, 12 Oct 2014 00:25:00 +0000 (10:25 +1000)]
Issue #21061: correctly note redirect_stdout is reentrant

10 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Sat, 11 Oct 2014 14:30:21 +0000 (16:30 +0200)]
Merge 3.4 (asyncio doc)

10 years agoasyncio doc: socket.socketpair() is not available on Windows yet
Victor Stinner [Sat, 11 Oct 2014 14:30:02 +0000 (16:30 +0200)]
asyncio doc: socket.socketpair() is not available on Windows yet

10 years agoMerge with 3.4 (asyncio doc)
Victor Stinner [Sat, 11 Oct 2014 14:17:21 +0000 (16:17 +0200)]
Merge with 3.4 (asyncio doc)

10 years agoasyncio doc: add examples showing the 3 ways to wait for data from an open
Victor Stinner [Sat, 11 Oct 2014 14:16:27 +0000 (16:16 +0200)]
asyncio doc: add examples showing the 3 ways to wait for data from an open
socket

10 years agoasyncio doc: cleanup Hello World examples
Victor Stinner [Sat, 11 Oct 2014 14:15:58 +0000 (16:15 +0200)]
asyncio doc: cleanup Hello World examples

10 years agoasyncio doc: the "Get HTTP headers" example now supports HTTPS
Victor Stinner [Sat, 11 Oct 2014 13:52:14 +0000 (15:52 +0200)]
asyncio doc: the "Get HTTP headers" example now supports HTTPS

10 years agomerge
Georg Brandl [Sat, 11 Oct 2014 13:08:18 +0000 (15:08 +0200)]
merge

10 years agomerge
Georg Brandl [Sat, 11 Oct 2014 13:08:12 +0000 (15:08 +0200)]
merge

10 years agomerge with 3.4
Georg Brandl [Sat, 11 Oct 2014 13:04:20 +0000 (15:04 +0200)]
merge with 3.4

10 years agoCloses #18959: move optparse and imp to new "superseded modules" chapter
Georg Brandl [Sat, 11 Oct 2014 12:47:11 +0000 (14:47 +0200)]
Closes #18959: move optparse and imp to new "superseded modules" chapter

10 years agoCloses #21687: delimiter in Py_SetPath is platform dependent
Georg Brandl [Sat, 11 Oct 2014 12:36:02 +0000 (14:36 +0200)]
Closes #21687: delimiter in Py_SetPath is platform dependent

10 years ago(Merge 3.4) Issue #22601: run_forever() now consumes BaseException of the
Victor Stinner [Sat, 11 Oct 2014 12:35:33 +0000 (14:35 +0200)]
(Merge 3.4) 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.

10 years agoCloses #21675: fix ordering of description in library intro
Georg Brandl [Sat, 11 Oct 2014 12:32:34 +0000 (14:32 +0200)]
Closes #21675: fix ordering of description in library intro

10 years agoIssue #22601: run_forever() now consumes BaseException of the temporary task
Victor Stinner [Sat, 11 Oct 2014 12:30:18 +0000 (14:30 +0200)]
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.

10 years agoIssue #21907: Try to make the pre-Vista Windows buildbots happier.
Zachary Ware [Sat, 11 Oct 2014 06:43:35 +0000 (01:43 -0500)]
Issue #21907: Try to make the pre-Vista Windows buildbots happier.

Initial patch by David Bolen.

10 years agoIssue #22489: Update .gitignore to ignore Windows build output.
Zachary Ware [Sat, 11 Oct 2014 04:42:59 +0000 (23:42 -0500)]
Issue #22489: Update .gitignore to ignore Windows build output.

Initial patch by Robert Collins.

10 years agomerge 3.4 (closes #22605)
Benjamin Peterson [Sat, 11 Oct 2014 00:58:43 +0000 (20:58 -0400)]
merge 3.4 (closes #22605)

10 years agoprevent passing NULL to memcpy (closes #22605)
Benjamin Peterson [Sat, 11 Oct 2014 00:58:30 +0000 (20:58 -0400)]
prevent passing NULL to memcpy (closes #22605)

Patch by Jakub Wilk.

10 years agoMerge with 3.4: #21986, don't pickle user code objects.
Terry Jan Reedy [Fri, 10 Oct 2014 23:34:38 +0000 (19:34 -0400)]
Merge with 3.4: #21986, don't pickle user code objects.

10 years agoIssue #21986: Idle now matches interpreter in not pickling user code objects.
Terry Jan Reedy [Fri, 10 Oct 2014 23:33:45 +0000 (19:33 -0400)]
Issue #21986: Idle now matches interpreter in not pickling user code objects.
Patch by Claudiu Popa

10 years agoIssue #22604: Fix assertion error in debug mode when dividing a complex number by...
Antoine Pitrou [Fri, 10 Oct 2014 21:51:04 +0000 (23:51 +0200)]
Issue #22604: Fix assertion error in debug mode when dividing a complex number by (nan+0j).

10 years agoIssue #22604: Fix assertion error in debug mode when dividing a complex number by...
Antoine Pitrou [Fri, 10 Oct 2014 21:49:32 +0000 (23:49 +0200)]
Issue #22604: Fix assertion error in debug mode when dividing a complex number by (nan+0j).

10 years agoCloses #15414: Merge with 3.4
Zachary Ware [Fri, 10 Oct 2014 21:05:54 +0000 (16:05 -0500)]
Closes #15414: Merge with 3.4

10 years agoIssue #15414: Clean and correct the os.path.join docs.
Zachary Ware [Fri, 10 Oct 2014 21:03:14 +0000 (16:03 -0500)]
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.

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

10 years agoIssue 22603: add Francisco Fernández Castaño to ACKS.
Terry Jan Reedy [Fri, 10 Oct 2014 20:53:41 +0000 (16:53 -0400)]
Issue 22603: add Francisco Fernández Castaño to ACKS.

10 years agoIssue #20152: Port the array module to Argument Clinic.
Brett Cannon [Fri, 10 Oct 2014 20:26:45 +0000 (16:26 -0400)]
Issue #20152: Port the array module to Argument Clinic.

10 years agoMerge with 3.4
Terry Jan Reedy [Fri, 10 Oct 2014 20:00:39 +0000 (16:00 -0400)]
Merge with 3.4

10 years agoIssue 22603: add missing 'self'. Patch by Francisco Fernández Castaño.
Terry Jan Reedy [Fri, 10 Oct 2014 20:00:18 +0000 (16:00 -0400)]
Issue 22603: add missing 'self'.  Patch by Francisco Fernández Castaño.

10 years ago#11694: merge with 3.4
Petri Lehtinen [Fri, 10 Oct 2014 18:29:43 +0000 (21:29 +0300)]
#11694: merge with 3.4

10 years agoIssue #11694: Raise ConversionError in xdrlib as documented
Petri Lehtinen [Fri, 10 Oct 2014 18:21:52 +0000 (21:21 +0300)]
Issue #11694: Raise ConversionError in xdrlib as documented

10 years agoIssue #21052: Don't raise ImportWarning for sys.meta_path or
Brett Cannon [Fri, 10 Oct 2014 14:54:28 +0000 (10:54 -0400)]
Issue #21052: Don't raise ImportWarning for sys.meta_path or
sys.path_hooks when set to None during interpreter shutdown.

Thanks to Martin Panter for the initial bug report.

10 years ago(Merge 3.4) test_venv: use support.rmtree() instead of shutil.rmtree() to fix
Victor Stinner [Fri, 10 Oct 2014 12:23:25 +0000 (14:23 +0200)]
(Merge 3.4) test_venv: use support.rmtree() instead of shutil.rmtree() to fix
sporadic failures on Windows

10 years agotest_venv: use support.rmtree() instead of shutil.rmtree() to fix sporadic
Victor Stinner [Fri, 10 Oct 2014 12:23:00 +0000 (14:23 +0200)]
test_venv: use support.rmtree() instead of shutil.rmtree() to fix sporadic
failures on Windows

10 years agoIssue #21456: Skip two tests in test_urllib2net.py if _ssl module not present.
Berker Peksag [Fri, 10 Oct 2014 11:35:51 +0000 (14:35 +0300)]
Issue #21456: Skip two tests in test_urllib2net.py if _ssl module not present.

Patch by Remi Pointel.

10 years agoIssue #21456: Skip two tests in test_urllib2net.py if _ssl module not present.
Berker Peksag [Fri, 10 Oct 2014 11:34:16 +0000 (14:34 +0300)]
Issue #21456: Skip two tests in test_urllib2net.py if _ssl module not present.

Patch by Remi Pointel.

10 years agoIssue #22564: cleanup SSLObject doc
Victor Stinner [Fri, 10 Oct 2014 11:04:08 +0000 (13:04 +0200)]
Issue #22564: cleanup SSLObject doc

10 years agoIssue #22564: ssl doc, add more links to the non-blocking section
Victor Stinner [Fri, 10 Oct 2014 10:52:43 +0000 (12:52 +0200)]
Issue #22564: ssl doc, add more links to the non-blocking section

10 years agoIssue #22564: ssl doc: reorganize and reindent documentation of SSLObject and
Victor Stinner [Fri, 10 Oct 2014 10:49:08 +0000 (12:49 +0200)]
Issue #22564: ssl doc: reorganize and reindent documentation of SSLObject and
MemoryBIO; move documentation of SSLContext.wrap_bio()

10 years agoMerge 3.4
Victor Stinner [Fri, 10 Oct 2014 10:47:01 +0000 (12:47 +0200)]
Merge 3.4

10 years agoIssue #22564: ssl doc: mention asyncio in the non-blocking section
Victor Stinner [Fri, 10 Oct 2014 10:45:10 +0000 (12:45 +0200)]
Issue #22564: ssl doc: mention asyncio in the non-blocking section

10 years agoMerge 3.4
Victor Stinner [Fri, 10 Oct 2014 10:43:17 +0000 (12:43 +0200)]
Merge 3.4

10 years agoIssue #22564: ssl doc: mention how SSLSocket are usually created
Victor Stinner [Fri, 10 Oct 2014 10:07:19 +0000 (12:07 +0200)]
Issue #22564: ssl doc: mention how SSLSocket are usually created

10 years agoIssue #22564: ssl doc: use "class" marker to document the SSLSocket class
Victor Stinner [Fri, 10 Oct 2014 10:06:51 +0000 (12:06 +0200)]
Issue #22564: ssl doc: use "class" marker to document the SSLSocket class

10 years agoIssue #22564: ssl doc: document read(), write(), pending, server_side and
Victor Stinner [Fri, 10 Oct 2014 10:05:56 +0000 (12:05 +0200)]
Issue #22564: ssl doc: document read(), write(), pending, server_side and
server_hostname methods and attributes of SSLSocket.

10 years agoIssue #22564: ssl doc: fix typos
Victor Stinner [Fri, 10 Oct 2014 10:04:15 +0000 (12:04 +0200)]
Issue #22564: ssl doc: fix typos