]> granicus.if.org Git - python/log
python
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 #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().

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

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

8 years agoIssue #28452: Remove _asyncio._init_module function
INADA Naoki [Tue, 18 Oct 2016 02:48:35 +0000 (11:48 +0900)]
Issue #28452: Remove _asyncio._init_module function

8 years agoIssue #28452: Remove _asyncio._init_module function
INADA Naoki [Tue, 18 Oct 2016 02:48:14 +0000 (11:48 +0900)]
Issue #28452: Remove _asyncio._init_module function

8 years agoMerge from 3.6
Berker Peksag [Mon, 17 Oct 2016 21:35:31 +0000 (00:35 +0300)]
Merge from 3.6

8 years agoMerge from 3.5
Berker Peksag [Mon, 17 Oct 2016 21:35:09 +0000 (00:35 +0300)]
Merge from 3.5

8 years agoFix default value of StreamReader.readuntil()
Berker Peksag [Mon, 17 Oct 2016 21:34:46 +0000 (00:34 +0300)]
Fix default value of StreamReader.readuntil()

Reported by Sam Lunt on docs@p.o.

8 years agoMerge 3.7: Issue #28409: regrtest: fix the parser of command line arguments.
Victor Stinner [Mon, 17 Oct 2016 16:15:07 +0000 (18:15 +0200)]
Merge 3.7: Issue #28409: regrtest: fix the parser of command line arguments.

8 years agoMerge 3.6: Issue #28409: regrtest: fix the parser of command line arguments.
Victor Stinner [Mon, 17 Oct 2016 16:13:46 +0000 (18:13 +0200)]
Merge 3.6: Issue #28409: regrtest: fix the parser of command line arguments.

8 years agoIssue #28409: regrtest: fix the parser of command line arguments.
Victor Stinner [Mon, 17 Oct 2016 16:11:03 +0000 (18:11 +0200)]
Issue #28409: regrtest: fix the parser of command line arguments.

8 years agoIssue #28455: Merge from 3.6
Berker Peksag [Mon, 17 Oct 2016 03:15:28 +0000 (06:15 +0300)]
Issue #28455: Merge from 3.6

8 years agoIssue #28455: Merge from 3.5
Berker Peksag [Mon, 17 Oct 2016 03:14:48 +0000 (06:14 +0300)]
Issue #28455: Merge from 3.5

8 years agoIssue #28455: Clarify example of overriding the convert_arg_line_to_args method
Berker Peksag [Mon, 17 Oct 2016 03:14:17 +0000 (06:14 +0300)]
Issue #28455: Clarify example of overriding the convert_arg_line_to_args method

Patch by Mariatta Wijaya.

