]> granicus.if.org Git - python/log
python
8 years agoTwo minor typing.py fixes (upstream #305) (3.6->3.7)
Guido van Rossum [Sat, 22 Oct 2016 00:30:31 +0000 (17:30 -0700)]
Two minor typing.py fixes (upstream #305) (3.6->3.7)

8 years agoTwo minor typing.py fixes (upstream #305) (3.5->3.6)
Guido van Rossum [Sat, 22 Oct 2016 00:30:30 +0000 (17:30 -0700)]
Two minor typing.py fixes (upstream #305) (3.5->3.6)

8 years agoTwo minor typing.py fixes (upstream #305)
Guido van Rossum [Sat, 22 Oct 2016 00:30:29 +0000 (17:30 -0700)]
Two minor typing.py fixes (upstream #305)

8 years agoIssue #28482: Skip a few test_typing tests if asyncio unavailable (3.6->3.7)
Guido van Rossum [Fri, 21 Oct 2016 23:13:17 +0000 (16:13 -0700)]
Issue #28482: Skip a few test_typing tests if asyncio unavailable (3.6->3.7)

8 years agoIssue #28482: Skip a few test_typing tests if asyncio unavailable (3.5->3.6)
Guido van Rossum [Fri, 21 Oct 2016 23:12:50 +0000 (16:12 -0700)]
Issue #28482: Skip a few test_typing tests if asyncio unavailable (3.5->3.6)

8 years agoIssue #28482: Skip a few test_typing tests if asyncio unavailable
Guido van Rossum [Fri, 21 Oct 2016 23:12:17 +0000 (16:12 -0700)]
Issue #28482: Skip a few test_typing tests if asyncio unavailable

8 years agoIssue #23214: Fix formatting of -1
Martin Panter [Fri, 21 Oct 2016 23:00:10 +0000 (23:00 +0000)]
Issue #23214: Fix formatting of -1

8 years agoMerge 3.6 (issue #26796)
Yury Selivanov [Fri, 21 Oct 2016 21:42:00 +0000 (17:42 -0400)]
Merge 3.6 (issue #26796)

8 years agoMerge 3.5 (issue #26796)
Yury Selivanov [Fri, 21 Oct 2016 21:41:23 +0000 (17:41 -0400)]
Merge 3.5 (issue #26796)

8 years agoIssue #26796: Don't configure the number of workers for default threadpool executor.
Yury Selivanov [Fri, 21 Oct 2016 21:40:42 +0000 (17:40 -0400)]
Issue #26796: Don't configure the number of workers for default threadpool executor.

Initial patch by Hans Lawrenz.

8 years agoFix indent (merge)
Guido van Rossum [Fri, 21 Oct 2016 21:31:37 +0000 (14:31 -0700)]
Fix indent (merge)

8 years agoFix indent (merge)
Guido van Rossum [Fri, 21 Oct 2016 21:31:18 +0000 (14:31 -0700)]
Fix indent (merge)

8 years agoFix indent
Guido van Rossum [Fri, 21 Oct 2016 21:30:50 +0000 (14:30 -0700)]
Fix indent

8 years agoSync typing.py from upstream (3.6->3.7)
Guido van Rossum [Fri, 21 Oct 2016 21:29:02 +0000 (14:29 -0700)]
Sync typing.py from upstream (3.6->3.7)

8 years agoSync typing.py from upstream (3.5->3.6)
Guido van Rossum [Fri, 21 Oct 2016 21:28:29 +0000 (14:28 -0700)]
Sync typing.py from upstream (3.5->3.6)

8 years agoSync typing.py from upstream
Guido van Rossum [Fri, 21 Oct 2016 21:27:58 +0000 (14:27 -0700)]
Sync typing.py from upstream

8 years agoMerge 3.6 (issue #26923)
Yury Selivanov [Fri, 21 Oct 2016 21:25:02 +0000 (17:25 -0400)]
Merge 3.6 (issue #26923)

8 years agoMerge 3.5 (issue #26923)
Yury Selivanov [Fri, 21 Oct 2016 21:23:35 +0000 (17:23 -0400)]
Merge 3.5 (issue #26923)

8 years agoIssue #26923: Fix asyncio.Gather to refuse being cancelled once all children are...
Yury Selivanov [Fri, 21 Oct 2016 21:22:17 +0000 (17:22 -0400)]
Issue #26923: Fix asyncio.Gather to refuse being cancelled once all children are done.

Patch by Johannes Ebke.

8 years agoMerge 3.6 (issue #28500)
Yury Selivanov [Fri, 21 Oct 2016 21:14:17 +0000 (17:14 -0400)]
Merge 3.6 (issue #28500)

8 years agoIssue #28500: Fix asyncio to handle async gens GC from another thread.
Yury Selivanov [Fri, 21 Oct 2016 21:13:40 +0000 (17:13 -0400)]
Issue #28500: Fix asyncio to handle async gens GC from another thread.

8 years agoMerge (issue #25152)
Brett Cannon [Fri, 21 Oct 2016 19:54:31 +0000 (12:54 -0700)]
Merge (issue #25152)

8 years agoMerge (issue #25152)
Brett Cannon [Fri, 21 Oct 2016 19:54:02 +0000 (12:54 -0700)]
Merge (issue #25152)

8 years agoIssue #25152: Mention the deprecation of pyvenv
Brett Cannon [Fri, 21 Oct 2016 19:53:40 +0000 (12:53 -0700)]
Issue #25152: Mention the deprecation of pyvenv

8 years agoMerge (issue #28396)
Brett Cannon [Fri, 21 Oct 2016 19:16:14 +0000 (12:16 -0700)]
Merge (issue #28396)

8 years agoMerge (issue #28396)
Brett Cannon [Fri, 21 Oct 2016 19:15:48 +0000 (12:15 -0700)]
Merge (issue #28396)

8 years agoIssue #28396: Remove any mention of .pyo files from the man page.
Brett Cannon [Fri, 21 Oct 2016 19:15:14 +0000 (12:15 -0700)]
Issue #28396: Remove any mention of .pyo files from the man page.

Thanks to Ville Skyttä for the patch.

8 years agoIssue #28214: Improved exception reporting for problematic __set_name__
Serhiy Storchaka [Fri, 21 Oct 2016 14:15:20 +0000 (17:15 +0300)]
Issue #28214: Improved exception reporting for problematic __set_name__
attributes.

8 years agoIssue #28214: Improved exception reporting for problematic __set_name__
Serhiy Storchaka [Fri, 21 Oct 2016 14:13:31 +0000 (17:13 +0300)]
Issue #28214: Improved exception reporting for problematic __set_name__
attributes.

8 years agoIssue #28410: Added _PyErr_FormatFromCause() -- the helper for raising
Serhiy Storchaka [Fri, 21 Oct 2016 14:10:42 +0000 (17:10 +0300)]
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]

8 years agoIssue #28410: Added _PyErr_FormatFromCause() -- the helper for raising
Serhiy Storchaka [Fri, 21 Oct 2016 14:09:17 +0000 (17:09 +0300)]
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]

8 years agoIssue #28410: Keep the traceback of original exception in _PyErr_ChainExceptions().
Serhiy Storchaka [Fri, 21 Oct 2016 13:21:02 +0000 (16:21 +0300)]
Issue #28410: Keep the traceback of original exception in _PyErr_ChainExceptions().

8 years agoIssue #28410: Keep the traceback of original exception in _PyErr_ChainExceptions().
Serhiy Storchaka [Fri, 21 Oct 2016 13:20:43 +0000 (16:20 +0300)]
Issue #28410: Keep the traceback of original exception in _PyErr_ChainExceptions().

8 years agoIssue #28410: Keep the traceback of original exception in _PyErr_ChainExceptions().
Serhiy Storchaka [Fri, 21 Oct 2016 13:19:59 +0000 (16:19 +0300)]
Issue #28410: Keep the traceback of original exception in _PyErr_ChainExceptions().

8 years agoIssue #18219: Optimize csv.DictWriter for large number of columns.
INADA Naoki [Fri, 21 Oct 2016 10:53:30 +0000 (19:53 +0900)]
Issue #18219: Optimize csv.DictWriter for large number of columns.

Patch by Mariatta Wijaya.

8 years agoIssue #18219: Optimize csv.DictWriter for large number of columns.
INADA Naoki [Fri, 21 Oct 2016 10:47:57 +0000 (19:47 +0900)]
Issue #18219: Optimize csv.DictWriter for large number of columns.

Patch by Mariatta Wijaya.

8 years agomerge 3.6
Benjamin Peterson [Fri, 21 Oct 2016 05:39:39 +0000 (22:39 -0700)]
merge 3.6

8 years agomark dtrace stubs as static inline; remove stubs
Benjamin Peterson [Fri, 21 Oct 2016 05:37:00 +0000 (22:37 -0700)]
mark dtrace stubs as static inline; remove stubs

C99 inline semantics don't work everywhere. (https://bugs.python.org/issue28092)
We don't want these to have external visibility anyway.

8 years agoIssue #28448: Fix C implemented asyncio.Future didn't work on Windows (merge 3.6)
INADA Naoki [Fri, 21 Oct 2016 03:32:46 +0000 (12:32 +0900)]
Issue #28448: Fix C implemented asyncio.Future didn't work on Windows (merge 3.6)

8 years agoIssue #28448: Fix C implemented asyncio.Future didn't work on Windows
INADA Naoki [Fri, 21 Oct 2016 03:30:15 +0000 (12:30 +0900)]
Issue #28448: Fix C implemented asyncio.Future didn't work on Windows

8 years agoIssue #23214: Remove BufferedReader.read1(-1) workaround
Martin Panter [Fri, 21 Oct 2016 00:52:04 +0000 (00:52 +0000)]
Issue #23214: Remove BufferedReader.read1(-1) workaround

8 years agoIssue #23214: Implement optional BufferedReader, BytesIO read1() argument
Martin Panter [Thu, 20 Oct 2016 23:48:14 +0000 (23:48 +0000)]
Issue #23214: Implement optional BufferedReader, BytesIO read1() argument

8 years agoMerge test suite fixes from 3.6
Martin Panter [Thu, 20 Oct 2016 22:36:18 +0000 (22:36 +0000)]
Merge test suite fixes from 3.6

8 years agoIssue #28484: Skip tests if GIL is not used or multithreading is disabled
Martin Panter [Thu, 20 Oct 2016 21:45:49 +0000 (21:45 +0000)]
Issue #28484: Skip tests if GIL is not used or multithreading is disabled

8 years agoMerge 3.6 (issue #28493)
Yury Selivanov [Thu, 20 Oct 2016 20:33:39 +0000 (16:33 -0400)]
Merge 3.6 (issue #28493)

8 years agoIssue #28493: Fix typos in _asynciomodule.c
Yury Selivanov [Thu, 20 Oct 2016 20:33:19 +0000 (16:33 -0400)]
Issue #28493: Fix typos in _asynciomodule.c

Thanks to Stéphane Wirtel!

8 years agoMerge 3.6 (issue #26010)
Yury Selivanov [Thu, 20 Oct 2016 20:31:15 +0000 (16:31 -0400)]
Merge 3.6 (issue #26010)

8 years agoIssue #26010: fix typos; rewording
Yury Selivanov [Thu, 20 Oct 2016 20:30:51 +0000 (16:30 -0400)]
Issue #26010: fix typos; rewording

8 years agoMerge 3.6 (issue #28492)
Yury Selivanov [Thu, 20 Oct 2016 19:54:51 +0000 (15:54 -0400)]
Merge 3.6 (issue #28492)

8 years agoIssue #28492: Fix how StopIteration is raised in _asyncio.Future
Yury Selivanov [Thu, 20 Oct 2016 19:54:20 +0000 (15:54 -0400)]
Issue #28492: Fix how StopIteration is raised in _asyncio.Future

8 years agoIssue #24381: merge from 3.6
Ned Deily [Thu, 20 Oct 2016 19:40:56 +0000 (15:40 -0400)]
Issue #24381: merge from 3.6

8 years agoIssue #24381: merge from 3.5
Ned Deily [Thu, 20 Oct 2016 19:40:22 +0000 (15:40 -0400)]
Issue #24381: merge from 3.5

8 years agoIssue #24381: Avoid unused function warning when building bundled macOS libffi.
Ned Deily [Thu, 20 Oct 2016 19:38:27 +0000 (15:38 -0400)]
Issue #24381: Avoid unused function warning when building bundled macOS libffi.
Patch by Vajrasky Kok.

8 years agoMerge 3.6 (issue #26010)
Yury Selivanov [Thu, 20 Oct 2016 17:11:48 +0000 (13:11 -0400)]
Merge 3.6 (issue #26010)

8 years agoMerge 3.5 + document CO_ASYNC_GENERATOR; issue #26010
Yury Selivanov [Thu, 20 Oct 2016 17:11:34 +0000 (13:11 -0400)]
Merge 3.5 + document CO_ASYNC_GENERATOR; issue #26010

8 years agoIssue #26010: Document CO_* constants
Yury Selivanov [Thu, 20 Oct 2016 17:06:30 +0000 (13:06 -0400)]
Issue #26010: Document CO_* constants

8 years agoIssue #21955: Please don't try to optimize int+int
Victor Stinner [Thu, 20 Oct 2016 10:18:10 +0000 (12:18 +0200)]
Issue #21955: Please don't try to optimize int+int

8 years agoAdd cum_weights example (simulation of a cumulative binomial distribution).
Raymond Hettinger [Thu, 20 Oct 2016 08:36:52 +0000 (01:36 -0700)]
Add cum_weights example (simulation of a cumulative binomial distribution).

8 years agoIssue #28471: Avoid ResourceWarning by detaching test socket
Martin Panter [Thu, 20 Oct 2016 07:44:29 +0000 (07:44 +0000)]
Issue #28471: Avoid ResourceWarning by detaching test socket

8 years agoIssue #28480: Merge multithreading fixes from 3.6
Martin Panter [Thu, 20 Oct 2016 05:25:14 +0000 (05:25 +0000)]
Issue #28480: Merge multithreading fixes from 3.6

8 years agoIssue #28480: Adjust or skip tests if multithreading is disabled
Martin Panter [Thu, 20 Oct 2016 05:10:44 +0000 (05:10 +0000)]
Issue #28480: Adjust or skip tests if multithreading is disabled

8 years agoIssue #28480: Avoid label at end of compound statement --without-threads
Martin Panter [Thu, 20 Oct 2016 00:48:23 +0000 (00:48 +0000)]
Issue #28480: Avoid label at end of compound statement --without-threads

Based on patch by Masayuki Yamamoto.

8 years agoMerge 3.6
Victor Stinner [Wed, 19 Oct 2016 22:46:38 +0000 (00:46 +0200)]
Merge 3.6

8 years agoClose #28479: Fix reST syntax in windows.rst
Victor Stinner [Wed, 19 Oct 2016 22:45:50 +0000 (00:45 +0200)]
Close #28479: Fix reST syntax in windows.rst

Patch written by Julien Palard.

8 years agoIssue #19795: Fixed formatting a table.
Serhiy Storchaka [Wed, 19 Oct 2016 16:38:22 +0000 (19:38 +0300)]
Issue #19795: Fixed formatting a table.

8 years agoIssue #19795: Fixed formatting a table.
Serhiy Storchaka [Wed, 19 Oct 2016 16:37:44 +0000 (19:37 +0300)]
Issue #19795: Fixed formatting a table.

8 years agoIssue #19795: Fixed formatting a table.
Serhiy Storchaka [Wed, 19 Oct 2016 16:37:20 +0000 (19:37 +0300)]
Issue #19795: Fixed formatting a table.

8 years agoIssue #19795: Improved more markups of True/False.
Serhiy Storchaka [Wed, 19 Oct 2016 15:37:07 +0000 (18:37 +0300)]
Issue #19795: Improved more markups of True/False.

8 years agoIssue #19795: Improved more markups of True/False.
Serhiy Storchaka [Wed, 19 Oct 2016 15:36:51 +0000 (18:36 +0300)]
Issue #19795: Improved more markups of True/False.

8 years agoIssue #19795: Improved more markups of True/False.
Serhiy Storchaka [Wed, 19 Oct 2016 15:30:05 +0000 (18:30 +0300)]
Issue #19795: Improved more markups of True/False.

8 years agoIssue #19795: Fixed markup errors.
Serhiy Storchaka [Wed, 19 Oct 2016 15:12:24 +0000 (18:12 +0300)]
Issue #19795: Fixed markup errors.

8 years agoIssue #19795: Fixed markup errors.
Serhiy Storchaka [Wed, 19 Oct 2016 15:12:05 +0000 (18:12 +0300)]
Issue #19795: Fixed markup errors.

8 years agoIssue #19795: Fixed markup errors.
Serhiy Storchaka [Wed, 19 Oct 2016 15:11:24 +0000 (18:11 +0300)]
Issue #19795: Fixed markup errors.

8 years ago_csv: use _PyLong_AsInt()
Victor Stinner [Wed, 19 Oct 2016 14:00:37 +0000 (16:00 +0200)]
_csv: use _PyLong_AsInt()

8 years agoIssue #28240: Fix formatting of the warning.
Victor Stinner [Wed, 19 Oct 2016 13:48:23 +0000 (15:48 +0200)]
Issue #28240: Fix formatting of the warning.

8 years agoIssue #19795: Mark up True and False as literal text instead of bold.
Serhiy Storchaka [Wed, 19 Oct 2016 13:45:05 +0000 (16:45 +0300)]
Issue #19795: Mark up True and False as literal text instead of bold.

8 years agoIssue #19795: Mark up True and False as literal text instead of bold.
Serhiy Storchaka [Wed, 19 Oct 2016 13:44:47 +0000 (16:44 +0300)]
Issue #19795: Mark up True and False as literal text instead of bold.

8 years agoIssue #19795: Mark up True and False as literal text instead of bold.
Serhiy Storchaka [Wed, 19 Oct 2016 13:43:42 +0000 (16:43 +0300)]
Issue #19795: Mark up True and False as literal text instead of bold.

8 years agoIssue #19795: Mark up None as literal text.
Serhiy Storchaka [Wed, 19 Oct 2016 13:39:36 +0000 (16:39 +0300)]
Issue #19795: Mark up None as literal text.

8 years agoIssue #19795: Mark up None as literal text.
Serhiy Storchaka [Wed, 19 Oct 2016 13:37:13 +0000 (16:37 +0300)]
Issue #19795: Mark up None as literal text.

8 years agoIssue #19795: Mark up None as literal text.
Serhiy Storchaka [Wed, 19 Oct 2016 13:29:26 +0000 (16:29 +0300)]
Issue #19795: Mark up None as literal text.

8 years agoIssue #26944: Merge with 3.6.
Xavier de Gaye [Wed, 19 Oct 2016 09:08:07 +0000 (11:08 +0200)]
Issue #26944: Merge with 3.6.

8 years agoIssue #26944: Fix test_posix for Android where 'id -G' is entirely wrong
Xavier de Gaye [Wed, 19 Oct 2016 09:00:26 +0000 (11:00 +0200)]
Issue #26944: Fix test_posix for Android where 'id -G' is entirely wrong
or missing the effective gid.

8 years agoClose #28476: Reuse math.factorial() in test_random
Victor Stinner [Wed, 19 Oct 2016 08:11:37 +0000 (10:11 +0200)]
Close #28476: Reuse math.factorial() in test_random

Patch written by Francisco Couzo.

8 years agomerge 3.6 (#28472)
Benjamin Peterson [Wed, 19 Oct 2016 06:33:24 +0000 (23:33 -0700)]
merge 3.6 (#28472)

8 years agoalways use double quotes for SystemTap string literals (closes #28472)
Benjamin Peterson [Wed, 19 Oct 2016 06:33:03 +0000 (23:33 -0700)]
always use double quotes for SystemTap string literals (closes #28472)

Patch by Roman Podoliaka.

8 years agomerge 3.6
Benjamin Peterson [Wed, 19 Oct 2016 06:14:16 +0000 (23:14 -0700)]
merge 3.6

8 years agobold arguments
Benjamin Peterson [Wed, 19 Oct 2016 06:14:08 +0000 (23:14 -0700)]
bold arguments

8 years agoMerge 3.6 (issue #28471)
Yury Selivanov [Tue, 18 Oct 2016 20:04:40 +0000 (16:04 -0400)]
Merge 3.6 (issue #28471)

8 years agoIssue #28471: Fix crash (GIL state related) in socket.setblocking
Yury Selivanov [Tue, 18 Oct 2016 20:03:52 +0000 (16:03 -0400)]
Issue #28471: Fix crash (GIL state related) in socket.setblocking

8 years agotimeit: add newlines to output for readability
Victor Stinner [Tue, 18 Oct 2016 15:55:18 +0000 (17:55 +0200)]
timeit: add newlines to output for readability

Issue #28240.

8 years agotimeit: add nsec (nanosecond) unit for format timings
Victor Stinner [Tue, 18 Oct 2016 15:42:48 +0000 (17:42 +0200)]
timeit: add nsec (nanosecond) unit for format timings

Issue #28240.

8 years agotimeit: enhance format of raw timings (in verbose mode)
Victor Stinner [Tue, 18 Oct 2016 15:56:42 +0000 (17:56 +0200)]
timeit: enhance format of raw timings (in verbose mode)

Issue #28240.

8 years agotimeit: remove --clock and --time options
Victor Stinner [Tue, 18 Oct 2016 15:18:21 +0000 (17:18 +0200)]
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.

8 years agotimeit: change default repeat to 5, instead of 3
Victor Stinner [Tue, 18 Oct 2016 15:13:22 +0000 (17:13 +0200)]
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.

8 years agotimeit: start autorange with 1 iteration, not 10
Victor Stinner [Tue, 18 Oct 2016 15:06:56 +0000 (17:06 +0200)]
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.

8 years agoIssue #28256: Cleanup _math.c
Victor Stinner [Tue, 18 Oct 2016 14:29:27 +0000 (16:29 +0200)]
Issue #28256: Cleanup _math.c

Only define fallback implementations when needed. It avoids producing deadcode
when the system provides required math functions.

8 years agoNull merge 3.6 (change already applied in default)
Victor Stinner [Tue, 18 Oct 2016 13:48:27 +0000 (15:48 +0200)]
Null merge 3.6 (change already applied in default)

8 years agoMerge 3.5
Victor Stinner [Tue, 18 Oct 2016 13:48:14 +0000 (15:48 +0200)]
Merge 3.5

8 years agoIssue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception
Serhiy Storchaka [Tue, 18 Oct 2016 10:27:54 +0000 (13:27 +0300)]
Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception
loss in PyTraceBack_Here().