]> granicus.if.org Git - python/log
python
10 years agoMerge with 3.4 (closes #23280)
Zachary Ware [Tue, 20 Jan 2015 20:11:38 +0000 (14:11 -0600)]
Merge with 3.4 (closes #23280)

10 years agoIssue #23280: Fix docstrings for binascii.(un)hexlify
Zachary Ware [Tue, 20 Jan 2015 19:59:46 +0000 (13:59 -0600)]
Issue #23280: Fix docstrings for binascii.(un)hexlify

10 years agoIssue #20898: Enum names are only available in the http.client module as constants.
Berker Peksag [Tue, 20 Jan 2015 06:02:28 +0000 (08:02 +0200)]
Issue #20898: Enum names are only available in the http.client module as constants.

Noticed by Martin Panter.

10 years agoIssue #22317: Document the action parameter in ArgumentParser.add_subparsers() docs.
Berker Peksag [Tue, 20 Jan 2015 04:46:49 +0000 (06:46 +0200)]
Issue #22317: Document the action parameter in ArgumentParser.add_subparsers() docs.

Patch by Mike Short.

10 years agoIssue #22317: Document the action parameter in ArgumentParser.add_subparsers() docs.
Berker Peksag [Tue, 20 Jan 2015 04:45:53 +0000 (06:45 +0200)]
Issue #22317: Document the action parameter in ArgumentParser.add_subparsers() docs.

Patch by Mike Short.

10 years agoIssue #20898: Add a "HTTP status codes" section to avoid duplication in HTTP docs.
Berker Peksag [Tue, 20 Jan 2015 04:30:46 +0000 (06:30 +0200)]
Issue #20898: Add a "HTTP status codes" section to avoid duplication in HTTP docs.

This commit also removes a couple of non-standard status codes. They were
added as part of edf669b13482, so there is no backwards compatibility issue.

Patch by Demian Brecht.

10 years agoA hybrid of and-masking and a conditional-set-to-zero produce even faster search...
Raymond Hettinger [Mon, 19 Jan 2015 05:25:15 +0000 (21:25 -0800)]
A hybrid of and-masking and a conditional-set-to-zero produce even faster search loop.

10 years agoUpdate copyright for 2015 updates.
Raymond Hettinger [Mon, 19 Jan 2015 00:10:30 +0000 (16:10 -0800)]
Update copyright for 2015 updates.

10 years agoClean-up, simplify, and slightly speed-up bounds logic in set_pop().
Raymond Hettinger [Mon, 19 Jan 2015 00:06:18 +0000 (16:06 -0800)]
Clean-up, simplify, and slightly speed-up bounds logic in set_pop().

Elsewhere in the setobject.c code we do a bitwise-and with the mask
instead of using a conditional to reset to zero on wrap-around.
Using that same technique here use gives cleaner, faster, and more
consistent code.

10 years agoIssue #23266: Restore the performance of ipaddress.collapse_addresses() whith
Serhiy Storchaka [Sun, 18 Jan 2015 22:41:32 +0000 (00:41 +0200)]
Issue #23266: Restore the performance of ipaddress.collapse_addresses() whith
duplicated addresses and simplify the code.

10 years agoIssue 23261: Clean-up the hack to store the set.pop() search finger in a hash field...
Raymond Hettinger [Sun, 18 Jan 2015 21:12:42 +0000 (13:12 -0800)]
Issue 23261:  Clean-up the hack to store the set.pop() search finger in a hash field instead of the setobject.

10 years agoFixed tests for issue #23133 (pickling of IPv4Network was not tested).
Serhiy Storchaka [Sun, 18 Jan 2015 20:56:47 +0000 (22:56 +0200)]
Fixed tests for issue #23133 (pickling of IPv4Network was not tested).

10 years agoIssue #23133: Pickling of ipaddress objects now produces more compact and
Serhiy Storchaka [Sun, 18 Jan 2015 20:36:33 +0000 (22:36 +0200)]
Issue #23133: Pickling of ipaddress objects now produces more compact and
portable representation.

10 years agoIssue #23248: Update ssl error codes from latest OpenSSL git master.
Antoine Pitrou [Sun, 18 Jan 2015 16:40:17 +0000 (17:40 +0100)]
Issue #23248: Update ssl error codes from latest OpenSSL git master.

10 years agoIssue #23248: Update ssl error codes from latest OpenSSL git master.
Antoine Pitrou [Sun, 18 Jan 2015 16:39:32 +0000 (17:39 +0100)]
Issue #23248: Update ssl error codes from latest OpenSSL git master.

10 years agoIssue #23266: Much faster implementation of ipaddress.collapse_addresses() when there...
Antoine Pitrou [Sun, 18 Jan 2015 15:22:47 +0000 (16:22 +0100)]
Issue #23266: Much faster implementation of ipaddress.collapse_addresses() when there are many non-consecutive addresses.

10 years agoIssue #23181: More "codepoint" -> "code point".
Serhiy Storchaka [Sun, 18 Jan 2015 09:33:31 +0000 (11:33 +0200)]
Issue #23181: More "codepoint" -> "code point".

10 years agoIssue #23181: More "codepoint" -> "code point".
Serhiy Storchaka [Sun, 18 Jan 2015 09:28:37 +0000 (11:28 +0200)]
Issue #23181: More "codepoint" -> "code point".

10 years agoIssue #23098: 64-bit dev_t is now supported in the os module.
Serhiy Storchaka [Sun, 18 Jan 2015 09:17:39 +0000 (11:17 +0200)]
Issue #23098: 64-bit dev_t is now supported in the os module.

10 years agoIssue #23098: 64-bit dev_t is now supported in the os module.
Serhiy Storchaka [Sun, 18 Jan 2015 09:12:11 +0000 (11:12 +0200)]
Issue #23098: 64-bit dev_t is now supported in the os module.

10 years agoIssue #23180: merge from 3.4
Ned Deily [Sun, 18 Jan 2015 05:09:16 +0000 (21:09 -0800)]
Issue #23180: merge from 3.4

10 years agoIssue #23180: Rename IDLE "Windows" menu item to "Window".
Ned Deily [Sun, 18 Jan 2015 05:06:27 +0000 (21:06 -0800)]
Issue #23180: Rename IDLE "Windows" menu item to "Window".
Patch by Al Sweigart.

10 years agoIssue #23211: null merge
Ned Deily [Sun, 18 Jan 2015 01:33:49 +0000 (17:33 -0800)]
Issue #23211: null merge

10 years agoIssue #23211: Fix patch for 3.4 differences.
Ned Deily [Sun, 18 Jan 2015 01:31:13 +0000 (17:31 -0800)]
Issue #23211: Fix patch for 3.4 differences.

10 years agoIssue #23211: merge from 3.4
Ned Deily [Sun, 18 Jan 2015 00:59:50 +0000 (16:59 -0800)]
Issue #23211: merge from 3.4

10 years agoIssue #23211: Workaround test_logging failure on some OS X 10.6 systems:
Ned Deily [Sun, 18 Jan 2015 00:57:19 +0000 (16:57 -0800)]
Issue #23211: Workaround test_logging failure on some OS X 10.6 systems:
getaddrinfo("localhost") can fail depending on the name server configuration,
use "127.0.0.0" instead.

10 years agoUpdated copyright year (after my patch from last year reverted it)
Steve Dower [Sat, 17 Jan 2015 22:29:01 +0000 (14:29 -0800)]
Updated copyright year (after my patch from last year reverted it)

10 years agoIssue #21817: When an exception is raised in a task submitted to a ProcessPoolExecuto...
Antoine Pitrou [Sat, 17 Jan 2015 19:02:14 +0000 (20:02 +0100)]
Issue #21817: When an exception is raised in a task submitted to a ProcessPoolExecutor, the remote traceback is now displayed in the parent process.
Patch by Claudiu Popa.

10 years agoIssue #15955: Add an option to limit output size when decompressing LZMA data.
Antoine Pitrou [Sat, 17 Jan 2015 15:22:18 +0000 (16:22 +0100)]
Issue #15955: Add an option to limit output size when decompressing LZMA data.
Patch by Nikolaus Rath and Martin Panter.

10 years agoMerge with 3.4 (#23256)
Zachary Ware [Sat, 17 Jan 2015 14:53:09 +0000 (08:53 -0600)]
Merge with 3.4 (#23256)

10 years agoCloses #23256: Avoid a crash in test_ctypes
Zachary Ware [Sat, 17 Jan 2015 14:50:42 +0000 (08:50 -0600)]
Closes #23256: Avoid a crash in test_ctypes

Only happened with oddly capitalized debug executables on Windows.
Patch by Claudiu Popa.

10 years agomerge 3.4 (#22986)
Benjamin Peterson [Sat, 17 Jan 2015 01:46:37 +0000 (20:46 -0500)]
merge 3.4 (#22986)

10 years agocapitialize "HttpOnly" and "Secure" as they appear in the standard and other impls...
Benjamin Peterson [Sat, 17 Jan 2015 01:43:55 +0000 (20:43 -0500)]
capitialize "HttpOnly" and "Secure" as they appear in the standard and other impls (closes #23250)

Patch by Jon Dufresne.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 15 Jan 2015 21:53:21 +0000 (22:53 +0100)]
Merge 3.4 (asyncio)

10 years agoIssue #22685: Fix test_pause_reading() of asyncio/test_subprocess
Victor Stinner [Thu, 15 Jan 2015 21:52:59 +0000 (22:52 +0100)]
Issue #22685: Fix test_pause_reading() of asyncio/test_subprocess

Override the connect_read_pipe() method of the loop to mock immediatly
pause_reading() and resume_reading() methods.

The test failed randomly on FreeBSD 9 buildbot and on Windows using trollius.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 15 Jan 2015 20:50:48 +0000 (21:50 +0100)]
Merge 3.4 (asyncio)

10 years agoBackout changeset 6ab2575bc12b
Victor Stinner [Thu, 15 Jan 2015 20:50:19 +0000 (21:50 +0100)]
Backout changeset 6ab2575bc12b

StreamWriter: close() now clears the reference to the transport

StreamWriter now raises an exception if it is closed: write(), writelines(),
write_eof(), can_write_eof(), get_extra_info(), drain().

10 years agoNull merge from 3.4
Steve Dower [Thu, 15 Jan 2015 17:17:18 +0000 (09:17 -0800)]
Null merge from 3.4

10 years agoCloses #23160: Respect the environment variable SVNROOT in external-common.bat (patch...
Steve Dower [Thu, 15 Jan 2015 17:16:38 +0000 (09:16 -0800)]
Closes #23160: Respect the environment variable SVNROOT in external-common.bat (patch by anselm.kruis)

10 years agoIssue 23018: Add version info to python[w].exe
Steve Dower [Thu, 15 Jan 2015 17:10:43 +0000 (09:10 -0800)]
Issue 23018: Add version info to python[w].exe

10 years agoFixes sys.winver generation and removes dependency on user32.dll
Steve Dower [Thu, 15 Jan 2015 17:10:16 +0000 (09:10 -0800)]
Fixes sys.winver generation and removes dependency on user32.dll

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 15 Jan 2015 15:29:23 +0000 (16:29 +0100)]
Merge 3.4 (asyncio)

10 years agoCloses #23219: cancelling asyncio.wait_for() now cancels the task
Victor Stinner [Thu, 15 Jan 2015 15:29:10 +0000 (16:29 +0100)]
Closes #23219: cancelling asyncio.wait_for() now cancels the task

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 15 Jan 2015 13:25:08 +0000 (14:25 +0100)]
Merge 3.4 (asyncio)

10 years agoasyncio: Close transports in tests
Victor Stinner [Thu, 15 Jan 2015 13:24:55 +0000 (14:24 +0100)]
asyncio: Close transports in tests

* Use test_utils.run_briefly() to execute pending calls to really close
  transports
* sslproto: mock also _SSLPipe.shutdown(), it's need to close the transport
* pipe test: the test doesn't close explicitly the PipeHandle, so ignore
  the warning instead
* test_popen: use the context manager ("with p:") to explicitly close pipes

10 years agoasyncio: Close the transport on subprocess creation failure
Victor Stinner [Thu, 15 Jan 2015 13:24:22 +0000 (14:24 +0100)]
asyncio: Close the transport on subprocess creation failure

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 15 Jan 2015 12:41:01 +0000 (13:41 +0100)]
Merge 3.4 (asyncio)

10 years agoasyncio: Fix _ProactorBasePipeTransport.close()
Victor Stinner [Thu, 15 Jan 2015 12:40:27 +0000 (13:40 +0100)]
asyncio: Fix _ProactorBasePipeTransport.close()

Set the _read_fut attribute to None after cancelling it.

This change should fix a race condition with
_ProactorWritePipeTransport._pipe_closed().

10 years agoasyncio: Fix _ProactorBasePipeTransport.__repr__()
Victor Stinner [Thu, 15 Jan 2015 12:32:28 +0000 (13:32 +0100)]
asyncio: Fix _ProactorBasePipeTransport.__repr__()

Check if the _sock attribute is None to check if the transport is closed.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 15 Jan 2015 12:23:36 +0000 (13:23 +0100)]
Merge 3.4 (asyncio)

10 years agoIssue #23243: Close explicitly transports in asyncio tests
Victor Stinner [Thu, 15 Jan 2015 12:18:32 +0000 (13:18 +0100)]
Issue #23243: Close explicitly transports in asyncio tests

10 years agoIssue #23243: Close explicitly event loops in asyncio tests
Victor Stinner [Thu, 15 Jan 2015 12:17:34 +0000 (13:17 +0100)]
Issue #23243: Close explicitly event loops in asyncio tests

10 years agoIssue #23243: Fix asyncio._UnixWritePipeTransport.close()
Victor Stinner [Thu, 15 Jan 2015 12:16:50 +0000 (13:16 +0100)]
Issue #23243: Fix asyncio._UnixWritePipeTransport.close()

Do nothing if the transport is already closed. Before it was not possible to
close the transport twice.

10 years agoSSLProtocol: set the _transport attribute in the constructor
Victor Stinner [Thu, 15 Jan 2015 12:16:27 +0000 (13:16 +0100)]
SSLProtocol: set the _transport attribute in the constructor

10 years agoIssue #23242: asyncio.SubprocessStreamProtocol now closes the subprocess
Victor Stinner [Thu, 15 Jan 2015 12:16:02 +0000 (13:16 +0100)]
Issue #23242: asyncio.SubprocessStreamProtocol now closes the subprocess
transport at subprocess exit.

Clear also its reference to the transport.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 15 Jan 2015 08:44:24 +0000 (09:44 +0100)]
Merge 3.4 (asyncio)

