Commit graph

7962 commits

Author SHA1 Message Date
Steve Dower
050acaed99 Issue #6135: Adds encoding and errors parameters to subprocess 2016-09-06 20:16:17 -07:00
Steve Dower
5a71327f35 Issue #27959: Documents new encoding and alias. 2016-09-06 19:46:42 -07:00
Berker Peksag
d519e025d8 Merge from 3.5 2016-09-07 04:03:02 +03:00
Berker Peksag
a1bc246dd5 Use shorter version of Connection.isolation_level in sqlite3.rst 2016-09-07 04:02:41 +03:00
Raymond Hettinger
e8f1e002c6 Issue #18844: Add random.weighted_choices() 2016-09-06 17:15:29 -07:00
Victor Stinner
e66987e626 os.urandom() now blocks on Linux
Issue #27776: The os.urandom() function does now block on Linux 3.17 and newer
until the system urandom entropy pool is initialized to increase the security.

This change is part of the PEP 524.
2016-09-06 16:33:52 -07:00
Raymond Hettinger
e256accd46 Issue #23226: Add linspace() recipe to the docs 2016-09-06 16:35:34 -07:00
Victor Stinner
9b1f474df6 Add os.getrandom()
Issue #27778: Expose the Linux getrandom() syscall as a new os.getrandom()
function.

This change is part of the PEP 524.
2016-09-06 16:18:52 -07:00
Brett Cannon
6fa7aada9b Issue #26027, #27524: Document the support for path-like objects in os and os.path.
This completes PEP 519.
2016-09-06 15:55:02 -07:00
Benjamin Peterson
ef537db688 improve grammar 2016-09-06 14:32:40 -07:00
Benjamin Peterson
d982c8f51e properly introduce reST literal blocks 2016-09-06 13:28:29 -07: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
Zachary Ware
bd63353b74 Deprecate Tix
When building it breaks, we won't be fixing it.
2016-09-05 17:22:24 -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
625cb379f7 Issue #25387: Check return value of winsound.MessageBeep 2016-09-05 17:32:28 -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
8c21ab0ab9 Issue #27744: correct comment and markup 2016-09-06 00:07:02 +02: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
Benjamin Peterson
942dd9f3f7 merge 3.5 (#27957) 2016-09-05 14:03:08 -07:00
Benjamin Peterson
f7e2ea2f33 remove ungrammarical apostrophe (closes #27957) 2016-09-05 14:02:59 -07:00
Raymond Hettinger
c7fac12f19 Merge 2016-09-05 13:15:20 -07:00
Raymond Hettinger
f5b7c7bfc1 Improve recipe by showing results of intermediate steps 2016-09-05 13:15:02 -07:00
Ethan Furman
27682d2698 issue23591: more docs; slight change to repr 2016-09-04 11:39:01 -07:00
Raymond Hettinger
bce9cbaf98 Merge 2016-09-04 11:29:13 -07:00
Raymond Hettinger
871a3340b7 Issue 27936: Update doc for round() to indicate that None is an allowable argument. 2016-09-04 11:28:56 -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
7c4e409d07 Issue #11734: Add support for IEEE 754 half-precision floats to the struct module. Original patch by Eli Stevens. 2016-09-03 17:21:29 +01:00
Ethan Furman
25d94bbf05 issue23591: bool(empty_flags) == False; more docs & tests 2016-09-02 16:32:32 -07:00
Ethan Furman
65a5a47d79 issue23591: add docs; code cleanup; more tests 2016-09-01 23:55:19 -07:00
Vinay Sajip
dd917f84e3 Closes #27904: Improved logging statements to defer formatting until needed. 2016-08-31 08:22:29 +01:00
R David Murray
89b1162511 Merge #27893: arg name and bytes references in email.parser docs. 2016-08-30 21:17:25 -04:00
R David Murray
74eda76085 #27893: arg name and bytes references in email.parser docs.
Perhaps the BytesParser 'text' argument should really be bytes, but
it hasn't been, it has been text, so for backward compatibility
and for consistency with the regular Parser class, I'm keeping it
as 'text'.
2016-08-30 21:17:02 -04:00
Terry Jan Reedy
3399e1e38c ? Working Directory ? 2016-08-30 16:58:01 -04:00
Raymond Hettinger
4ff1daa4ba Merge 2016-08-30 13:46:29 -07:00
Raymond Hettinger
9c4ee752c0 Issue #28894: Fix to_addrs refs in smtplib docs 2016-08-30 13:43:53 -07:00
Raymond Hettinger
624e222604 Fix typos 2016-08-30 13:25:06 -07:00
Raymond Hettinger
43ca452887 Issue #27842: The csv.DictReader now returns rows of type OrderedDict. 2016-08-30 12:35:50 -07:00
Raymond Hettinger
15f44ab043 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-08-30 10:47:49 -07:00