]> granicus.if.org Git - python/log
python
8 years agoIssue #27829: regrtest -W displays stderr if env changed
Victor Stinner [Fri, 23 Sep 2016 09:13:53 +0000 (11:13 +0200)]
Issue #27829: regrtest -W displays stderr if env changed

regrtest -W hides output if a test pass, but also when env changed and so the
env changed warning is hidden. So it's hard to debug. With this change, stderr
is now always displayed when a test doesn't pass.

8 years agoIssue #28251: Improvements to help manuals on Windows.
Steve Dower [Fri, 23 Sep 2016 00:07:56 +0000 (17:07 -0700)]
Issue #28251: Improvements to help manuals on Windows.

8 years agoSilence GCC warning.
Serhiy Storchaka [Thu, 22 Sep 2016 16:59:46 +0000 (19:59 +0300)]
Silence GCC warning.

The code was correct, but GCC is not enough clever.

8 years agoMake Lib/test/ssltests.py more useful and faster for OpenSSL testing
Christian Heimes [Thu, 22 Sep 2016 14:49:35 +0000 (16:49 +0200)]
Make Lib/test/ssltests.py more useful and faster for OpenSSL testing

8 years agoFix references to Python 3’s socketserver (lowercase) module
Martin Panter [Thu, 22 Sep 2016 09:37:56 +0000 (09:37 +0000)]
Fix references to Python 3’s socketserver (lowercase) module

8 years agoIssue #27348: Restore “Exception: None” formatting in traceback module
Martin Panter [Thu, 22 Sep 2016 09:37:39 +0000 (09:37 +0000)]
Issue #27348: Restore “Exception: None” formatting in traceback module

This fixes a regression caused by revision 73afda5a4e4c. Also reverts the
decimal test workaround added in revision 5f3dd0a2b1ab.

Remove test_without_exception(). According to revision ecaafc32c500, this was
added in Python 2 so that print_exc() would output “None” when called with no
exception set. However print_exc() never worked like this in Python 3, and
the use case is not documented.

Restore TracebackCases class name (instead of SyntaxTracebackCases), because
the class also tests other exceptions.

8 years agoExtend the test to lower pickle protocols.
Serhiy Storchaka [Thu, 22 Sep 2016 08:39:25 +0000 (11:39 +0300)]
Extend the test to lower pickle protocols.

8 years agoIssue #25651: Allow falsy values to be used for msg parameter of subTest()
Berker Peksag [Wed, 21 Sep 2016 16:34:15 +0000 (19:34 +0300)]
Issue #25651: Allow falsy values to be used for msg parameter of subTest()

8 years agoFix PyUnicode_FromFormatV() error handling
Victor Stinner [Wed, 21 Sep 2016 12:13:14 +0000 (14:13 +0200)]
Fix PyUnicode_FromFormatV() error handling

Issue #28233: Fix a memory leak if the format string contains a non-ASCII
character, destroy the unicode writer.

8 years agotest_asynico: fix test_sock_connect_sock_write_race()
Victor Stinner [Wed, 21 Sep 2016 07:15:36 +0000 (09:15 +0200)]
test_asynico: fix test_sock_connect_sock_write_race()

Issue #28176: Increase timeout from 10 seconds to 60 seconds.

8 years agoCatch EPERM error in py_getrandom()
Victor Stinner [Tue, 20 Sep 2016 20:46:02 +0000 (22:46 +0200)]
Catch EPERM error in py_getrandom()

Issue #27955: Fallback on reading /dev/urandom device when the getrandom()
syscall fails with EPERM, for example when blocked by SECCOMP.

8 years agoCleanup random.c
Victor Stinner [Tue, 20 Sep 2016 20:26:18 +0000 (22:26 +0200)]
Cleanup random.c

Issue #27955: modify py_getrnadom() and dev_urandom()

* Add comments from Python 3.7
* PEP 7 style: add {...}

8 years agoMake 3.7 the current dev version in the html version of the docs.
Ned Deily [Tue, 20 Sep 2016 19:00:07 +0000 (15:00 -0400)]
Make 3.7 the current dev version in the html version of the docs.

8 years agoremove trailing whitespace
Benjamin Peterson [Tue, 20 Sep 2016 05:16:36 +0000 (22:16 -0700)]
remove trailing whitespace