10 years agoIssue #22560: Fix typo: call -> call_soon
Victor Stinner [Thu, 15 Jan 2015 08:44:13 +0000 (09:44 +0100)]
Issue #22560: Fix typo: call -> call_soon

10 years agoIssue #22560: Fix SSLProtocol._on_handshake_complete()
Victor Stinner [Thu, 15 Jan 2015 08:41:48 +0000 (09:41 +0100)]
Issue #22560: Fix SSLProtocol._on_handshake_complete()

Don't call immediatly self._process_write_backlog() but schedule the call using
call_soon(). _on_handshake_complete() can be called indirectly from
_process_write_backlog(), and _process_write_backlog() is not reentrant.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 15 Jan 2015 08:35:29 +0000 (09:35 +0100)]
Merge 3.4 (asyncio)

10 years agoStreamWriter: close() now clears the reference to the transport
Victor Stinner [Thu, 15 Jan 2015 08:33:50 +0000 (09:33 +0100)]
StreamWriter: close() now clears the reference to the transport

StreamWriter now raises an exception if it is closed: write(), writelines(),
write_eof(), can_write_eof(), get_extra_info(), drain().

10 years agomerge with 3.4
Georg Brandl [Thu, 15 Jan 2015 07:16:25 +0000 (08:16 +0100)]
merge with 3.4

