Commit graph

40995 commits

Author SHA1 Message Date
Martin Panter
812f6e1f23 Issue #28480: Merge multithreading fixes from 3.6 2016-10-20 05:25:14 +00:00
Martin Panter
94332cba0f Issue #28480: Adjust or skip tests if multithreading is disabled 2016-10-20 05:10:44 +00:00
Victor Stinner
af48a91715 Issue #28240: Fix formatting of the warning. 2016-10-19 15:48:23 +02:00
Xavier de Gaye
18207ea32b Issue #26944: Merge with 3.6. 2016-10-19 11:08:07 +02:00
Xavier de Gaye
24c3b4928e Issue #26944: Fix test_posix for Android where 'id -G' is entirely wrong
or missing the effective gid.
2016-10-19 11:00:26 +02:00
Victor Stinner
bd1b49a242 Close #28476: Reuse math.factorial() in test_random
Patch written by Francisco Couzo.
2016-10-19 10:11:37 +02:00
Yury Selivanov
193a360570 Merge 3.6 (issue #28471) 2016-10-18 16:04:40 -04:00
Yury Selivanov
fa22b29960 Issue #28471: Fix crash (GIL state related) in socket.setblocking 2016-10-18 16:03:52 -04:00
Victor Stinner
62cca920db timeit: add newlines to output for readability
Issue #28240.
2016-10-18 17:55:18 +02:00
Victor Stinner
c3e40f8c5b timeit: add nsec (nanosecond) unit for format timings
Issue #28240.
2016-10-18 17:42:48 +02:00
Victor Stinner
61de57f175 timeit: enhance format of raw timings (in verbose mode)
Issue #28240.
2016-10-18 17:56:42 +02:00
Victor Stinner
3d7feb9ac2 timeit: remove --clock and --time options
Issue #28240: timeit: remove -c/--clock and -t/--time command line options
which were deprecated since Python 3.3.
2016-10-18 17:18:21 +02:00
Victor Stinner
1b90115304 timeit: change default repeat to 5, instead of 3
Issue #28240: timeit now repeats the benchmarks 5 times instead of only 3 to
make benchmarks more reliable.
2016-10-18 17:13:22 +02:00
Victor Stinner
f8fb82cd25 timeit: start autorange with 1 iteration, not 10
Issue #28240: timeit autorange now uses a single loop iteration if the
benchmark takes less than 10 seconds, instead of 10 iterations.

"python3 -m timeit -s 'import time' 'time.sleep(1)'" now takes 4 seconds
instead of 40 seconds.
2016-10-18 17:06:56 +02:00
INADA Naoki
810d62d73e Issue #28452: Remove _asyncio._init_module function 2016-10-18 11:48:35 +09:00
INADA Naoki
c411a7d821 Issue #28452: Remove _asyncio._init_module function 2016-10-18 11:48:14 +09:00
Victor Stinner
8f5dd35d8e Merge 3.7: Issue #28409: regrtest: fix the parser of command line arguments. 2016-10-17 18:15:07 +02:00
Victor Stinner
a506a93b0b Merge 3.6: Issue #28409: regrtest: fix the parser of command line arguments. 2016-10-17 18:13:46 +02:00
Victor Stinner
1f6b69b749 Issue #28409: regrtest: fix the parser of command line arguments. 2016-10-17 18:11:03 +02:00
INADA Naoki
fa8b8847e2 Issue #28428: Rename _futures module to _asyncio. (merge from 3.6)
It will have more speedup functions or classes other than asyncio.Future.
2016-10-15 15:41:05 +09:00
INADA Naoki
9f2ce25481 Issue #28428: Rename _futures module to _asyncio.
It will have more speedup functions or classes other than asyncio.Future.
2016-10-15 15:39:19 +09:00
Jason R. Coombs
cf99a34867 Make cs_path_exists a protected, static method 2016-10-14 15:41:42 -04:00
Jason R. Coombs
22dd73a74b Add case-sensitive file comparison for detecting/adding standard default files. 2016-10-14 15:39:01 -04:00
Jason R. Coombs
00e3cea34f Extract methods from sdist.add_defaults, allowing subclasses to override or inject different behaviors. 2016-10-14 14:53:32 -04:00
Jason R. Coombs
10d5eef8e5 Get names for README files from class attribute, allowing subclass to override. 2016-10-14 14:44:11 -04:00
Jason R. Coombs
c581ce4c81 Replace trailing comments with block-level comments 2016-10-14 14:10:07 -04:00
Jason R. Coombs
7677ff209c Remove unused import and reorganize imports of modules. 2016-10-14 14:08:28 -04:00
Jason R. Coombs
c9bba2bcc0 Remove wildcard imports from distutils.command.sdist 2016-10-14 14:06:28 -04:00
Raymond Hettinger
9c5bcbf81b merge 2016-10-14 01:20:00 -04:00
Raymond Hettinger
7b16652f1c Issue #18844: Add more tests 2016-10-14 01:19:38 -04:00
Guido van Rossum
cf418eabc0 Issue #24452: Make webbrowser support Chrome on Mac OS X (merge 3.6->3.7) 2016-10-13 11:25:17 -07:00
Guido van Rossum
2ccdb5a4f1 Issue #24452: Make webbrowser support Chrome on Mac OS X (merge 3.5->3.6) 2016-10-13 11:22:52 -07:00
Guido van Rossum
b1a751b5c2 Issue #24452: Make webbrowser support Chrome on Mac OS X. 2016-10-13 11:17:27 -07:00
Xavier de Gaye
b4474848de Issue #20766: Merge with 3.6. 2016-10-12 20:18:33 +02:00
Xavier de Gaye
291417da7f Issue #20766: Merge with 3.5. 2016-10-12 20:16:05 +02:00
Xavier de Gaye
10e54aeaa2 Issue #20766: Fix references leaked by pdb in the handling of SIGINT handlers. 2016-10-12 20:13:24 +02:00
Raymond Hettinger
22e25cb1db merge 2016-10-12 01:42:40 -04:00
Raymond Hettinger
1c3a121bb0 Issue #18844: Fix-up examples for random.choices(). Remove over-specified test. 2016-10-12 01:42:10 -04:00
Ned Deily
bec93b3858 Update pydoc topics for 3.6.0b2 2016-10-10 16:02:26 -04:00
Martin Panter
dd21cc3516 Issue #28394: Merge typo fixes from 3.6 2016-10-10 00:42:50 +00:00
Martin Panter
b1321fba53 Issue #28394: More typo fixes for 3.6+ 2016-10-10 00:38:21 +00:00
Martin Panter
fd1df3fef2 Issue #28394: Merge typo fixes from 3.5 into 3.6 2016-10-10 00:28:38 +00:00
Martin Panter
d2a584b47b Issue #28394: Spelling and typo fixes in code comments and changelog
Includes patch by Ville Skyttä.
2016-10-10 00:24:34 +00:00
Guido van Rossum
a7652b768a Issue #28339: Remove ByteString.register(memoryview(...)) from typing.py. (merge 3.6->3.7) 2016-10-09 10:04:55 -07:00
Guido van Rossum
06060725b4 Issue #28339: Remove ByteString.register(memoryview(...)) from typing.py. (merge 3.5->3.6) 2016-10-09 10:03:35 -07:00
Guido van Rossum
5e2a0ef2ee Issue #28339: Remove ByteString.register(memoryview(...)) from typing.py. 2016-10-09 10:02:49 -07:00
Yury Selivanov
d4ea2ec38a Merge 3.6 (issue #27972) 2016-10-09 12:21:03 -04:00
Yury Selivanov
917c1c3ee1 Merge 3.5 (issue #27972) 2016-10-09 12:20:44 -04:00
Yury Selivanov
4145c83806 Issue #27972: Prohibit Tasks to await on themselves. 2016-10-09 12:19:12 -04:00
Yury Selivanov
cfa6b72a47 Merge 3.6 (issue #28399) 2016-10-09 12:16:26 -04:00