8 years agoDocs: Correctly link to the methods
Jesus Cea [Mon, 19 Sep 2016 22:01:53 +0000 (00:01 +0200)]
Docs: Correctly link to the methods

8 years agomerge 3.4
Benjamin Peterson [Mon, 19 Sep 2016 06:43:18 +0000 (23:43 -0700)]
merge 3.4

8 years agoproperly handle the single null-byte file (closes #24022)
Benjamin Peterson [Mon, 19 Sep 2016 06:41:11 +0000 (23:41 -0700)]
properly handle the single null-byte file (closes #24022)

8 years agoIssue #28189: dictitems_contains no longer swallows compare errors.
Raymond Hettinger [Mon, 19 Sep 2016 04:45:11 +0000 (21:45 -0700)]
Issue #28189: dictitems_contains no longer swallows compare errors.
 (Patch by Xiang Zhang)

8 years agoIssue #26661: setup.py now detects system libffi with multiarch wrapper.
Christian Heimes [Sun, 18 Sep 2016 12:33:30 +0000 (14:33 +0200)]
Issue #26661: setup.py now detects system libffi with multiarch wrapper.

8 years agoIssue #26610: Skip test_with_pip if _ctypes is not available in OpenIndiana
Berker Peksag [Sun, 18 Sep 2016 11:52:25 +0000 (14:52 +0300)]
Issue #26610: Skip test_with_pip if _ctypes is not available in OpenIndiana

8 years agoIssue #28075: Fix test_access_denied in Python 3.5
Berker Peksag [Sun, 18 Sep 2016 10:56:29 +0000 (13:56 +0300)]
Issue #28075: Fix test_access_denied in Python 3.5

I forgot there two variations of os.stat() in Python 3.5.

8 years agoAdd file missed from backport
Steve Dower [Sun, 18 Sep 2016 00:29:37 +0000 (17:29 -0700)]
Add file missed from backport

8 years agoIssue #27932: Prevent memory leak in win32_ver().
Steve Dower [Sun, 18 Sep 2016 00:25:42 +0000 (17:25 -0700)]
Issue #27932: Prevent memory leak in win32_ver().

8 years agoIssue #28110: launcher.msi has different product codes between 32-bit and 64-bit
Steve Dower [Sat, 17 Sep 2016 23:12:55 +0000 (16:12 -0700)]
Issue #28110: launcher.msi has different product codes between 32-bit and 64-bit

8 years agoIssue #28176: Increase timeout for test_sock_connect_sock_write_race
Berker Peksag [Sat, 17 Sep 2016 22:06:50 +0000 (01:06 +0300)]
Issue #28176: Increase timeout for test_sock_connect_sock_write_race

8 years agoIssue #26384: Fix UnboundLocalError in socket._sendfile_use_sendfile
Berker Peksag [Sat, 17 Sep 2016 20:22:06 +0000 (23:22 +0300)]
Issue #26384: Fix UnboundLocalError in socket._sendfile_use_sendfile

8 years agoFix test_access_denied in 3.5
Berker Peksag [Sat, 17 Sep 2016 13:20:55 +0000 (16:20 +0300)]
Fix test_access_denied in 3.5

8 years agoIssue #28075: Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat()
Berker Peksag [Sat, 17 Sep 2016 12:49:59 +0000 (15:49 +0300)]
Issue #28075: Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat()

Patch by Eryk Sun.

8 years agoIssue #28139: Fix messed up indentation
Martin Panter [Sat, 17 Sep 2016 03:26:16 +0000 (03:26 +0000)]
Issue #28139: Fix messed up indentation

Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.

8 years agoIssue #25270: Prevent codecs.escape_encode() from raising SystemError when an empty...
Berker Peksag [Fri, 16 Sep 2016 14:31:06 +0000 (17:31 +0300)]
Issue #25270: Prevent codecs.escape_encode() from raising SystemError when an empty bytestring is passed

8 years agoIssue #28181: Get antigravity over HTTPS. Patch by Kaartic Sivaraam.
Christian Heimes [Fri, 16 Sep 2016 11:48:10 +0000 (13:48 +0200)]
Issue #28181: Get antigravity over HTTPS. Patch by Kaartic Sivaraam.

8 years agoIssue #25895: Enable WebSocket URL schemes in urllib.parse.urljoin
Berker Peksag [Fri, 16 Sep 2016 11:43:58 +0000 (14:43 +0300)]
Issue #25895: Enable WebSocket URL schemes in urllib.parse.urljoin

Patch by Gergely Imreh and Markus Holtermann.

8 years agoIssue #28145: Spelling fixes
Martin Panter [Fri, 16 Sep 2016 00:46:05 +0000 (00:46 +0000)]
Issue #28145: Spelling fixes

8 years agoIssue #27759: Fix selectors incorrectly retain invalid file descriptors.
Yury Selivanov [Thu, 15 Sep 2016 23:30:42 +0000 (19:30 -0400)]
Issue #27759: Fix selectors incorrectly retain invalid file descriptors.

Patch by Mark Williams.

8 years agoIssue #28176: Fix callbacks race in asyncio.SelectorLoop.sock_connect.
Yury Selivanov [Thu, 15 Sep 2016 21:56:36 +0000 (17:56 -0400)]
Issue #28176: Fix callbacks race in asyncio.SelectorLoop.sock_connect.

8 years agoIssue #26909: Fix slow pipes IO in asyncio.
Yury Selivanov [Thu, 15 Sep 2016 20:51:48 +0000 (16:51 -0400)]
Issue #26909: Fix slow pipes IO in asyncio.

Patch by INADA Naoki.

8 years agoIssue #26654: Inspect functools.partial in asyncio.Handle.__repr__.
Yury Selivanov [Thu, 15 Sep 2016 19:58:15 +0000 (15:58 -0400)]
Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__.

Patch by iceboy.

8 years agoIssue #28174: Handle when SO_REUSEPORT isn't properly supported (asyncio)
Yury Selivanov [Thu, 15 Sep 2016 19:45:07 +0000 (15:45 -0400)]
Issue #28174: Handle when SO_REUSEPORT isn't properly supported (asyncio)

Patch by Seth Michael Larson.

8 years agoIssue #27906: Fix socket accept exhaustion during high TCP traffic.
Yury Selivanov [Thu, 15 Sep 2016 18:13:15 +0000 (14:13 -0400)]
Issue #27906: Fix socket accept exhaustion during high TCP traffic.

Patch by Kevin Conway.

8 years agoAnother asyncio sync.
Yury Selivanov [Thu, 15 Sep 2016 17:49:08 +0000 (13:49 -0400)]
Another asyncio sync.

8 years agoasyncio: Sync with the upstream
Yury Selivanov [Thu, 15 Sep 2016 17:10:51 +0000 (13:10 -0400)]
asyncio: Sync with the upstream

8 years agoIssue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
Serhiy Storchaka [Wed, 14 Sep 2016 13:34:37 +0000 (16:34 +0300)]
Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().

8 years agoRestrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup()
Christian Heimes [Wed, 14 Sep 2016 08:25:46 +0000 (10:25 +0200)]
Restrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup()

8 years agomerge heads
Benjamin Peterson [Wed, 14 Sep 2016 05:46:37 +0000 (22:46 -0700)]
merge heads

8 years agoimprove type-safe of and prevent double-frees in get_locale_info (#28119)
Benjamin Peterson [Wed, 14 Sep 2016 05:43:45 +0000 (22:43 -0700)]
improve type-safe of and prevent double-frees in get_locale_info (#28119)

8 years agoIssue #26171: Null merge
Berker Peksag [Wed, 14 Sep 2016 05:39:15 +0000 (08:39 +0300)]
Issue #26171: Null merge

8 years agoIssue #26171: Null merge
Berker Peksag [Wed, 14 Sep 2016 05:38:36 +0000 (08:38 +0300)]
Issue #26171: Null merge

8 years agoIssue #26171: Prevent buffer overflow in get_data
Berker Peksag [Wed, 14 Sep 2016 05:37:28 +0000 (08:37 +0300)]
Issue #26171: Prevent buffer overflow in get_data

Backport of 01ddd608b85c.

8 years agoIssue #28131: Fix a regression in zipimport's compile_source()
Berker Peksag [Wed, 14 Sep 2016 05:09:48 +0000 (08:09 +0300)]
Issue #28131: Fix a regression in zipimport's compile_source()

zipimport should use the same optimization level as the interpreter.

8 years agoIssue #15819: Remove old unconditional -IInclude option
Martin Panter [Tue, 13 Sep 2016 12:21:47 +0000 (12:21 +0000)]
Issue #15819: Remove old unconditional -IInclude option

A newer instance of this option, enabled in the configure script when
building outside the source tree, made this redundant.

8 years agoIssue #28104: More accurately document set method signatures
Raymond Hettinger [Tue, 13 Sep 2016 06:38:50 +0000 (23:38 -0700)]
Issue #28104: More accurately document set method signatures

8 years agomerge heads
Benjamin Peterson [Tue, 13 Sep 2016 05:09:11 +0000 (22:09 -0700)]
merge heads

8 years agorestructure fp_setreadl so as to avoid refleaks (closes #27981)
Benjamin Peterson [Tue, 13 Sep 2016 05:06:58 +0000 (22:06 -0700)]
restructure fp_setreadl so as to avoid refleaks (closes #27981)

8 years agoIssue #27952: Capture stderr in run_script()
Berker Peksag [Tue, 13 Sep 2016 04:55:54 +0000 (07:55 +0300)]
Issue #27952: Capture stderr in run_script()

8 years agoIssue #27981: Fix refleak in fp_setreadl()
Berker Peksag [Tue, 13 Sep 2016 04:39:00 +0000 (07:39 +0300)]
Issue #27981: Fix refleak in fp_setreadl()

Patch by David Dudson.

8 years agoIssue #28103: Use ``'...'`` style in zipfile documentation
Berker Peksag [Tue, 13 Sep 2016 01:49:12 +0000 (04:49 +0300)]
Issue #28103: Use ``'...'`` style in zipfile documentation

Patch by Stephen J. Turnbull.

8 years agoIssue #17582: xml.etree.ElementTree nows preserves whitespaces in attributes
Raymond Hettinger [Mon, 12 Sep 2016 06:18:03 +0000 (23:18 -0700)]
Issue #17582: xml.etree.ElementTree nows preserves whitespaces in attributes
(Patch by Duane Griffin.  Reviewed and approved by Stefan Behnel.)

8 years agoIssue #15308: Add 'interrupt execution' (^C) to Shell menu.
Terry Jan Reedy [Mon, 12 Sep 2016 05:50:03 +0000 (01:50 -0400)]
Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.

8 years agoIssue #28045: Fix comment in range_contains_long()
Berker Peksag [Mon, 12 Sep 2016 04:47:04 +0000 (07:47 +0300)]
Issue #28045: Fix comment in range_contains_long()

Patch by wim glenn.

8 years agoIssue #28066: Fix include search directory logic for out-of-tree builds
Martin Panter [Mon, 12 Sep 2016 01:32:03 +0000 (01:32 +0000)]
Issue #28066: Fix include search directory logic for out-of-tree builds

8 years agoIssue #27456: asyncio: Set TCP_NODELAY by default.
Yury Selivanov [Mon, 12 Sep 2016 01:39:31 +0000 (21:39 -0400)]
Issue #27456: asyncio: Set TCP_NODELAY by default.

8 years agoasyncio: Add set_protocol / get_protocol methods to Transports
Yury Selivanov [Mon, 12 Sep 2016 01:11:02 +0000 (21:11 -0400)]
asyncio: Add set_protocol / get_protocol methods to Transports

8 years agoIssue #26511: Reference the id() function in the 'is' and 'is not' docs
Raymond Hettinger [Mon, 12 Sep 2016 00:23:49 +0000 (17:23 -0700)]
Issue #26511:  Reference the id() function in the 'is' and 'is not' docs

8 years agoIssue #28079: Update typing and test typing from python/typing repo.
Guido van Rossum [Sun, 11 Sep 2016 22:34:56 +0000 (15:34 -0700)]
Issue #28079: Update typing and test typing from python/typing repo.

Ivan Levkivskyi (3.5 version)

8 years ago#19003: Only replace \r and/or \n line endings in email.generator.
R David Murray [Sun, 11 Sep 2016 21:22:56 +0000 (17:22 -0400)]
#19003: Only replace \r and/or \n line endings in email.generator.

This is a further restoration of backward compatibility, as well as
being correct per the RFCs.

8 years agoIssue #23105: Updated documentation on open() flag constants.
Vinay Sajip [Sun, 11 Sep 2016 14:15:59 +0000 (15:15 +0100)]
Issue #23105: Updated documentation on open() flag constants.

8 years agoIssue #20100: Clarify that passing flags to epoll() has no effect
Berker Peksag [Sun, 11 Sep 2016 12:45:32 +0000 (15:45 +0300)]
Issue #20100: Clarify that passing flags to epoll() has no effect

8 years agoClosed #26533: expanded on behaviour of logging.config.listen().
Vinay Sajip [Sun, 11 Sep 2016 12:15:06 +0000 (13:15 +0100)]
Closed #26533: expanded on behaviour of logging.config.listen().

8 years agoFixes #25671: Updated prompt handling in activate.fish.
Vinay Sajip [Sun, 11 Sep 2016 11:52:08 +0000 (12:52 +0100)]
Fixes #25671: Updated prompt handling in activate.fish.

8 years agoIssue #27952: Get fixcid.py working with the re module
Martin Panter [Sun, 11 Sep 2016 09:32:26 +0000 (09:32 +0000)]
Issue #27952: Get fixcid.py working with the re module

8 years agoIssue #27991: Remove incorrect sentence about store_true
Berker Peksag [Sun, 11 Sep 2016 10:02:27 +0000 (13:02 +0300)]
Issue #27991: Remove incorrect sentence about store_true

Patch by py.user.

8 years agoRemove the debug print that i accidentally left in.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 11 Sep 2016 03:39:36 +0000 (20:39 -0700)]
Remove the debug print that i accidentally left in.

8 years agoIssue #26141: Update docs for typing.py. Ivan Levkivskyi. (Backport from the 3.6...
Guido van Rossum [Sun, 11 Sep 2016 02:03:22 +0000 (19:03 -0700)]
Issue #26141: Update docs for typing.py. Ivan Levkivskyi. (Backport from the 3.6 version)

8 years agoIssue #28073: Improve wording around None. Michael Lee.
Guido van Rossum [Sun, 11 Sep 2016 01:49:14 +0000 (18:49 -0700)]
Issue #28073: Improve wording around None. Michael Lee.

8 years agoBackported tests for issue #28070.
Serhiy Storchaka [Sat, 10 Sep 2016 22:39:51 +0000 (01:39 +0300)]
Backported tests for issue #28070.

8 years agoIDLE newx items.
Terry Jan Reedy [Sat, 10 Sep 2016 20:24:54 +0000 (16:24 -0400)]
IDLE newx items.

8 years agoCloses #28059: Fixes test_platform to set PYTHONPATH for .pyd files
Steve Dower [Sat, 10 Sep 2016 19:19:42 +0000 (12:19 -0700)]
Closes #28059: Fixes test_platform to set PYTHONPATH for .pyd files

8 years agoIssue #25221: Fix corrupted result from PyLong_FromLong(0) when Python is compiled...
Mark Dickinson [Sat, 10 Sep 2016 19:17:36 +0000 (20:17 +0100)]
Issue #25221: Fix corrupted result from PyLong_FromLong(0) when Python is compiled with NSMALLPOSINTS = 0.

8 years agoIssue #27932: Backs out change
Steve Dower [Sat, 10 Sep 2016 18:52:18 +0000 (11:52 -0700)]
Issue #27932: Backs out change

8 years agoCorrect spelling in documentation and code comment
Martin Panter [Sat, 10 Sep 2016 10:38:28 +0000 (10:38 +0000)]
Correct spelling in documentation and code comment

8 years agoregrtest: accept options after test names
Victor Stinner [Sat, 10 Sep 2016 08:27:28 +0000 (04:27 -0400)]
regrtest: accept options after test names

8 years agoIssue #28019: itertools.count() no longer rounds non-integer step in range
Serhiy Storchaka [Sat, 10 Sep 2016 06:49:24 +0000 (09:49 +0300)]
Issue #28019: itertools.count() no longer rounds non-integer step in range
between 1.0 and 2.0 to 1.

8 years agoUse raw string for regexp
Guido van Rossum [Sat, 10 Sep 2016 04:39:10 +0000 (21:39 -0700)]
Use raw string for regexp

8 years agoIssue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)
Steve Dower [Sat, 10 Sep 2016 01:38:20 +0000 (18:38 -0700)]
Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)

8 years agoIssue #27705: Update message in validate_ucrtbase.py
Steve Dower [Sat, 10 Sep 2016 01:21:15 +0000 (18:21 -0700)]
Issue #27705: Update message in validate_ucrtbase.py

8 years agoIssue #25969: Update the lib2to3 grammar to handle the unpacking
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sat, 10 Sep 2016 01:18:52 +0000 (18:18 -0700)]
Issue #25969: Update the lib2to3 grammar to handle the unpacking
generalizations added in 3.5.

8 years agoremove fix_callable - callable() was readded many releases ago.
Gregory P. Smith [Sat, 10 Sep 2016 01:14:33 +0000 (18:14 -0700)]
remove fix_callable - callable() was readded many releases ago.

8 years agoIssue #27932: Fixes memory leak in platform.win32_ver()
Steve Dower [Sat, 10 Sep 2016 01:01:25 +0000 (18:01 -0700)]
Issue #27932: Fixes memory leak in platform.win32_ver()

8 years agoIssue #25758: Prevents zipimport from unnecessarily encoding a filename (patch by...
Steve Dower [Sat, 10 Sep 2016 00:27:33 +0000 (17:27 -0700)]
Issue #25758: Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun)

8 years ago#14977: Make mailcap respect the order of the lines in the mailcap file.
R David Murray [Sat, 10 Sep 2016 00:04:23 +0000 (20:04 -0400)]
#14977: Make mailcap respect the order of the lines in the mailcap file.

This is required by RFC 1542, so despite the subtle behavior change we
are treating it as a bug.  Patch by Michael Lazar.

8 years agoIssue #22450: Use "Accept: */*" in the default headers for urllib.request
Raymond Hettinger [Fri, 9 Sep 2016 23:43:48 +0000 (16:43 -0700)]
Issue #22450: Use "Accept: */*" in the default headers for urllib.request

8 years agoIssue #25144: Ensures TargetDir is set before continuing with custom install.
Steve Dower [Fri, 9 Sep 2016 23:37:53 +0000 (16:37 -0700)]
Issue #25144: Ensures TargetDir is set before continuing with custom install.

8 years agoIssue 14976: Note that the queue module is not designed to protect against reentrancy
Raymond Hettinger [Fri, 9 Sep 2016 22:57:13 +0000 (15:57 -0700)]
Issue 14976:  Note that the queue module is not designed to protect against reentrancy

8 years agoMerge asyncio upstream.
Guido van Rossum [Fri, 9 Sep 2016 21:26:31 +0000 (14:26 -0700)]
Merge asyncio upstream.

8 years agoIssue #19489: Add NEWS and ACKS
Zachary Ware [Fri, 9 Sep 2016 20:14:42 +0000 (13:14 -0700)]
Issue #19489: Add NEWS and ACKS

8 years agoIssue #19489: Move the search box from sidebar to header and footer.
Zachary Ware [Fri, 9 Sep 2016 20:11:27 +0000 (13:11 -0700)]
Issue #19489: Move the search box from sidebar to header and footer.

8 years agoRename Future._blocking to _asyncio_future_blocking.
Guido van Rossum [Fri, 9 Sep 2016 19:54:54 +0000 (12:54 -0700)]
Rename Future._blocking to _asyncio_future_blocking.

This is now an official "protected" API that can be used to write
classes that are duck-type-compatible with Future without subclassing
it.  (For that purpose I also changed isinstance(result, Future) to
check for this attribute instead.)

Hopefully Amber Brown can use this to make Twisted.Deferred compatible
with asyncio.Future.

Tests and docs are TBD.

8 years agorepair errors in (set|get)_task_factory note (#28051)
Benjamin Peterson [Fri, 9 Sep 2016 19:46:42 +0000 (12:46 -0700)]
repair errors in (set|get)_task_factory note (#28051)

8 years agoAdd a note about queue not being safe for use from signal handlers.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 9 Sep 2016 19:30:34 +0000 (12:30 -0700)]
Add a note about queue not being safe for use from signal handlers.
issue14976.

8 years agoFix make buildbottest to not re-trigger a profile-opt build. issue28035.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 9 Sep 2016 19:22:49 +0000 (12:22 -0700)]
Fix make buildbottest to not re-trigger a profile-opt build. issue28035.