10 years agoCloses #23244: fix typo. Thanks Mayank Tripathi for the patch.
Georg Brandl [Thu, 15 Jan 2015 07:16:01 +0000 (08:16 +0100)]
Closes #23244: fix typo. Thanks Mayank Tripathi for the patch.

10 years agoIssue22997: minor doc update; thanks to Simoen Visser
Ethan Furman [Thu, 15 Jan 2015 06:32:29 +0000 (22:32 -0800)]
Issue22997: minor doc update; thanks to Simoen Visser

10 years agoIssue22997: minor doc update; thanks to Simoen Visser
Ethan Furman [Thu, 15 Jan 2015 06:31:50 +0000 (22:31 -0800)]
Issue22997: minor doc update; thanks to Simoen Visser

10 years agoIssue22988: clarify yield and exception blocks
Ethan Furman [Thu, 15 Jan 2015 06:26:04 +0000 (22:26 -0800)]
Issue22988: clarify yield and exception blocks

10 years agoIssue22988: clarify yield and exception blocks
Ethan Furman [Thu, 15 Jan 2015 06:25:27 +0000 (22:25 -0800)]
Issue22988: clarify yield and exception blocks

10 years agoIssue20467: clarify __init__'s role
Ethan Furman [Thu, 15 Jan 2015 05:57:15 +0000 (21:57 -0800)]
Issue20467: clarify __init__'s role

