Guido van Rossum
1140a03426
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.
2016-09-09 12:54:54 -07:00
R David Murray
94a7927cc6
#28047 : Fix calculation of base64 line length.
...
This is buggy in the old email code as well, but it doesn't affect anything
there because only the default line length is ever used there.
2016-09-09 15:00:09 -04:00
Steve Dower
41519b2ca8
Issue #26513 : Fixes platform module detection of Windows Server
2016-09-09 09:46:56 -07:00
Donald Stufft
6bde454f9e
Merge 3.4
2016-09-09 12:14:43 -04:00
Donald Stufft
16d7d5941d
Upgrade setuptools to 27.1.2
2016-09-09 12:08:53 -04:00
Donald Stufft
621333d227
Merge 3.4
2016-09-09 11:35:43 -04:00
Donald Stufft
d25d9dc1fc
Upgrade setuptools to 27.1.1
2016-09-09 11:35:02 -04:00
R David Murray
eaab1ca558
#27630 : Be consistent in how _XXX/_encoded_XXX vars are initialized.
2016-09-08 22:21:27 -04:00
Raymond Hettinger
262b6793e0
Issue #26020 : Fix evaluation order for set literals
2016-09-08 14:40:36 -07:00
Senthil Kumaran
5dc504c3c9
Issue28010 - Make http.client.HTTPConnection.putrequest documentation consistent with the code.
2016-09-08 14:28:01 -07:00
Davin Potts
37156a70b9
Issue #21201 : Improves readability of multiprocessing error message from server to client for certain exceptions
2016-09-08 14:40:36 -05:00
Berker Peksag
2b2a9be913
Issue #27445 : Don't pass str(_charset) to MIMEText.set_payload()
...
Patch by Claude Paroz.
2016-09-08 19:40:30 +03:00
Senthil Kumaran
82733fac8d
Issue11551 - Increase the test coverage of _dummy_thread module to 100%.
...
Initial patch contributed by Denver Coneybeare.
2016-09-08 02:46:22 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
9719161858
Fix indentation (reindent.py).
2016-09-08 00:48:07 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
dd1c638b92
lib2to3.pgen3.driver.load_grammar() now creates a stable cache file
...
between runs given the same Grammar.txt input regardless of the hash
randomization setting.
2016-09-08 00:40:07 +00:00
Vinay Sajip
d61910c598
Fixes #27930 : improved QueueListener behaviour.
2016-09-08 01:13:39 +01:00
Martin Panter
0f0eac431f
Issue #27993 : Fix problems with plural objects in docs and comments
2016-09-07 11:04:41 +00:00
Martin Panter
0be894b2f6
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-09-07 12:03:06 +00:00
Martin Panter
be8da9c990
Issue #27570 : Avoid zero-length memcpy() calls with null source pointers
2016-09-07 11:04:41 +00:00
R David Murray
dc1650ca06
#22233 : Only split headers on \r and/or \n, per email RFCs.
...
Original patch by Martin Panter, new policy fixes by me.
2016-09-07 17:44:34 -04:00
R David Murray
c2e2473bc2
27988: Make sure iter_attachments does not mutate the payload list.
2016-09-07 13:39:36 -04:00
Benjamin Peterson
48c88307d8
capture stderr to silence output during test_coroutines ( closes #27968 )
2016-09-07 09:00:48 -07:00
Senthil Kumaran
32d374215a
[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".
2016-09-07 00:52:20 -07:00
Berker Peksag
4bf580d6d5
Issue #21250 : Add tests for SQLite's ON CONFLICT clause
...
Initial patch by Alex LordThorsen.
2016-09-07 02:04:34 +03:00
Christian Heimes
1c03abd026
Issue #27691 : Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs.
2016-09-06 23:25:35 +02:00
Christian Heimes
03d13c0cbf
Issues #27850 and #27766 : Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305.
2016-09-06 20:06:47 +02:00
Benjamin Peterson
cbef66d711
suppress stderr output when checking gdb ( closes #27969 )
2016-09-06 10:06:31 -07:00
Jason R. Coombs
1f5fd648b1
Issue #27960 : Revert state to 675e20c38fdac6, backing out all changes by developed for Issue #12885 .
2016-09-05 22:24:01 -04:00
Senthil Kumaran
4672060d86
Update pkgutil docs to reference appropriate finder and loader object documentation.
...
Initial patch contributed by Jaysinh shukla.
2016-09-05 17:11:51 -07:00
Zachary Ware
f4a7381719
Issue #27748 : Backed out changeset f845e24d794e
...
Apparently the test succeeds on XP.
2016-09-05 18:08:27 -05:00
Zachary Ware
9ed756bc21
Issue #27748 : strengthen test_alias_nofallback
...
This test should always raise RuntimeError.
2016-09-05 17:19:35 -05:00
Christian Heimes
598894ff48
Issue #26470 : Port ssl and hashlib module to OpenSSL 1.1.0.
2016-09-05 23:19:05 +02:00
Zachary Ware
b3b7a5a16b
Issue #27748 : Simplify test_winsound.
...
The tests no longer attempt to figure out if a soundcard or particular
system sounds are available. Instead, it just tries everything and
accepts RuntimeError as a flavor of success.
2016-09-05 16:06:56 -05:00
Benjamin Peterson
2f40ed4b94
do not allow _PyGen_Finalize to fail ( closes #27811 )
...
Patch from Armin Rigo.
2016-09-05 10:14:54 -07:00
Terry Jan Reedy
fb5ce7eea1
Issue #27918# test.resource.is_gui_available no longer flashes tk window.
...
Also, don't run it if 'gui' is not requested. Patch by Xiang Zhang.
2016-09-05 00:01:34 -04:00
Raymond Hettinger
16eb827b33
Improve docs for random.seed()
2016-09-04 11:17:28 -07:00
Vinay Sajip
ab7b0a03b5
Fixes #27937 : optimise code used in all logging calls.
2016-09-03 16:50:09 +01:00
Raymond Hettinger
f0f1c239e4
Issue 27936: Fix inconsistent round() behavior between float and int
2016-09-03 01:55:11 -07:00
Jason R. Coombs
79ae9671ff
Issue #12885 : Revert commits in 3.4 branch which is security-only fixes.
2016-09-01 23:27:45 -04:00
Jason R. Coombs
b44c849de4
Merge backout for test suite fix
2016-09-01 21:59:46 -04:00
Jason R. Coombs
8ac147d6ee
Backed out changeset cc86e9e102e8
2016-09-01 21:55:22 -04:00
Jason R. Coombs
65e3319283
Issue #12285 : Merge with 3.4
2016-09-01 21:15:04 -04:00
Serhiy Storchaka
2891492d23
Issue #27881 : Fixed possible bugs when setting sqlite3.Connection.isolation_level.
...
Based on patch by Xiang Zhang.
2016-09-01 22:18:03 +03:00
Terry Jan Reedy
00b1e0f7ea
Issue #27922 : IDLE tests no longer flash tk widgets.
2016-08-31 21:03:16 -04:00
Raymond Hettinger
c7bab7cbf5
Issue #27706 : Fix regression in random.seed(somestr, version=1)
2016-08-31 15:01:08 -07:00
Guido van Rossum
4786787c07
Fix ordering issues in UNIX read/write pipe transport constructors.
...
Upstream https://github.com/python/asyncio/pull/408 by Ron Frederick.
2016-08-31 09:42:38 -07:00
Guido van Rossum
8b7918a7e2
Don't select for read on character devices in _UnixWritePipeTransport.
...
Upstream https://github.com/python/asyncio/pull/374 by Ron Frederick.
2016-08-31 09:40:18 -07:00
Guido van Rossum
09c22adadf
Issue #27907 : variable rename. (Ville Skyttä)
2016-08-31 09:08:41 -07:00
Terry Jan Reedy
3399e1e38c
? Working Directory ?
2016-08-30 16:58:01 -04:00
Zachary Ware
5cf1c6cb62
Skip test_tools.test_i18n when pygettext.py is missing
2016-08-30 10:00:26 -05:00