Commit Graph

95597 Commits

Author SHA1 Message Date
Christian Heimes
32a2ceead7 Bypass __get_openssl_constructor() and always use our own blake2 implementation 2016-09-07 02:35:13 +02:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
cd14d5d299 Correct a comment in the test referencing the wrong issue number (issue3100
is correct, not 3110).
2016-09-07 00:22:22 +00:00
Brett Cannon
aee52ccc85 Merge 2016-09-06 17:16:41 -07:00
Brett Cannon
bfeec2262a Merge for #26359 2016-09-06 17:16:11 -07:00
Raymond Hettinger
e8f1e002c6 Issue #18844: Add random.weighted_choices() 2016-09-06 17:15:29 -07:00
Brett Cannon
8c94f97465 Issue #26359: Add the --with-optimizations flag. 2016-09-06 17:15:21 -07:00
Brett Cannon
63d98bcd4c Issue #26359: Add the --with-optimizations configure flag.
The flag will activate LTO and PGO build support when available.
Thanks to Alecsandur Patrascu of Intel for the original patch.
2016-09-06 17:12:40 -07:00
Victor Stinner
62ec3317d2 Optimize unicode_escape and raw_unicode_escape
Issue #16334. Patch written by Serhiy Storchaka.
2016-09-06 17:04:34 -07:00
Victor Stinner
9f2a920182 Issue #27776: include process.h on Windows for getpid() 2016-09-06 17:03:03 -07:00
Victor Stinner
2740e46089 _PyUnicodeWriter: assert that max character <= MAX_UNICODE 2016-09-06 16:58:36 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
c083476bde Fixes issue26307: The profile-opt build now applys PGO to the built-in modules. 2016-09-06 23:58:32 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
653c850919 Fixes issue26307: The profile-opt build now applys PGO to the built-in
modules.
2016-09-06 23:56:54 +00:00
Zachary Ware
3cdaaafe2e Add libpython*.dylib to .{hg,git}ignore 2016-09-06 16:46:22 -07:00
Christian Heimes
7ba8337562 Issue #26798: Hello Winndows, my old friend. I've come to fix blake2 for you again. 2016-09-07 01:45:22 +02: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
Christian Heimes
59a0464af4 Download hashlib test vectors from pythontest.net 2016-09-07 01:21:14 +02:00
Brett Cannon
eaecc692df Issue #27974: Remove importlib._bootstrap._ManageReload.
Class was dead code. Thanks to Xiang Zhang for the patch.
2016-09-06 16:20:46 -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
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
2784c5bb6e Darn you, Benjamin! 2016-09-06 15:58:40 -07:00
Benjamin Peterson
7103ff94eb merge heads 2016-09-06 15:57:48 -07:00
Brett Cannon
e644f5a799 Merge for #27872 doc changes 2016-09-06 15:57:35 -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
0cf223873e merge 3.5 2016-09-06 15:54:38 -07:00
Benjamin Peterson
01c340da23 do not leak addrinfo in configure test 2016-09-06 15:54:24 -07:00
Victor Stinner
581139cb34 Run Argument Clinic on posixmodule.c
Issue #17884.
2016-09-06 15:54:20 -07: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
Christian Heimes
dc5a3fe4ef Issue #26798: for loop initial declarations, take 3 2016-09-07 00:32:06 +02:00
Christian Heimes
9c2f304103 Issue #26798: for loop initial declarations, take 2 2016-09-07 00:09:22 +02:00
Ned Deily
8482ce4868 Issue #21122: Fix LTO builds on OS X.
Patch by Brett Cannon.
2016-09-06 15:09:20 -07:00
Berker Peksag
b84fd04f39 Remove redundant bullet point in 3.6.rst 2016-09-07 01:07:06 +03:00
Benjamin Peterson
dfc853c527 shut up some perfectly innocent reST in hashlib-blake2 2016-09-06 14:37:37 -07:00
Zachary Ware
c401881d68 Closes #27982: Allow keyword arguments to winsound functions 2016-09-06 16:32:43 -05:00
Benjamin Peterson
ef537db688 improve grammar 2016-09-06 14:32:40 -07: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
Christian Heimes
87bf0febcb Issue #26798: for loop initial declarations are only allowed in C99 or C11 mode 2016-09-06 23:18:03 +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
Benjamin Peterson
df6ff7bcca add back SIZEOF_UINTPTR_T 2016-09-06 13:53:14 -07:00
Benjamin Peterson
ca47063998 replace Py_(u)intptr_t with the c99 standard types 2016-09-06 13:47:26 -07:00
Christian Heimes
3c397e4c39 Fix out-of-tree builds for blake2 2016-09-06 22:35:14 +02:00
Benjamin Peterson
b9d9eeda2a require uintptr_t to exist 2016-09-06 13:33:56 -07:00
Benjamin Peterson
d982c8f51e properly introduce reST literal blocks 2016-09-06 13:28:29 -07:00
Benjamin Peterson
9b3d77052f replace Python aliases for standard integer types with the standard integer types (#17884) 2016-09-06 13:24:00 -07:00
Benjamin Peterson
88bd3edb3e only include inttypes.h (#17884) 2016-09-06 13:05:58 -07:00
Christian Heimes
121b9487d1 Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib. 2016-09-06 22:03:25 +02:00
Benjamin Peterson
5d75f441ef dtoa.c: remove code for platforms with 64-bit integers (#17884) 2016-09-06 12:44:21 -07:00
Benjamin Peterson
bbeedc261f include (now) int standard headers 2016-09-06 12:41:06 -07:00