10 years agoIssue20467: clarify __init__'s role
Ethan Furman [Thu, 15 Jan 2015 05:56:49 +0000 (21:56 -0800)]
Issue20467: clarify __init__'s role

10 years agoIssue20467: clarify __init__'s role
Ethan Furman [Thu, 15 Jan 2015 05:56:10 +0000 (21:56 -0800)]
Issue20467: clarify __init__'s role

10 years agomerge 3.4 (#23063)
Benjamin Peterson [Thu, 15 Jan 2015 05:00:16 +0000 (00:00 -0500)]
merge 3.4 (#23063)

10 years agofix parsing reST with code or code-block directives (closes #23063)
Benjamin Peterson [Thu, 15 Jan 2015 04:56:35 +0000 (23:56 -0500)]
fix parsing reST with code or code-block directives (closes #23063)

Patch by Marc Abramowitz.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Wed, 14 Jan 2015 23:05:18 +0000 (00:05 +0100)]
Merge 3.4 (asyncio)

10 years agoasyncio: sync with Tulip
Victor Stinner [Wed, 14 Jan 2015 23:04:21 +0000 (00:04 +0100)]
asyncio: sync with Tulip

* PipeHandle now uses None instead of -1 for a closed handle
* Sort imports in windows_utils.
* Fix test_events on Python older than 3.5. Skip SSL tests on the
  ProactorEventLoop if ssl.MemoryIO is missing
* Fix BaseEventLoop._create_connection_transport(). Close the transport if the
  creation of the transport (if the waiter) gets an exception.
* _ProactorBasePipeTransport now sets _sock to None when the transport is
  closed.
* Fix BaseSubprocessTransport.close(). Ignore pipes for which the protocol is
  not set yet (still equal to None).
* TestLoop.close() now calls the close() method of the parent class
  (BaseEventLoop).
* Cleanup BaseSelectorEventLoop: create the protocol on a separated line for
  readability and ease debugging.
* Fix BaseSubprocessTransport._kill_wait(). Set the _returncode attribute, so
  close() doesn't try to terminate the process.
* Tests: explicitly close event loops and transports
* UNIX pipe transports: add closed/closing in repr(). Add "closed" or "closing"
  state in the __repr__() method of _UnixReadPipeTransport and
  _UnixWritePipeTransport classes.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Wed, 14 Jan 2015 16:13:43 +0000 (17:13 +0100)]
Merge 3.4 (asyncio)

10 years agoIssue #23197: On SSL handshake failure on matching hostname, check if the
Victor Stinner [Wed, 14 Jan 2015 16:13:28 +0000 (17:13 +0100)]
Issue #23197: On SSL handshake failure on matching hostname, check if the
waiter is cancelled before setting its exception.

10 years agoCloses #23234: Refactor subprocess
Victor Stinner [Wed, 14 Jan 2015 16:07:59 +0000 (17:07 +0100)]
Closes #23234: Refactor subprocess

Use new OSError exceptions, factorize stdin.write() code.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Wed, 14 Jan 2015 16:00:29 +0000 (17:00 +0100)]
Merge 3.4 (asyncio)

10 years agoIssue #23197, asyncio: On SSL handshake failure, check if the waiter is
Victor Stinner [Wed, 14 Jan 2015 15:56:20 +0000 (16:56 +0100)]
Issue #23197, asyncio: On SSL handshake failure, check if the waiter is
cancelled before setting its exception.

* Add unit tests for this case.
* Cleanup also sslproto.py

10 years agoIssue #22038, configure: HAVE_STD_ATOMIC now also check that "atomic_int" and
Victor Stinner [Wed, 14 Jan 2015 15:01:46 +0000 (16:01 +0100)]
Issue #22038, configure: HAVE_STD_ATOMIC now also check that "atomic_int" and
"_Atomic void*" types work. Change needed on FreeBSD 10 where stdatomic.h is
available but the compiler fails on "_Atomic void*" with "_Atomic cannot be
applied to incomplete type 'void'".

10 years agoCloses #23181: codepoint -> code point
Georg Brandl [Wed, 14 Jan 2015 07:26:30 +0000 (08:26 +0100)]
Closes #23181: codepoint -> code point

10 years agoNo need to rebuild a constant dictionary on every call. Move convert mapping to...
Raymond Hettinger [Wed, 14 Jan 2015 06:57:35 +0000 (22:57 -0800)]
No need to rebuild a constant dictionary on every call.  Move convert mapping to module level.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Wed, 14 Jan 2015 01:13:51 +0000 (02:13 +0100)]
Merge 3.4 (asyncio)

