Benjamin Peterson
26d0ccd51b
merge 3.6 ( #28472 )
2016-10-18 23:33:24 -07:00
Benjamin Peterson
8166a5db5b
always use double quotes for SystemTap string literals ( closes #28472 )
...
Patch by Roman Podoliaka.
2016-10-18 23:33:03 -07:00
Benjamin Peterson
bb7d15c4f3
merge 3.6
2016-10-18 23:14:16 -07:00
Benjamin Peterson
b17ba095f2
bold arguments
2016-10-18 23:14:08 -07: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
Victor Stinner
bf9655854b
Issue #28256 : Cleanup _math.c
...
Only define fallback implementations when needed. It avoids producing deadcode
when the system provides required math functions.
2016-10-18 16:29:27 +02:00
Victor Stinner
22e36afc17
Null merge 3.6 (change already applied in default)
2016-10-18 15:48:27 +02:00
Victor Stinner
33bb64fb30
Merge 3.5
2016-10-18 15:48:14 +02:00
Serhiy Storchaka
60c838b27c
Issue #23782 : Fixed possible memory leak in _PyTraceback_Add() and exception
...
loss in PyTraceBack_Here().
2016-10-18 13:27:54 +03:00
Serhiy Storchaka
df0fd74ae8
Issue #23782 : Fixed possible memory leak in _PyTraceback_Add() and exception
...
loss in PyTraceBack_Here().
2016-10-18 13:26:25 +03:00
Serhiy Storchaka
04eb777279
Issue #23782 : Fixed possible memory leak in _PyTraceback_Add() and exception
...
loss in PyTraceBack_Here().
2016-10-18 13:23:18 +03: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
Berker Peksag
4a5d87ab26
Merge from 3.6
2016-10-18 00:35:31 +03:00
Berker Peksag
80b618bffd
Merge from 3.5
2016-10-18 00:35:09 +03:00
Berker Peksag
e5b0bd1ba2
Fix default value of StreamReader.readuntil()
...
Reported by Sam Lunt on docs@p.o.
2016-10-18 00:34:46 +03: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
Berker Peksag
83903bb8cc
Issue #28455 : Merge from 3.6
2016-10-17 06:15:28 +03:00
Berker Peksag
066b1217af
Issue #28455 : Merge from 3.5
2016-10-17 06:14:48 +03:00
Berker Peksag
5493e4723a
Issue #28455 : Clarify example of overriding the convert_arg_line_to_args method
...
Patch by Mariatta Wijaya.
2016-10-17 06:14:17 +03:00
Benjamin Peterson
d6d49f16f4
merge 3.6 ( #28454 )
2016-10-16 15:42:33 -07:00
Benjamin Peterson
3aa75528a1
merge 3.5 ( #28454 )
2016-10-16 15:42:24 -07:00
Benjamin Peterson
8d761ff045
remove extra PyErr_Format arguments ( closes #28454 )
...
Patch from Xiang Zhang.
2016-10-16 15:41:46 -07:00
Berker Peksag
6849313ac3
Issue #28432 : Merge from 3.6
2016-10-17 00:47:03 +03:00
Berker Peksag
b8bddec4e0
Issue #28432 : Merge from 3.5
2016-10-17 00:46:37 +03:00
Berker Peksag
90e028970a
Issue #28432 : Fix first parameter name in PyUnicode_EncodeLocale documentation
...
Patch by Xiang Zhang.
2016-10-17 00:45:56 +03:00
Victor Stinner
9f2e377beb
Issue #27896 : Allow passing sphinx options to Doc/Makefile
...
Patch written by Julien Palard.
2016-10-16 19:14:23 +02:00
Victor Stinner
57acb82d27
Issue #27896 : Allow passing sphinx options to Doc/Makefile
...
Patch written by Julien Palard.
2016-10-16 19:14:23 +02:00
Raymond Hettinger
4186222e63
Minor fix-up to apply the stack adjustment macros consistent with the other opcodes
2016-10-15 19:03:06 -07:00
Ned Deily
7d6dd05d85
Remove spurious article.
2016-10-15 15:14:54 -04:00
Ned Deily
bf7dcb9cd0
Remove spurious article.
2016-10-15 15:13:20 -04:00
Ned Deily
11194f7e0f
Remove spurious article.
2016-10-15 15:12:03 -04: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
Martin Panter
20e086efc7
Issue #27800 : Merge RE repetition doc from 3.6
2016-10-15 01:39:21 +00:00
Martin Panter
479eb760f4
Issue #27800 : Merge RE repetition doc from 3.5 into 3.6
2016-10-15 01:39:01 +00:00
Martin Panter
684340ede5
Issue #27800 : Document limitation and workaround for multiple RE repetitions
2016-10-15 01:18:16 +00:00
Martin Panter
8a42581bc2
Issue #23231 : Merge codecs doc from 3.6
2016-10-15 01:04:36 +00:00
Martin Panter
36700e4578
Issue #23231 : Merge codecs doc from 3.5 into 3.6
2016-10-15 01:04:08 +00:00
Martin Panter
c73e9d844f
Issue #23231 : Document codecs.iterencode(), iterdecode() shortcomings
2016-10-15 00:56:47 +00:00
Jason R. Coombs
cf99a34867
Make cs_path_exists a protected, static method
2016-10-14 15:41:42 -04:00