Commit graph

99301 commits

Author SHA1 Message Date
Raymond Hettinger
f0cb7f4a7e merge 2016-11-17 01:50:16 -08:00
Raymond Hettinger
a3950e42b0 Small edits to the docs for sample() and shuffle(). 2016-11-17 01:49:54 -08:00
Raymond Hettinger
b2d6bd0fbd merge 2016-11-17 00:45:51 -08:00
Raymond Hettinger
0a1a909fe2 Further refinements to the examples and recipes for the random module 2016-11-17 00:45:35 -08:00
Xavier de Gaye
ac05f88582 Issue #26926: Merge 3.6 2016-11-17 09:22:43 +01:00
Xavier de Gaye
877f036950 Issue #26926: Skip some test_io tests on platforms without large file support 2016-11-17 09:20:28 +01:00
Xavier de Gaye
56758354c8 Issue 26931: Merge 3.6 2016-11-17 09:01:58 +01:00
Xavier de Gaye
dfc13e069a Issue 26931: Skip the test_distutils tests using a compiler executable
that is not found
2016-11-17 09:00:19 +01:00
Raymond Hettinger
b7a45d448e merge 2016-11-16 22:56:37 -08:00
Raymond Hettinger
00305ade58 Add another example to the recipes section of the random docs 2016-11-16 22:56:11 -08:00
Raymond Hettinger
e92245b3df merge 2016-11-16 21:34:39 -08:00
Raymond Hettinger
2589ee3e2b Minor touch-ups to the random module examples 2016-11-16 21:34:17 -08:00
Steve Dower
cb9d10fecb Null merge from 3.6 2016-11-16 16:35:53 -08:00
Steve Dower
be1ed8b028 Merge from 3.5 2016-11-16 16:35:40 -08:00
Steve Dower
c851817aaa Fixes incorrect path in nuget package build. 2016-11-16 16:32:22 -08:00
Yury Selivanov
6592dbd2a8 Merge 3.6 (issue #28720) 2016-11-16 18:25:48 -05:00
Yury Selivanov
22214ab0af Issue #28720: Add collections.abc.AsyncGenerator. 2016-11-16 18:25:04 -05:00
Yury Selivanov
bb2356500c Merge 3.6 (issue #28721) 2016-11-16 18:16:32 -05:00
Yury Selivanov
41782e4970 Issue #28721: Fix asynchronous generators aclose() and athrow() 2016-11-16 18:16:17 -05:00
Serhiy Storchaka
27b74244fb Issue #28701: _PyUnicode_EqualToASCIIId and _PyUnicode_EqualToASCIIString now
require ASCII right argument and assert this condition in debug build.
2016-11-16 20:03:03 +02:00
Serhiy Storchaka
a83a6a3275 Issue #28701: _PyUnicode_EqualToASCIIId and _PyUnicode_EqualToASCIIString now
require ASCII right argument and assert this condition in debug build.
2016-11-16 20:02:44 +02:00
Kushal Das
dfe2387e79 Closes #28713 uses OSError in the tutorial 2016-11-16 21:17:54 +05:30
Kushal Das
ecbca357c9 Closes #28713 uses OSError in the tutorial 2016-11-16 21:13:43 +05:30
Serhiy Storchaka
e6d6131f78 Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701). 2016-11-16 16:13:13 +02:00
Serhiy Storchaka
df66b9c425 Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701). 2016-11-16 16:12:56 +02:00
Serhiy Storchaka
292dd1b2ad Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701). 2016-11-16 16:12:34 +02:00
Serhiy Storchaka
503db266a5 Issue #21449: Removed private function _PyUnicode_CompareWithId. 2016-11-16 15:56:50 +02:00
Serhiy Storchaka
dddec81b2d Issue #21449: Removed private function _PyUnicode_CompareWithId. 2016-11-16 15:56:27 +02:00
Serhiy Storchaka
29a5447360 Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
The latter function is more readable, faster and doesn't raise exceptions.

Based on patch by Xiang Zhang.
2016-11-16 15:41:31 +02:00
Serhiy Storchaka
fab6acd9f5 Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
The latter function is more readable, faster and doesn't raise exceptions.

Based on patch by Xiang Zhang.
2016-11-16 15:41:11 +02:00
Serhiy Storchaka
f5894dd646 Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
The latter function is more readable, faster and doesn't raise exceptions.

Based on patch by Xiang Zhang.
2016-11-16 15:40:39 +02:00
Serhiy Storchaka
1a73bf365e Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
2016-11-16 10:19:57 +02:00
Serhiy Storchaka
3b73ea1278 Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
2016-11-16 10:19:20 +02:00
Serhiy Storchaka
f4934ea77d Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
2016-11-16 10:17:58 +02:00
Xavier de Gaye
1e2784e0b3 Issue #26935: Merge 3.6 2016-11-16 08:06:12 +01:00
Xavier de Gaye
21060105d9 Issue #26935: Fix broken Android dup2() in test_os 2016-11-16 08:05:27 +01:00
Xavier de Gaye
afa94a5a3e Issue #26920: Merge 3.6 2016-11-16 07:26:10 +01:00
Xavier de Gaye
b445ad7b04 Issue #26920: Fix not getting the locale's charset upon initializing the interpreter,
on platforms that do not have langinfo
2016-11-16 07:24:20 +01:00
Donald Stufft
a97872a1fe Merge - upgrade pip/setuptools 2016-11-15 21:18:54 -05:00
Donald Stufft
756b45ab6e Merge - upgrade pip/setuptools 2016-11-15 21:18:40 -05:00
Donald Stufft
5ebff7b300 Merge - upgrade pip/setuptools 2016-11-15 21:18:20 -05:00
Donald Stufft
dd5c73b4f2 Upgrade pip to 9.0.1 and setuptools to 28.8.0 2016-11-15 21:17:43 -05:00
Yury Selivanov
22131a3e19 Merge 3.6 (issue #28704) 2016-11-15 15:27:48 -05:00
Yury Selivanov
21bb0e6f55 Merge 3.5 (issue #28704) 2016-11-15 15:27:23 -05:00
Yury Selivanov
d7c151871e Issue #28704: Fix create_unix_server to support Path-like objects 2016-11-15 15:26:34 -05:00
Yury Selivanov
adceaa64ee Merge 3.6 (issue #28703) 2016-11-15 15:21:34 -05:00
Yury Selivanov
27182bb232 Merge 3.5 (issue #28703) 2016-11-15 15:21:07 -05:00
Yury Selivanov
0ed20cdfb7 Issue #28703: Fix asyncio.iscoroutinefunction to handle Mock objects. 2016-11-15 15:20:34 -05:00
Guido van Rossum
dbd5b6b730 Issue #28556: Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321) (3.6->3.7) 2016-11-15 09:48:12 -08:00
Guido van Rossum
63859aea9b Issue #28556: Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321) (3.5->3.6) 2016-11-15 09:48:09 -08:00