10 years agoPython issue #23173: sync with Tulip
Victor Stinner [Wed, 14 Jan 2015 01:10:33 +0000 (02:10 +0100)]
Python issue #23173: sync with Tulip

* If an exception is raised during the creation of a subprocess, kill the
  subprocess (close pipes, kill and read the return status). Log an error in
  such case.
* Fix SubprocessStreamProtocol.connection_made() to handle cancelled waiter.
  Add unit test cancelling subprocess methods.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Tue, 13 Jan 2015 23:54:00 +0000 (00:54 +0100)]
Merge 3.4 (asyncio)

10 years agoIssue #23198: Reactor asyncio.StreamReader
Victor Stinner [Tue, 13 Jan 2015 23:53:37 +0000 (00:53 +0100)]
Issue #23198: Reactor asyncio.StreamReader

- Add a new _wakeup_waiter() method
- Replace _create_waiter() method with a _wait_for_data() coroutine function
- Use the value None instead of True or False to wake up the waiter

10 years agoIssue #22560, asyncio doc: ProactorEventLoop now supports SSL!
Victor Stinner [Tue, 13 Jan 2015 23:30:22 +0000 (00:30 +0100)]
Issue #22560, asyncio doc: ProactorEventLoop now supports SSL!

10 years agoMerge 3.4 (asyncio: new SSL implementation)
Victor Stinner [Tue, 13 Jan 2015 23:19:55 +0000 (00:19 +0100)]
Merge 3.4 (asyncio: new SSL implementation)

