Commit graph

94786 commits

Author SHA1 Message Date
Serhiy Storchaka
0702d4d245 Use correct PyGC_Head size in tests for issue #25421. 2015-12-19 22:51:00 +02:00
Serhiy Storchaka
9c297e43bf Use correct PyGC_Head size in tests for issue #25421. 2015-12-19 22:49:29 +02:00
Serhiy Storchaka
a9406e77fa Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
2015-12-19 20:07:11 +02:00
Serhiy Storchaka
5c4064e8bd Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
2015-12-19 20:05:25 +02:00
Serhiy Storchaka
a254921cd4 Issue #22227: The TarFile iterator is reimplemented using generator.
This implementation is simpler that using class.
2015-12-19 09:43:14 +02:00
Terry Jan Reedy
de20bad224 Merge with 3.5 2015-12-18 15:47:28 -05:00
Terry Jan Reedy
efd7b34d7c Merge with 3.4 2015-12-18 15:47:13 -05:00
Terry Jan Reedy
5aeadb3fba Issue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK. 2015-12-18 15:46:57 -05:00
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