Serhiy Storchaka
c4b4d4e2d8
Issue #28214 : Improved exception reporting for problematic __set_name__
...
attributes.
2016-10-21 17:15:20 +03:00
Serhiy Storchaka
d5d32d2127
Issue #28214 : Improved exception reporting for problematic __set_name__
...
attributes.
2016-10-21 17:13:31 +03:00
Serhiy Storchaka
14ab277632
Issue #28410 : Added _PyErr_FormatFromCause() -- the helper for raising
...
new exception with setting current exception as __cause__.
_PyErr_FormatFromCause(exception, format, args...) is equivalent to Python
raise exception(format % args) from sys.exc_info()[1]
2016-10-21 17:10:42 +03:00
Serhiy Storchaka
467ab194fc
Issue #28410 : Added _PyErr_FormatFromCause() -- the helper for raising
...
new exception with setting current exception as __cause__.
_PyErr_FormatFromCause(exception, format, args...) is equivalent to Python
raise exception(format % args) from sys.exc_info()[1]
2016-10-21 17:09:17 +03:00
INADA Naoki
fdf6418630
Issue #18219 : Optimize csv.DictWriter for large number of columns.
...
Patch by Mariatta Wijaya.
2016-10-21 19:53:30 +09:00
INADA Naoki
0a421a28f8
Issue #18219 : Optimize csv.DictWriter for large number of columns.
...
Patch by Mariatta Wijaya.
2016-10-21 19:47:57 +09:00
INADA Naoki
a1289c6841
Issue #28448 : Fix C implemented asyncio.Future didn't work on Windows (merge 3.6)
2016-10-21 12:32:46 +09:00
INADA Naoki
a83636247e
Issue #28448 : Fix C implemented asyncio.Future didn't work on Windows
2016-10-21 12:30:15 +09:00
Martin Panter
741d4940fe
Issue #23214 : Remove BufferedReader.read1(-1) workaround
2016-10-21 00:52:04 +00:00
Martin Panter
ccb2c0e310
Issue #23214 : Implement optional BufferedReader, BytesIO read1() argument
2016-10-20 23:48:14 +00:00
Martin Panter
ea8762cae6
Merge test suite fixes from 3.6
2016-10-20 22:36:18 +00:00
Martin Panter
56b2cf5e85
Issue #28484 : Skip tests if GIL is not used or multithreading is disabled
2016-10-20 21:45:49 +00:00
Yury Selivanov
3ceee7b0da
Merge 3.6 (issue #28492 )
2016-10-20 15:54:51 -04:00
Yury Selivanov
a4b884f900
Issue #28492 : Fix how StopIteration is raised in _asyncio.Future
2016-10-20 15:54:20 -04:00
Martin Panter
10f29c9037
Issue #28471 : Avoid ResourceWarning by detaching test socket
2016-10-20 07:44:29 +00:00
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