10 years agoIssue #22560: New SSL implementation based on ssl.MemoryBIO
Victor Stinner [Tue, 13 Jan 2015 23:19:09 +0000 (00:19 +0100)]
Issue #22560: New SSL implementation based on ssl.MemoryBIO

The new SSL implementation is based on the new ssl.MemoryBIO which is only
available on Python 3.5. On Python 3.4 and older, the legacy SSL implementation
(using SSL_write, SSL_read, etc.) is used. The proactor event loop only
supports the new implementation.

The new asyncio.sslproto module adds _SSLPipe, SSLProtocol and
_SSLProtocolTransport classes. _SSLPipe allows to "wrap" or "unwrap" a socket
(switch between cleartext and SSL/TLS).

Patch written by Antoine Pitrou. sslproto.py is based on gruvi/ssl.py of the
gruvi project written by Geert Jansen.

This change adds SSL support to ProactorEventLoop on Python 3.5 and newer!

It becomes also possible to implement STARTTTLS: switch a cleartext socket to
SSL.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Tue, 13 Jan 2015 15:13:36 +0000 (16:13 +0100)]
Merge 3.4 (asyncio)

10 years agoTulip issue 184: Fix test_pipe() on Windows
Victor Stinner [Tue, 13 Jan 2015 15:13:06 +0000 (16:13 +0100)]
Tulip issue 184: Fix test_pipe() on Windows

