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

8 years agoIssue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No...
Guido van Rossum [Thu, 13 Oct 2016 21:32:55 +0000 (14:32 -0700)]
Issue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No/Yes. (3.6->3.7)

8 years agoIssue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No...
Guido van Rossum [Thu, 13 Oct 2016 21:32:33 +0000 (14:32 -0700)]
Issue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No/Yes. (3.5->3.6)

8 years agoIssue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No...
Guido van Rossum [Thu, 13 Oct 2016 21:31:50 +0000 (14:31 -0700)]
Issue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No/Yes.

8 years agoIssue #26869: Document unittest.TestCase.longMessage. (Mariatta) (3.6->3.7)
Guido van Rossum [Thu, 13 Oct 2016 21:24:47 +0000 (14:24 -0700)]
Issue #26869: Document unittest.TestCase.longMessage. (Mariatta) (3.6->3.7)

8 years agoIssue #26869: Document unittest.TestCase.longMessage. (Mariatta) (3.5->3.6)
Guido van Rossum [Thu, 13 Oct 2016 21:24:23 +0000 (14:24 -0700)]
Issue #26869: Document unittest.TestCase.longMessage. (Mariatta) (3.5->3.6)

8 years agoIssue #26869: Document unittest.TestCase.longMessage. (Mariatta)
Guido van Rossum [Thu, 13 Oct 2016 21:23:01 +0000 (14:23 -0700)]
Issue #26869: Document unittest.TestCase.longMessage. (Mariatta)

8 years agoIssue #21443: Show how to change log level for asyncio. (Merge 3.6->3.7)
Guido van Rossum [Thu, 13 Oct 2016 20:57:39 +0000 (13:57 -0700)]
Issue #21443: Show how to change log level for asyncio. (Merge 3.6->3.7)

8 years agoIssue #21443: Show how to change log level for asyncio. (Merge 3.5->3.6)
Guido van Rossum [Thu, 13 Oct 2016 20:57:17 +0000 (13:57 -0700)]
Issue #21443: Show how to change log level for asyncio. (Merge 3.5->3.6)

8 years agoIssue #21443: Show how to change log level for asyncio.
Guido van Rossum [Thu, 13 Oct 2016 20:56:40 +0000 (13:56 -0700)]
Issue #21443: Show how to change log level for asyncio.

8 years agoCheck return value of _PyDict_SetItemId()
Christian Heimes [Thu, 13 Oct 2016 19:10:42 +0000 (21:10 +0200)]
Check return value of _PyDict_SetItemId()

8 years agoCheck return value of _PyDict_SetItemId()
Christian Heimes [Thu, 13 Oct 2016 19:10:31 +0000 (21:10 +0200)]
Check return value of _PyDict_SetItemId()

8 years agoIssue #24452: Make webbrowser support Chrome on Mac OS X (merge 3.6->3.7)
Guido van Rossum [Thu, 13 Oct 2016 18:25:17 +0000 (11:25 -0700)]
Issue #24452: Make webbrowser support Chrome on Mac OS X (merge 3.6->3.7)

8 years agoIssue #24452: Make webbrowser support Chrome on Mac OS X (merge 3.5->3.6)
Guido van Rossum [Thu, 13 Oct 2016 18:22:52 +0000 (11:22 -0700)]
Issue #24452: Make webbrowser support Chrome on Mac OS X (merge 3.5->3.6)

8 years agoIssue #24452: Make webbrowser support Chrome on Mac OS X.
Guido van Rossum [Thu, 13 Oct 2016 18:17:27 +0000 (11:17 -0700)]
Issue #24452: Make webbrowser support Chrome on Mac OS X.

8 years agoIssue #20766: Merge with 3.6.
Xavier de Gaye [Wed, 12 Oct 2016 18:18:33 +0000 (20:18 +0200)]
Issue #20766: Merge with 3.6.

8 years agoIssue #20766: Merge with 3.5.
Xavier de Gaye [Wed, 12 Oct 2016 18:16:05 +0000 (20:16 +0200)]
Issue #20766: Merge with 3.5.

8 years agoIssue #20766: Fix references leaked by pdb in the handling of SIGINT handlers.
Xavier de Gaye [Wed, 12 Oct 2016 18:13:24 +0000 (20:13 +0200)]
Issue #20766: Fix references leaked by pdb in the handling of SIGINT handlers.

8 years agoMerge 3.6
Victor Stinner [Wed, 12 Oct 2016 11:59:13 +0000 (13:59 +0200)]
Merge 3.6

8 years agoFix _Py_normalize_encoding() command
Victor Stinner [Wed, 12 Oct 2016 11:57:45 +0000 (13:57 +0200)]
Fix _Py_normalize_encoding() command

It's not exactly the same than encodings.normalize_encoding(): the C function
also converts to lowercase.