8 years agomerge 3.6 (#28454)
Benjamin Peterson [Sun, 16 Oct 2016 22:42:33 +0000 (15:42 -0700)]
merge 3.6 (#28454)

8 years agomerge 3.5 (#28454)
Benjamin Peterson [Sun, 16 Oct 2016 22:42:24 +0000 (15:42 -0700)]
merge 3.5 (#28454)

8 years agoremove extra PyErr_Format arguments (closes #28454)
Benjamin Peterson [Sun, 16 Oct 2016 22:41:46 +0000 (15:41 -0700)]
remove extra PyErr_Format arguments (closes #28454)

Patch from Xiang Zhang.

8 years agoIssue #28432: Merge from 3.6
Berker Peksag [Sun, 16 Oct 2016 21:47:03 +0000 (00:47 +0300)]
Issue #28432: Merge from 3.6

8 years agoIssue #28432: Merge from 3.5
Berker Peksag [Sun, 16 Oct 2016 21:46:37 +0000 (00:46 +0300)]
Issue #28432: Merge from 3.5

8 years agoIssue #28432: Fix first parameter name in PyUnicode_EncodeLocale documentation
Berker Peksag [Sun, 16 Oct 2016 21:45:56 +0000 (00:45 +0300)]
Issue #28432: Fix first parameter name in PyUnicode_EncodeLocale documentation

Patch by Xiang Zhang.

8 years agoIssue #27896: Allow passing sphinx options to Doc/Makefile
Victor Stinner [Sun, 16 Oct 2016 17:14:23 +0000 (19:14 +0200)]
Issue #27896: Allow passing sphinx options to Doc/Makefile

Patch written by Julien Palard.

8 years agoIssue #27896: Allow passing sphinx options to Doc/Makefile
Victor Stinner [Sun, 16 Oct 2016 17:14:23 +0000 (19:14 +0200)]
Issue #27896: Allow passing sphinx options to Doc/Makefile

Patch written by Julien Palard.

8 years agoMinor fix-up to apply the stack adjustment macros consistent with the other opcodes
Raymond Hettinger [Sun, 16 Oct 2016 02:03:06 +0000 (19:03 -0700)]
Minor fix-up to apply the stack adjustment macros consistent with the other opcodes

8 years agoRemove spurious article.
Ned Deily [Sat, 15 Oct 2016 19:14:54 +0000 (15:14 -0400)]
Remove spurious article.

8 years agoRemove spurious article.
Ned Deily [Sat, 15 Oct 2016 19:13:20 +0000 (15:13 -0400)]
Remove spurious article.

8 years agoRemove spurious article.
Ned Deily [Sat, 15 Oct 2016 19:12:03 +0000 (15:12 -0400)]
Remove spurious article.

8 years agoIssue #28428: Rename _futures module to _asyncio. (merge from 3.6)
INADA Naoki [Sat, 15 Oct 2016 06:41:05 +0000 (15:41 +0900)]
Issue #28428: Rename _futures module to _asyncio. (merge from 3.6)

It will have more speedup functions or classes other than asyncio.Future.

8 years agoIssue #28428: Rename _futures module to _asyncio.
INADA Naoki [Sat, 15 Oct 2016 06:39:19 +0000 (15:39 +0900)]
Issue #28428: Rename _futures module to _asyncio.

It will have more speedup functions or classes other than asyncio.Future.

8 years agoIssue #27800: Merge RE repetition doc from 3.6
Martin Panter [Sat, 15 Oct 2016 01:39:21 +0000 (01:39 +0000)]
Issue #27800: Merge RE repetition doc from 3.6

8 years agoIssue #27800: Merge RE repetition doc from 3.5 into 3.6
Martin Panter [Sat, 15 Oct 2016 01:39:01 +0000 (01:39 +0000)]
Issue #27800: Merge RE repetition doc from 3.5 into 3.6

8 years agoIssue #27800: Document limitation and workaround for multiple RE repetitions
Martin Panter [Sat, 15 Oct 2016 01:18:16 +0000 (01:18 +0000)]
Issue #27800: Document limitation and workaround for multiple RE repetitions

8 years agoIssue #23231: Merge codecs doc from 3.6
Martin Panter [Sat, 15 Oct 2016 01:04:36 +0000 (01:04 +0000)]
Issue #23231: Merge codecs doc from 3.6

8 years agoIssue #23231: Merge codecs doc from 3.5 into 3.6
Martin Panter [Sat, 15 Oct 2016 01:04:08 +0000 (01:04 +0000)]
Issue #23231: Merge codecs doc from 3.5 into 3.6

8 years agoIssue #23231: Document codecs.iterencode(), iterdecode() shortcomings
Martin Panter [Sat, 15 Oct 2016 00:56:47 +0000 (00:56 +0000)]
Issue #23231: Document codecs.iterencode(), iterdecode() shortcomings

8 years agoMake cs_path_exists a protected, static method
Jason R. Coombs [Fri, 14 Oct 2016 19:41:42 +0000 (15:41 -0400)]
Make cs_path_exists a protected, static method

8 years agoAdd case-sensitive file comparison for detecting/adding standard default files.
Jason R. Coombs [Fri, 14 Oct 2016 19:39:01 +0000 (15:39 -0400)]
Add case-sensitive file comparison for detecting/adding standard default files.

8 years agoExtract methods from sdist.add_defaults, allowing subclasses to override or inject...
Jason R. Coombs [Fri, 14 Oct 2016 18:53:32 +0000 (14:53 -0400)]
Extract methods from sdist.add_defaults, allowing subclasses to override or inject different behaviors.

8 years agoGet names for README files from class attribute, allowing subclass to override.
Jason R. Coombs [Fri, 14 Oct 2016 18:44:11 +0000 (14:44 -0400)]
Get names for README files from class attribute, allowing subclass to override.

8 years agoReplace trailing comments with block-level comments
Jason R. Coombs [Fri, 14 Oct 2016 18:10:07 +0000 (14:10 -0400)]
Replace trailing comments with block-level comments

8 years agoRemove unused import and reorganize imports of modules.
Jason R. Coombs [Fri, 14 Oct 2016 18:08:28 +0000 (14:08 -0400)]
Remove unused import and reorganize imports of modules.

8 years agoRemove wildcard imports from distutils.command.sdist
Jason R. Coombs [Fri, 14 Oct 2016 18:06:28 +0000 (14:06 -0400)]
Remove wildcard imports from distutils.command.sdist

8 years ago[merge from 3.6] Issue28438 - Fix the link for pkgutil.get_data doc.
Senthil Kumaran [Fri, 14 Oct 2016 06:00:37 +0000 (23:00 -0700)]
[merge from 3.6] Issue28438 - Fix the link for pkgutil.get_data doc.

Patch contributed by Xiang Zhang.

8 years ago[merge from 3.5] Issue28438 - Fix the link for pkgutil.get_data doc.
Senthil Kumaran [Fri, 14 Oct 2016 05:59:36 +0000 (22:59 -0700)]
[merge from 3.5] Issue28438 - Fix the link for pkgutil.get_data doc.

Patch contributed by Xiang Zhang.

8 years agoIssue28438 - Fix the link for pkgutil.get_data doc. Patch contributed by Xiang Zhang.
Senthil Kumaran [Fri, 14 Oct 2016 05:58:47 +0000 (22:58 -0700)]
Issue28438 - Fix the link for pkgutil.get_data doc. Patch contributed by Xiang Zhang.

8 years agomerge
Raymond Hettinger [Fri, 14 Oct 2016 05:20:00 +0000 (01:20 -0400)]
merge

8 years agoIssue #18844: Add more tests
Raymond Hettinger [Fri, 14 Oct 2016 05:19:38 +0000 (01:19 -0400)]
Issue #18844:  Add more tests