Pass explicitly the event loop to StreamReaderProtocol.

10 years agoIssue #22922: Fix ProactorEventLoop.close()
Victor Stinner [Tue, 13 Jan 2015 15:11:19 +0000 (16:11 +0100)]
Issue #22922: Fix ProactorEventLoop.close()

Close the IocpProactor before closing the event loop. IocpProactor.close() can
call loop.call_soon(), which is forbidden when the event loop is closed.

10 years agomerge 3.4 (#23221)
Benjamin Peterson [Tue, 13 Jan 2015 14:20:31 +0000 (09:20 -0500)]
merge 3.4 (#23221)

10 years agofix instances of consecutive articles (closes #23221)
Benjamin Peterson [Tue, 13 Jan 2015 14:17:24 +0000 (09:17 -0500)]
fix instances of consecutive articles (closes #23221)

Patch by Karan Goel.

10 years agoIssue #23209, #23225: selectors.BaseSelector.get_key() now raises a
Victor Stinner [Tue, 13 Jan 2015 09:00:55 +0000 (10:00 +0100)]
Issue #23209, #23225: selectors.BaseSelector.get_key() now raises a
RuntimeError if the selector is closed. And selectors.BaseSelector.close() now
clears its internal reference to the selector mapping to break a reference
cycle. Initial patch written by Martin Richard.

10 years agoIssue #23209, #23225: selectors.BaseSelector.close() now clears its internal
Victor Stinner [Tue, 13 Jan 2015 08:58:33 +0000 (09:58 +0100)]
Issue #23209, #23225: selectors.BaseSelector.close() now clears its internal
reference to the selector mapping to break a reference cycle. Initial patch
written by Martin Richard.

10 years agoIssue #19777: Provide a home() classmethod on Path objects.
Antoine Pitrou [Mon, 12 Jan 2015 20:03:41 +0000 (21:03 +0100)]
Issue #19777: Provide a home() classmethod on Path objects.
Contributed by Victor Salgado and Mayank Tripathi.

10 years agoMerged 3.4 into default
Donald Stufft [Sun, 11 Jan 2015 20:53:02 +0000 (15:53 -0500)]
Merged 3.4 into default

10 years agoUpdate setuptools to 11.3.1
Donald Stufft [Sun, 11 Jan 2015 20:51:11 +0000 (15:51 -0500)]
Update setuptools to 11.3.1

10 years agoremove extra definite article
Benjamin Peterson [Sun, 11 Jan 2015 20:22:07 +0000 (15:22 -0500)]
remove extra definite article

10 years agoIssue #23206: Make ``json.dumps(..., ensure_ascii=False)`` as fast as the default...
Antoine Pitrou [Sun, 11 Jan 2015 15:41:01 +0000 (16:41 +0100)]
Issue #23206: Make ``json.dumps(..., ensure_ascii=False)`` as fast as the default case of ``ensure_ascii=True``.  Patch by Naoki Inada.