Commit Graph

96880 Commits

Author SHA1 Message Date
Serhiy Storchaka 43a259ff18 Issue #19795: Improved more markups of True/False. 2016-10-19 18:37:07 +03:00
Serhiy Storchaka 7d6dda4b78 Issue #19795: Improved more markups of True/False. 2016-10-19 18:36:51 +03:00
Serhiy Storchaka 4adf01caae Issue #19795: Improved more markups of True/False. 2016-10-19 18:30:05 +03:00
Serhiy Storchaka 6d0b19f1e8 Issue #19795: Fixed markup errors. 2016-10-19 18:12:24 +03:00
Serhiy Storchaka 3f561b7911 Issue #19795: Fixed markup errors. 2016-10-19 18:12:05 +03:00
Serhiy Storchaka 1883542eb9 Issue #19795: Fixed markup errors. 2016-10-19 18:11:24 +03:00
Victor Stinner 7a6dbb71b2 _csv: use _PyLong_AsInt() 2016-10-19 16:00:37 +02:00
Victor Stinner af48a91715 Issue #28240: Fix formatting of the warning. 2016-10-19 15:48:23 +02:00
Serhiy Storchaka 7f4e40e1e0 Issue #19795: Mark up True and False as literal text instead of bold. 2016-10-19 16:45:05 +03:00
Serhiy Storchaka 0bbf8c08ab Issue #19795: Mark up True and False as literal text instead of bold. 2016-10-19 16:44:47 +03:00
Serhiy Storchaka a97cd2eb17 Issue #19795: Mark up True and False as literal text instead of bold. 2016-10-19 16:43:42 +03:00
Serhiy Storchaka c2e9983060 Issue #19795: Mark up None as literal text. 2016-10-19 16:39:36 +03:00
Serhiy Storchaka 989db5c880 Issue #19795: Mark up None as literal text. 2016-10-19 16:37:13 +03:00
Serhiy Storchaka ecf41da83e Issue #19795: Mark up None as literal text. 2016-10-19 16:29:26 +03: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
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