Commit graph

92826 commits

Author SHA1 Message Date
Serhiy Storchaka
efb778a843 Fixed markup and spaces in Misc/NEWS. 2015-12-18 19:37:02 +02:00
Serhiy Storchaka
d1f20d1cf3 Fixed markup and spaces in Misc/NEWS. 2015-12-18 19:36:24 +02:00
Serhiy Storchaka
42bb126f0a Issue #25899: Converted Objects/listsort.txt to UTF-8.
Original patch by Chris Angelico.
2015-12-18 13:23:33 +02:00
Serhiy Storchaka
dc7a91f787 Issue #25899: Fixed typo in .bzrignore. 2015-12-18 13:13:29 +02:00
Serhiy Storchaka
581e56acc9 Issue #25899: Fixed typo in .bzrignore. 2015-12-18 13:12:33 +02:00
Serhiy Storchaka
3fd4a735d8 Issue #25899: Converted non-ASCII characters in docstrings and manpage
to ASCII replacements.  Removed UTF-8 BOM from Misc/NEWS.
Original patch by Chris Angelico.
2015-12-18 13:10:37 +02:00
Serhiy Storchaka
225821c653 Issue #25899: Converted non-ASCII characters in docstrings and manpage
to ASCII replacements.  Original patch by Chris Angelico.
2015-12-18 13:05:04 +02:00
Serhiy Storchaka
be22a911ff Test UTF-32LE before UTF-16LE since UTF-16LE BOM is a prefix of UTF-32LE BOM. 2015-12-18 10:23:29 +02:00
Serhiy Storchaka
29e2aa696d Test UTF-32LE before UTF-16LE since UTF-16LE BOM is a prefix of UTF-32LE BOM. 2015-12-18 10:23:09 +02:00
Serhiy Storchaka
f8ed0044f6 Issue #25889: Got rid of warning about mixing signed/unsigned char pointers. 2015-12-18 10:19:30 +02:00
Serhiy Storchaka
8bc2b4d522 Issue #25890: Removed yet one unused variable. 2015-12-18 10:06:58 +02:00
Serhiy Storchaka
9b3a2eec1c Issues #25890, #25891, #25892: Removed unused variables in Windows code.
Reported by Alexander Riccio.
2015-12-18 10:03:13 +02:00
Serhiy Storchaka
9bb0958b23 Issue #25893: Removed unused variable reqdSize.
Added test for return code for the last RegQueryValueExW.
2015-12-18 09:54:59 +02:00
Serhiy Storchaka
e0cb9da9d6 Issue #25893: Removed unused variable reqdSize.
Added test for return code for the last RegQueryValueExW.
2015-12-18 09:54:19 +02:00
Yury Selivanov
7f955ab16a Merge 3.5 2015-12-17 18:26:53 -05:00
Yury Selivanov
3dc74bf703 docs: Document ASYNC/AWAIT tokens (issue #25580)
Initial patch by SilentGhost
2015-12-17 18:26:41 -05:00
Martin Panter
7f27d4382e Merge from 3.5 2015-12-17 10:35:05 +00:00
Martin Panter
b84ef715b8 Merge 3.4 into 3.5 2015-12-17 10:34:44 +00:00
Martin Panter
afaf3544aa Merge typo fixes from 3.5 2015-12-17 10:20:21 +00:00
Martin Panter
6f9b010242 Fix a couple of typos in code comments 2015-12-17 10:18:28 +00:00
Yury Selivanov
90791ce220 Merge 3.5 2015-12-16 21:31:15 -05:00
Yury Selivanov
9920e293c3 Merge 3.4 2015-12-16 21:31:04 -05:00
Yury Selivanov
cba0053bef docs/asyncio: Twek sections names per Nick Coghlan suggestion 2015-12-16 21:30:52 -05:00
Yury Selivanov
d4222dba18 Merge 3.5 2015-12-16 20:41:39 -05:00
Yury Selivanov
c4e27e277c Merge 3.4 2015-12-16 20:41:25 -05:00
Yury Selivanov
ea4ce1c776 asyncio/tests: Fix a ResourceWarning due to unclosed loop 2015-12-16 20:41:11 -05:00
Yury Selivanov
29832bb19d Merge 3.5 2015-12-16 20:23:47 -05:00
Yury Selivanov
152c408ed6 Merge 3.4 2015-12-16 20:23:37 -05:00
Yury Selivanov
3cd863c86e asyncio/tests: Fix ResourceWarnings related to unclosed transports 2015-12-16 20:23:26 -05:00
Yury Selivanov
9f79a705ab Merge 3.5 2015-12-16 19:51:31 -05:00
Yury Selivanov
bcf8afd015 Merge 3.4 2015-12-16 19:51:19 -05:00
Yury Selivanov
5f68ca66bf asyncio/tests: Fix some ResourceWarnings 2015-12-16 19:51:09 -05:00
Yury Selivanov
94a35cc4f8 Merge 3.5 2015-12-16 19:40:23 -05:00
Yury Selivanov
e277a3dc51 Merge 3.4 2015-12-16 19:40:11 -05:00
Yury Selivanov
aa78adc589 asyncio/tests: Fix deprecation warning 2015-12-16 19:40:03 -05:00
Yury Selivanov
88aa2dc1ac Merge 3.5 2015-12-16 19:36:01 -05:00
Yury Selivanov
a3f82bad16 Merge 3.4 2015-12-16 19:35:39 -05:00
Yury Selivanov
ec45226eeb Normalize whitespace 2015-12-16 19:35:30 -05:00
Yury Selivanov
1215227d1f Merge 3.5 2015-12-16 19:31:55 -05:00
Yury Selivanov
631546cf92 Merge 3.4 2015-12-16 19:31:40 -05:00
Yury Selivanov
d5c2a62100 asyncio: Skip getaddrinfo if host is already resolved.
getaddrinfo takes an exclusive lock on some platforms, causing clients to queue
up waiting for the lock if many names are being resolved concurrently. Users
may want to handle name resolution in their own code, for the sake of caching,
using an alternate resolver, or to measure DNS duration separately from
connection duration. Skip getaddrinfo if the "host" passed into
create_connection is already resolved.

See https://github.com/python/asyncio/pull/302 for details.

Patch by A. Jesse Jiryu Davis.
2015-12-16 19:31:17 -05:00
Martin Panter
5d120e9522 Issue #23788: Merge test_bad_address() cleanup from 3.5 2015-12-16 05:04:29 +00:00
Martin Panter
a7f9933efa Issue #23788: Merge redundant test_bad_address() into test_urllibnet
In Python 2, these were duplicated; one for urllib.urlopen() and one for
urllib2.urlopen(). The test_urllibnet version has a better precondition to
avoid false failures with bad DNS, and the test_urllib2_localnet version had
a more up-to-date comment and domain name.
2015-12-16 04:36:20 +00:00
Victor Stinner
129a414490 Issue #25868: Try to make test_eintr.test_sigwaitinfo() more reliable
especially on slow buildbots

Use a pipe to synchronize the parent and the child processes.
2015-12-15 11:29:59 +01:00
Raymond Hettinger
e4495877dd Minor tweek. Counting down rather than up reduces register pressure. 2015-12-15 00:42:30 -08:00
Yury Selivanov
f4f67e52b4 Merge 3.5 2015-12-15 00:45:39 -05:00
Yury Selivanov
e319ab01ce docs/asyncio: Update ensure_future & run_coroutine_threadsafe docs 2015-12-15 00:45:24 -05:00
Yury Selivanov
2c008d83dc Merge 3.5 2015-12-15 00:38:38 -05:00
Yury Selivanov
4a18b35dbd docs/whatsnew/3.5: Fix ref link 2015-12-15 00:38:28 -05:00
Yury Selivanov
e93f407a0f Merge 3.5 2015-12-15 00:30:32 -05:00