Guido van Rossum
e848cd7605
Issue #27905 : Docs for typing.Type[C], by Michael Lee.
2016-09-06 21:12:44 -07:00
Benjamin Peterson
4b9abf3a27
merge 3.5
2016-09-06 20:42:17 -07:00
Steve Dower
19ab0fd456
Issue #27731 : Opt-out of MAX_PATH on Windows 10
2016-09-06 20:40:11 -07:00
Benjamin Peterson
33d2a492d0
promote some shifts to unsigned, so as not to invoke undefined behavior
2016-09-06 20:40:04 -07:00
Benjamin Peterson
437df90537
get skipIf from the right place
2016-09-06 20:22:41 -07:00
Steve Dower
050acaed99
Issue #6135 : Adds encoding and errors parameters to subprocess
2016-09-06 20:16:17 -07:00
Victor Stinner
173a1f3dc7
Fix test_os.GetRandomTests()
...
Issue #27778 : Skip getrandom() tests if getrandom() fails with ENOSYS.
2016-09-06 19:57:40 -07:00
Steve Dower
6cebd48425
Issue #27959 : Updates NEWS and whatsnew
2016-09-06 19:55:55 -07:00
Steve Dower
5a71327f35
Issue #27959 : Documents new encoding and alias.
2016-09-06 19:46:42 -07:00
Steve Dower
f5aba58480
Issue #27959 : Adds oem encoding, alias ansi to mbcs, move aliasmbcs to codec lookup
2016-09-06 19:42:27 -07:00
Steve Dower
22d0698d3b
Adds test.support.PGO and skips tests that are not useful for PGO.
2016-09-06 19:38:15 -07:00
Brett Cannon
a571120410
Issue #27182 : Add support for path-like objects to PyUnicode_FSDecoder().
2016-09-06 19:36:01 -07:00
Steve Dower
a439191efa
Fix some warnings from MSVC
2016-09-06 19:09:15 -07:00
Benjamin Peterson
35b40c65f6
merge 3.5
2016-09-06 19:04:37 -07:00
Benjamin Peterson
4a757609d1
do not memcpy from NULL
2016-09-06 19:03:40 -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
Benjamin Peterson
05448a62ae
merge 3.5
2016-09-06 17:58:44 -07:00
Benjamin Peterson
5a7d923e75
make sure to not call memcpy with a NULL second argument
2016-09-06 17:58:25 -07:00
Christian Heimes
cc554b65f1
Silence two warnings in blake2. key_length is between 0 and 64 (block size).
2016-09-07 02:49:11 +02:00
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