Commit graph

40195 commits

Author SHA1 Message Date
Berker Peksag
3580b03352 Issue #21250: Merge from 3.5 2016-09-07 02:05:16 +03: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
Brett Cannon
ec6ce879c7 Issue #26027: Support path-like objects in PyUnicode-FSConverter().
This is to add support for os.exec*() and os.spawn*() functions. Part
of PEP 519.
2016-09-06 15:50:29 -07:00
Zachary Ware
c401881d68 Closes #27982: Allow keyword arguments to winsound functions 2016-09-06 16:32:43 -05:00
Christian Heimes
fe3c9c1ee9 Issue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs. 2016-09-06 23:27:06 +02: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
Serhiy Storchaka
90493ab30c Issue #25761: Improved error reporting about truncated pickle data in
C implementation of unpickler.  UnpicklingError is now raised instead of
AttributeError and ValueError in some cases.
2016-09-06 23:55:11 +03:00
Christian Heimes
121b9487d1 Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib. 2016-09-06 22:03:25 +02:00
Serhiy Storchaka
28ab634fa6 Issue #25596: Optimized glob() and iglob() functions in the
glob module; they are now about 3--6 times faster.
2016-09-06 22:33:41 +03:00
Serhiy Storchaka
ea525a2d1a Issue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation. 2016-09-06 22:07:53 +03:00
Christian Heimes
39093e9e68 Issue #27928: Add scrypt (password-based key derivation function) to hashlib module (requires OpenSSL 1.1.0). 2016-09-06 20:22:28 +02:00
Christian Heimes
ac041c0aa7 Issues #27850 and #27766: Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305. 2016-09-06 20:07:58 +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
45c7514de4 merge 3.5 (#27969) 2016-09-06 10:06:51 -07:00
Benjamin Peterson
cbef66d711 suppress stderr output when checking gdb (closes #27969) 2016-09-06 10:06:31 -07:00
Christian Heimes
582282b7d0 Issue 27866: relax get_cipher() test even more. Gentoo buildbot has no ECDHE 2016-09-06 11:27:25 +02:00
Christian Heimes
407380f63f Issue 27744: skip test if AF_ALG socket bind fails 2016-09-06 11:14:09 +02:00
Christian Heimes
ea9b2dc9e3 Issue 27866: relax test case for set_cipher() and allow more cipher suites 2016-09-06 10:45:44 +02:00
Martin Panter
b745f920c9 Issue #27355: Import no longer needed 2016-09-06 02:18:16 +00:00
Benjamin Peterson
ed4aa83ff7 require a long long data type (closes #27961) 2016-09-05 17:44:18 -07:00
Senthil Kumaran
56b4872ff5 [merge from 3.5] - Update pkgutil docs to reference appropriate finder and loader object documentation.
Initial patch contributed by Jaysinh shukla.
2016-09-05 17:16:06 -07: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
7eacdcc3b8 Issue #27748: Merge with 3.5 2016-09-05 18:10:32 -05:00
Zachary Ware
f4a7381719 Issue #27748: Backed out changeset f845e24d794e
Apparently the test succeeds on XP.
2016-09-05 18:08:27 -05:00
Christian Heimes
04960a21fb Issue 27744: AES-CBC and DRBG need Kernel 3.19+ 2016-09-06 00:58:47 +02:00
Benjamin Peterson
a9ab165cd2 os.access does not allow a fd 2016-09-05 15:40:59 -07:00
Christian Heimes
4837141def Issue 27744: Check for AF_ALG support in Kernel 2016-09-06 00:37:46 +02:00
Zachary Ware
cefebf3cbe Issue #27748: Merge with 3.5 2016-09-05 17:24:45 -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
Larry Hastings
10108a7b9a Issue #27355: Removed support for Windows CE. It was never finished,
and Windows CE is no longer a relevant platform for Python.
2016-09-05 15:11:23 -07:00
Christian Heimes
25bfcd5d9e Issue #27866: Add SSLContext.get_ciphers() method to get a list of all enabled ciphers. 2016-09-06 00:04:45 +02:00
Christian Heimes
dffa3949c7 Issue #27744: Add AF_ALG (Linux Kernel crypto) to socket module. 2016-09-05 23:54:41 +02:00
Eric Snow
92a6c170e6 Issue #24254: Preserve class attribute definition order. 2016-09-05 14:50:11 -07:00
Christian Heimes
01113faef9 Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0. 2016-09-05 23:23:24 +02:00
Zachary Ware
ae8298bfb7 Closes #11620: Fix support for SND_MEMORY in winsound.PlaySound.
Based on a patch by Tim Lesher.
2016-09-05 16:31:21 -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
0e76e67246 Closes #27748: Merge with 3.5 2016-09-05 16:15:20 -05: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
ff79396c83 fix skipping #27921 for windows 2016-09-05 11:13:07 -07:00
Benjamin Peterson
98020812e6 merge 3.5 (closes #27811) 2016-09-05 10:16:31 -07: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
4847f3194d Merge with 3.5 2016-09-05 00:01:47 -04: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
Ethan Furman
27682d2698 issue23591: more docs; slight change to repr 2016-09-04 11:39:01 -07:00
Raymond Hettinger
6579502c7e Merge 2016-09-04 11:17:48 -07:00
Raymond Hettinger
16eb827b33 Improve docs for random.seed() 2016-09-04 11:17:28 -07:00
Mark Dickinson
31ba1c3de8 Issue #27427: Additional tests for the math module. Thanks Francisco Couzo. 2016-09-04 12:29:14 +01:00
Mark Dickinson
85746542ea Issue #27953: skip failing math and cmath tests for tan on OS X 10.4. 2016-09-04 09:58:51 +01:00
Mark Dickinson
96f774d824 Issue #26040: Improve test_math and test_cmath coverage and rigour. Thanks Jeff Allen. 2016-09-03 19:30:22 +01:00
Eric V. Smith
06cf601e4f Issue 27921: Remove backslash from another f-string. I'll revert this change before beta 2. I also need to look in to why test_tools/test_unparse fails with the files that are now being skipped. 2016-09-03 12:33:38 -04:00