8 years agomerge 3.6 (#28417)
Benjamin Peterson [Wed, 12 Oct 2016 06:01:12 +0000 (23:01 -0700)]
merge 3.6 (#28417)

8 years agova_end vargs2 once (closes #28417)
Benjamin Peterson [Wed, 12 Oct 2016 06:00:58 +0000 (23:00 -0700)]
va_end vargs2 once (closes #28417)

8 years agomerge
Raymond Hettinger [Wed, 12 Oct 2016 05:42:40 +0000 (01:42 -0400)]
merge

8 years agoIssue #18844: Fix-up examples for random.choices(). Remove over-specified test.
Raymond Hettinger [Wed, 12 Oct 2016 05:42:10 +0000 (01:42 -0400)]
Issue #18844:  Fix-up examples for random.choices().  Remove over-specified test.

8 years agomerge 3.6
Benjamin Peterson [Tue, 11 Oct 2016 06:21:10 +0000 (23:21 -0700)]
merge 3.6

8 years agoprefix freegrammar (closes #28413)
Benjamin Peterson [Tue, 11 Oct 2016 06:21:02 +0000 (23:21 -0700)]
prefix freegrammar (closes #28413)

8 years ago - Modules/Setup.dist: Add the _blake2 module
doko@ubuntu.com [Tue, 11 Oct 2016 06:06:26 +0000 (08:06 +0200)]
 - Modules/Setup.dist: Add the _blake2 module

8 years ago - Modules/Setup.dist: Add the _blake2 module
doko@ubuntu.com [Tue, 11 Oct 2016 06:06:26 +0000 (08:06 +0200)]
 - Modules/Setup.dist: Add the _blake2 module

8 years ago - dictobject.c: Make dict_merge symbol a static symbol
doko@ubuntu.com [Tue, 11 Oct 2016 06:04:02 +0000 (08:04 +0200)]
 - dictobject.c: Make dict_merge symbol a static symbol

8 years ago - dictobject.c: Make dict_merge symbol a static symbol
doko@ubuntu.com [Tue, 11 Oct 2016 06:04:02 +0000 (08:04 +0200)]
 - dictobject.c: Make dict_merge symbol a static symbol

8 years agoIssue #28208: Merge with 3.6
Zachary Ware [Tue, 11 Oct 2016 03:37:29 +0000 (22:37 -0500)]
Issue #28208: Merge with 3.6

8 years agoIssue #28208: Update Windows build to use SQLite 3.14.2.0
Zachary Ware [Tue, 11 Oct 2016 03:36:21 +0000 (22:36 -0500)]
Issue #28208: Update Windows build to use SQLite 3.14.2.0

8 years agoIssue #28248: Merge with 3.6
Zachary Ware [Tue, 11 Oct 2016 03:28:39 +0000 (22:28 -0500)]
Issue #28248: Merge with 3.6

8 years agoIssue #28248: Merge with 3.5
Zachary Ware [Tue, 11 Oct 2016 03:22:27 +0000 (22:22 -0500)]
Issue #28248: Merge with 3.5

8 years agoIssue #28248: Merge with 3.4
Zachary Ware [Tue, 11 Oct 2016 03:11:12 +0000 (22:11 -0500)]
Issue #28248: Merge with 3.4

8 years agoIssue #28248: Update Windows build to use OpenSSL 1.0.2j
Zachary Ware [Tue, 11 Oct 2016 02:57:20 +0000 (21:57 -0500)]
Issue #28248: Update Windows build to use OpenSSL 1.0.2j

8 years agomerge 3.6
Ned Deily [Tue, 11 Oct 2016 00:56:44 +0000 (20:56 -0400)]
merge 3.6

8 years agoMerge 3.6 releasing branch
Ned Deily [Tue, 11 Oct 2016 00:53:33 +0000 (20:53 -0400)]
Merge 3.6 releasing branch

8 years agoStart 3.6.0b3
Ned Deily [Tue, 11 Oct 2016 00:46:40 +0000 (20:46 -0400)]
Start 3.6.0b3

8 years agoFix launcher.msi from rebuilding during release build.
Steve Dower [Mon, 10 Oct 2016 23:19:20 +0000 (16:19 -0700)]
Fix launcher.msi from rebuilding during release build.

8 years agoFix launcher.msi from rebuilding during release build.
Steve Dower [Mon, 10 Oct 2016 23:19:06 +0000 (16:19 -0700)]
Fix launcher.msi from rebuilding during release build.

8 years agoAdded tag v3.6.0b2 for changeset b9fadc7d1c3f
Ned Deily [Mon, 10 Oct 2016 20:09:41 +0000 (16:09 -0400)]
Added tag v3.6.0b2 for changeset b9fadc7d1c3f

8 years agoVersion bump for 3.6.0b2 v3.6.0b2
Ned Deily [Mon, 10 Oct 2016 20:09:08 +0000 (16:09 -0400)]
Version bump for 3.6.0b2

8 years agoUpdate pydoc topics for 3.6.0b2
Ned Deily [Mon, 10 Oct 2016 20:02:26 +0000 (16:02 -0400)]
Update pydoc topics for 3.6.0b2

8 years agonull merge
Ned Deily [Mon, 10 Oct 2016 19:45:04 +0000 (15:45 -0400)]
null merge

8 years agoregenerate configure with autoconf 2.69
Ned Deily [Mon, 10 Oct 2016 19:42:18 +0000 (15:42 -0400)]
regenerate configure with autoconf 2.69

8 years agomerge with 3.6
Ned Deily [Mon, 10 Oct 2016 19:34:47 +0000 (15:34 -0400)]
merge with 3.6

8 years agoUpdate OS X installer ReadMe for 360b2.
Ned Deily [Mon, 10 Oct 2016 19:34:00 +0000 (15:34 -0400)]
Update OS X installer ReadMe for 360b2.