]> granicus.if.org Git - python/log
python
8 years agomerge 3.5 (#27773)
Benjamin Peterson [Tue, 16 Aug 2016 04:56:11 +0000 (21:56 -0700)]
merge 3.5 (#27773)

8 years agofix corner cases in the management of server_hostname (closes #27773)
Benjamin Peterson [Tue, 16 Aug 2016 04:55:37 +0000 (21:55 -0700)]
fix corner cases in the management of server_hostname (closes #27773)

8 years agomerge 3.5
Benjamin Peterson [Tue, 16 Aug 2016 04:44:06 +0000 (21:44 -0700)]
merge 3.5

8 years agomerge 3.4
Benjamin Peterson [Tue, 16 Aug 2016 04:43:57 +0000 (21:43 -0700)]
merge 3.4

8 years agofail when negative values are passed to instr()
Benjamin Peterson [Tue, 16 Aug 2016 04:40:14 +0000 (21:40 -0700)]
fail when negative values are passed to instr()

8 years agoIssue #27736: Improve the existing embedded interpreter init/fini test
Ned Deily [Tue, 16 Aug 2016 04:17:42 +0000 (00:17 -0400)]
Issue #27736: Improve the existing embedded interpreter init/fini test
by increasing the number of iterations.  That appears sufficient to
expose the ref count problem fixed in this issue.
Patch suggested by Xiang Zhang

8 years agoIssue #27611, #24137: Only change tkinter when easily restored.
Terry Jan Reedy [Tue, 16 Aug 2016 04:10:14 +0000 (00:10 -0400)]
Issue #27611, #24137: Only change tkinter when easily restored.

8 years agoMerge from releasing branch
Ned Deily [Tue, 16 Aug 2016 02:41:17 +0000 (22:41 -0400)]
Merge from releasing branch

8 years agoStart 3.6.0bb1
Ned Deily [Tue, 16 Aug 2016 02:32:43 +0000 (22:32 -0400)]
Start 3.6.0bb1

8 years agoAdds missing file to installer.
Steve Dower [Tue, 16 Aug 2016 01:58:29 +0000 (18:58 -0700)]
Adds missing file to installer.

8 years agoIssue #26823: fix traceback abbreviation docs
Nick Coghlan [Tue, 16 Aug 2016 00:58:14 +0000 (10:58 +1000)]
Issue #26823: fix traceback abbreviation docs

- be clear builtin traceback display was also updated
- show example output in What's New
- fix versionadded markup

8 years agoAdd docs for typing.AnyStr and typing.Text. By Michael Lee. (Merge 3.5->3.6)
Guido van Rossum [Mon, 15 Aug 2016 22:08:11 +0000 (15:08 -0700)]
Add docs for typing.AnyStr and typing.Text. By Michael Lee. (Merge 3.5->3.6)

8 years agoFix typo in Misc/NEWS.
Guido van Rossum [Mon, 15 Aug 2016 22:07:25 +0000 (15:07 -0700)]
Fix typo in Misc/NEWS.

8 years agoAdd docs for typing.AnyStr and typing.Text. By Michael Lee.
Guido van Rossum [Mon, 15 Aug 2016 22:06:38 +0000 (15:06 -0700)]
Add docs for typing.AnyStr and typing.Text. By Michael Lee.

8 years agoAdded tag v3.6.0a4 for changeset 017cf260936b
Ned Deily [Mon, 15 Aug 2016 20:21:52 +0000 (16:21 -0400)]
Added tag v3.6.0a4 for changeset 017cf260936b

8 years agoVersion bump for 3.6.0a4 v3.6.0a4
Ned Deily [Mon, 15 Aug 2016 20:21:29 +0000 (16:21 -0400)]
Version bump for 3.6.0a4

8 years agoUpdate pydoc topics for 3.6.0a4
Ned Deily [Mon, 15 Aug 2016 20:12:59 +0000 (16:12 -0400)]
Update pydoc topics for 3.6.0a4

8 years agoIssue #27736: Prevent segfault after interpreter re-initialization due
Ned Deily [Mon, 15 Aug 2016 18:40:38 +0000 (14:40 -0400)]
Issue #27736: Prevent segfault after interpreter re-initialization due
to ref count problem introduced in code for Issue #27038 in 3.6.0a3.
Patch by Xiang Zhang.

8 years agoIssue #23968: Make OS X installer build script aware of renamed platform
Ned Deily [Mon, 15 Aug 2016 18:37:14 +0000 (14:37 -0400)]
Issue #23968: Make OS X installer build script aware of renamed platform
directory and sysconfigdata file name.  This is a workaround for 3.6.0a4
pending resolution of other #23968 items.

8 years agoIssue #12345: Add mathemathcal constant tau to math and cmath.
Guido van Rossum [Mon, 15 Aug 2016 16:12:52 +0000 (09:12 -0700)]
Issue #12345: Add mathemathcal constant tau to math and cmath.

Patch by Lisa Roach. See also PEP 628.

8 years agoIssue #10910: merge from 3.5
Ned Deily [Mon, 15 Aug 2016 07:23:23 +0000 (03:23 -0400)]
Issue #10910: merge from 3.5

8 years agoIssue #10910: Update FreedBSD version checks for the ctype UTF-8 workaround.
Ned Deily [Mon, 15 Aug 2016 07:08:18 +0000 (03:08 -0400)]
Issue #10910: Update FreedBSD version checks for the ctype UTF-8 workaround.
The original problem has been fixed in newer versions of FreeBSD.
Patch by Dimitry Andric of the FreeBSD project.

8 years agoIssue #10910: Avoid C++ compilation errors on FreeBSD and OS X.
Ned Deily [Mon, 15 Aug 2016 07:07:26 +0000 (03:07 -0400)]
Issue #10910: Avoid C++ compilation errors on FreeBSD and OS X.
Patch by Ronald Oussoren.

8 years agoIssue #16764: Support keyword arguments to zlib.decompress(). Patch by
Serhiy Storchaka [Mon, 15 Aug 2016 07:06:16 +0000 (10:06 +0300)]
Issue #16764: Support keyword arguments to zlib.decompress().  Patch by
Xiang Zhang.

8 years agoIssue #27704: Optimized creating bytes and bytearray from byte-like objects
Serhiy Storchaka [Mon, 15 Aug 2016 06:46:07 +0000 (09:46 +0300)]
Issue #27704: Optimized creating bytes and bytearray from byte-like objects
and iterables.  Speed up to 3 times for short objects.  Original patch by
Naoki Inada.

8 years agoIssue #26823: Abbreviate recursive tracebacks
Nick Coghlan [Mon, 15 Aug 2016 03:11:34 +0000 (13:11 +1000)]
Issue #26823: Abbreviate recursive tracebacks

Large sections of repeated lines in tracebacks are now abbreviated as
"[Previous line repeated {count} more times]" by both the traceback
module and the builtin traceback rendering.

Patch by Emanuel Barry.

8 years agoUpdate Misc/NEWS.
Steven D'Aprano [Mon, 15 Aug 2016 01:21:08 +0000 (11:21 +1000)]
Update Misc/NEWS.

8 years agomerge 3.5
Donald Stufft [Sun, 14 Aug 2016 20:10:31 +0000 (16:10 -0400)]
merge 3.5

8 years agomerge 3.4
Donald Stufft [Sun, 14 Aug 2016 20:10:17 +0000 (16:10 -0400)]
merge 3.4

8 years agoUpdate setuptools/pip to 25.2.0/8.1.2
Donald Stufft [Sun, 14 Aug 2016 20:09:56 +0000 (16:09 -0400)]
Update setuptools/pip to 25.2.0/8.1.2

8 years agoIssue27573 code.interact prints a message when exiting.
Steven D'Aprano [Sun, 14 Aug 2016 18:14:33 +0000 (04:14 +1000)]
Issue27573 code.interact prints a message when exiting.

8 years agoAdd versionadded tag to docs for timeit.autorange
Steven D'Aprano [Sun, 14 Aug 2016 16:47:49 +0000 (02:47 +1000)]
Add versionadded tag to docs for timeit.autorange

8 years agoIssue6422 add autorange method to timeit.Timer
Steven D'Aprano [Sun, 14 Aug 2016 15:27:03 +0000 (01:27 +1000)]
Issue6422 add autorange method to timeit.Timer

8 years agoIssue #27574: Decreased an overhead of parsing keyword arguments in functions
Serhiy Storchaka [Sun, 14 Aug 2016 07:52:18 +0000 (10:52 +0300)]
Issue #27574: Decreased an overhead of parsing keyword arguments in functions
implemented with using Argument Clinic.

8 years agomerge 3.5 (closes #27760)
Benjamin Peterson [Sun, 14 Aug 2016 01:37:20 +0000 (18:37 -0700)]
merge 3.5 (closes #27760)

8 years agomerge 3.4 (closes #27760)
Benjamin Peterson [Sun, 14 Aug 2016 01:37:12 +0000 (18:37 -0700)]
merge 3.4 (closes #27760)

8 years agomerge 3.3 (closes #27760)
Benjamin Peterson [Sun, 14 Aug 2016 01:36:55 +0000 (18:36 -0700)]
merge 3.3 (closes #27760)

8 years agofix possible integer overflow in binascii.b2a_qp (closes #27760)
Benjamin Peterson [Sun, 14 Aug 2016 01:33:33 +0000 (18:33 -0700)]
fix possible integer overflow in binascii.b2a_qp (closes #27760)

Reported by Thomas E. Hybel

8 years agomerge 3.5
Benjamin Peterson [Sun, 14 Aug 2016 01:21:32 +0000 (18:21 -0700)]
merge 3.5

8 years agomerge 3.4
Benjamin Peterson [Sun, 14 Aug 2016 01:21:16 +0000 (18:21 -0700)]
merge 3.4

8 years agodo not allow reading negative values with getstr()
Benjamin Peterson [Sun, 14 Aug 2016 01:15:28 +0000 (18:15 -0700)]
do not allow reading negative values with getstr()

8 years agomerge 3.5 (closes #27758)
Benjamin Peterson [Sun, 14 Aug 2016 00:22:18 +0000 (17:22 -0700)]
merge 3.5 (closes #27758)

8 years agomerge 3.4 (closes #27758)
Benjamin Peterson [Sun, 14 Aug 2016 00:21:54 +0000 (17:21 -0700)]
merge 3.4 (closes #27758)

8 years agomerge 3.3 (#27758)
Benjamin Peterson [Sun, 14 Aug 2016 00:21:22 +0000 (17:21 -0700)]
merge 3.3 (#27758)

8 years agocheck for overflow in join_append_data (closes #27758)
Benjamin Peterson [Sun, 14 Aug 2016 00:17:06 +0000 (17:17 -0700)]
check for overflow in join_append_data (closes #27758)

Reported by Thomas E. Hybel

8 years agoMerge: #27753: fix typo (name->named).
R David Murray [Sat, 13 Aug 2016 18:47:54 +0000 (14:47 -0400)]
Merge: #27753: fix typo (name->named).

8 years ago#27753: fix typo (name->named).
R David Murray [Sat, 13 Aug 2016 18:47:18 +0000 (14:47 -0400)]
#27753: fix typo (name->named).

8 years agomerge
Raymond Hettinger [Sat, 13 Aug 2016 18:15:59 +0000 (11:15 -0700)]
merge

8 years agoIssue #27720: Fix error in eng_to_decimal docs and add examples from the specification.
Raymond Hettinger [Sat, 13 Aug 2016 18:15:34 +0000 (11:15 -0700)]
Issue #27720: Fix error in eng_to_decimal docs and add examples from the specification.
(Based on a first draft patch from Evelyn Mitchell.)

8 years agoIssue #24637: Merge from 3.5
Berker Peksag [Sat, 13 Aug 2016 02:38:18 +0000 (05:38 +0300)]
Issue #24637: Merge from 3.5

8 years agoIssue #24637: Document that locals can be any mapping object
Berker Peksag [Sat, 13 Aug 2016 02:37:49 +0000 (05:37 +0300)]
Issue #24637: Document that locals can be any mapping object

This behavior is already tested in test_general_eval in
Lib/test/test_builtin.py

Patch by Matthew Keeter.

8 years agoIssue #24773: Skip system tests for transitions in year 2037 and later.
Alexander Belopolsky [Fri, 12 Aug 2016 23:08:15 +0000 (19:08 -0400)]
Issue #24773: Skip system tests for transitions in year 2037 and later.

8 years agoMerge for issue #27712
Brett Cannon [Fri, 12 Aug 2016 17:57:17 +0000 (10:57 -0700)]
Merge for issue #27712

8 years agoIssue #27712: Fix some typos in the import docs.
Brett Cannon [Fri, 12 Aug 2016 17:56:48 +0000 (10:56 -0700)]
Issue #27712: Fix some typos in the import docs.

Thanks to Xiang Zhang for the patch.

8 years agoIssue #25805: Skip a test for test_pkgutil when __name__ == __main__.
Brett Cannon [Fri, 12 Aug 2016 17:53:53 +0000 (10:53 -0700)]
Issue #25805: Skip a test for test_pkgutil when __name__ == __main__.

Thanks to SilentGhost for the patch.

8 years agomerge
Raymond Hettinger [Fri, 12 Aug 2016 16:44:18 +0000 (09:44 -0700)]
merge

8 years agoIssue 27719: Remove a doc example that is not applicable in Python 3
Raymond Hettinger [Fri, 12 Aug 2016 16:43:59 +0000 (09:43 -0700)]
Issue 27719:  Remove a doc example that is not applicable in Python 3

8 years agoIssue #25825: Merge AIX fix from 3.5
Martin Panter [Fri, 12 Aug 2016 13:26:01 +0000 (13:26 +0000)]
Issue #25825: Merge AIX fix from 3.5

8 years agoIssue #25825: Fix references to Modules/python.exp
Martin Panter [Fri, 12 Aug 2016 13:21:05 +0000 (13:21 +0000)]
Issue #25825: Fix references to Modules/python.exp

These were incorrectly changed in revision 88a532a31eb3.

8 years agoIssue #27745: Merge typo fixes from 3.5
Martin Panter [Fri, 12 Aug 2016 12:05:48 +0000 (12:05 +0000)]
Issue #27745: Merge typo fixes from 3.5

8 years agoIssue #26741: Merge ResourceWarning fixes from 3.5
Martin Panter [Fri, 12 Aug 2016 12:04:27 +0000 (12:04 +0000)]
Issue #26741: Merge ResourceWarning fixes from 3.5

8 years agoIssue #27745: Fix some typos in Argument Clinic howto, by Lele Gaifax
Martin Panter [Fri, 12 Aug 2016 12:02:03 +0000 (12:02 +0000)]
Issue #27745: Fix some typos in Argument Clinic howto, by Lele Gaifax

8 years agoIssue #26741: Clean up subprocess.Popen object in test_poll
Martin Panter [Fri, 12 Aug 2016 11:59:52 +0000 (11:59 +0000)]
Issue #26741: Clean up subprocess.Popen object in test_poll

8 years agoClose HTTP connections and responses in tests to avoid ResourceWarnings
Martin Panter [Fri, 12 Aug 2016 11:59:52 +0000 (11:59 +0000)]
Close HTTP connections and responses in tests to avoid ResourceWarnings

8 years agoIssue #24773: Fix and speed-up ZoneInfoCompleteTest.
Alexander Belopolsky [Thu, 11 Aug 2016 15:01:45 +0000 (11:01 -0400)]
Issue #24773: Fix and speed-up ZoneInfoCompleteTest.

  * Read the zone.tab file for the list of zones to exclude
  the aliases.
  * Skip Casablanca and El_Aaiun October 2037 transitions.

8 years agoIssue #27732: Silence test_idle with dummy bell functions.
Terry Jan Reedy [Thu, 11 Aug 2016 03:44:54 +0000 (23:44 -0400)]
Issue #27732: Silence test_idle with dummy bell functions.

8 years agonull merge from3.5
Terry Jan Reedy [Wed, 10 Aug 2016 20:54:31 +0000 (16:54 -0400)]
null merge from3.5

8 years agoIssue #27714: text_textview now passes when re-run in the same process
Terry Jan Reedy [Wed, 10 Aug 2016 20:52:24 +0000 (16:52 -0400)]
Issue #27714: text_textview now passes when re-run in the same process
because test_idle failed while running with test -w (and no -jn).

8 years agoIssue #27714: text_textview now passes when re-run in the same process
Terry Jan Reedy [Wed, 10 Aug 2016 19:15:25 +0000 (15:15 -0400)]
Issue #27714: text_textview now passes when re-run in the same process
because test_idle failed while running with test -w (and no -jn).
Prevent a non-fatal warning from test_config_key.

8 years agoIssue #27380: For test_query on Mac, adjust one expected result.
Terry Jan Reedy [Wed, 10 Aug 2016 17:16:26 +0000 (13:16 -0400)]
Issue #27380: For test_query on Mac, adjust one expected result.

8 years agoIssue #27621: Put query response validation error messages in query box
Terry Jan Reedy [Wed, 10 Aug 2016 16:50:16 +0000 (12:50 -0400)]
Issue #27621: Put query response validation error messages in query box
instead of in separate massagebox.  Redo tests to match.
Add Mac OSX refinements.  Original patch by Mark Roseman.

8 years agoMerge ISO-8859 fixes from 3.5
Martin Panter [Wed, 10 Aug 2016 07:00:33 +0000 (07:00 +0000)]
Merge ISO-8859 fixes from 3.5

8 years agoIssue #27200: Merge with 3.5
Zachary Ware [Wed, 10 Aug 2016 06:05:56 +0000 (01:05 -0500)]
Issue #27200: Merge with 3.5

8 years agoIssue #27200: Fix doctests in Doc/library/hashlib.rst
Zachary Ware [Wed, 10 Aug 2016 06:05:19 +0000 (01:05 -0500)]
Issue #27200: Fix doctests in Doc/library/hashlib.rst

8 years agoCloses #27210: Merge with 3.5
Zachary Ware [Wed, 10 Aug 2016 06:01:05 +0000 (01:01 -0500)]
Closes #27210: Merge with 3.5

8 years agoIssue #27210: Fix doctests for a few modules.
Zachary Ware [Wed, 10 Aug 2016 05:59:59 +0000 (00:59 -0500)]
Issue #27210: Fix doctests for a few modules.

Initial patch by Jelle Zijlstra.

8 years agoCloses #27209: Merge with 3.5
Zachary Ware [Wed, 10 Aug 2016 05:39:59 +0000 (00:39 -0500)]
Closes #27209: Merge with 3.5

8 years agoIssue #27209: Fix doctests in Doc/library/email*.rst
Zachary Ware [Wed, 10 Aug 2016 05:39:41 +0000 (00:39 -0500)]
Issue #27209: Fix doctests in Doc/library/email*.rst

Patch by Jelle Zijlstra.

8 years agoCloses #27208: Merge with 3.5
Zachary Ware [Wed, 10 Aug 2016 05:35:51 +0000 (00:35 -0500)]
Closes #27208: Merge with 3.5

8 years agoIssue #27208: Fix doctest in Doc/library/traceback.rst
Zachary Ware [Wed, 10 Aug 2016 05:35:27 +0000 (00:35 -0500)]
Issue #27208: Fix doctest in Doc/library/traceback.rst

Patch by Jelle Zijlstra.

8 years agoCloses #27207: Merge with 3.5
Zachary Ware [Wed, 10 Aug 2016 05:31:31 +0000 (00:31 -0500)]
Closes #27207: Merge with 3.5

8 years agoIssue #27207: Fix doctests in Doc/whatsnew/3.2.rst
Zachary Ware [Wed, 10 Aug 2016 05:30:41 +0000 (00:30 -0500)]
Issue #27207: Fix doctests in Doc/whatsnew/3.2.rst

Initial patch by Jelle Zijlstra.

8 years agoCorrect misspellings of ISO-8859
Martin Panter [Wed, 10 Aug 2016 05:25:16 +0000 (05:25 +0000)]
Correct misspellings of ISO-8859

8 years agoCloses #27206: Merge with 3.5
Zachary Ware [Tue, 9 Aug 2016 22:45:15 +0000 (17:45 -0500)]
Closes #27206: Merge with 3.5

8 years agoIssue #27206: Fix doctests in Doc/tutorial.
Zachary Ware [Tue, 9 Aug 2016 22:44:52 +0000 (17:44 -0500)]
Issue #27206: Fix doctests in Doc/tutorial.

Patch by Jelle Zijlstra.

8 years agoCloses #27205: Merge with 3.5
Zachary Ware [Tue, 9 Aug 2016 22:38:44 +0000 (17:38 -0500)]
Closes #27205: Merge with 3.5

8 years agoIssue #27205: Fix doctests in Doc/library/collections.rst.
Zachary Ware [Tue, 9 Aug 2016 22:38:22 +0000 (17:38 -0500)]
Issue #27205: Fix doctests in Doc/library/collections.rst.

Initial patch by Jelle Zijlstra.

8 years agoCloses #27722: Merge with 3.5
Zachary Ware [Tue, 9 Aug 2016 22:10:53 +0000 (17:10 -0500)]
Closes #27722: Merge with 3.5

8 years agoIssue #27722: Fix default for touch method's 'mode' argument
Zachary Ware [Tue, 9 Aug 2016 22:10:39 +0000 (17:10 -0500)]
Issue #27722: Fix default for touch method's 'mode' argument

8 years agoCloses #27204: Merge with 3.5
Zachary Ware [Tue, 9 Aug 2016 22:05:23 +0000 (17:05 -0500)]
Closes #27204: Merge with 3.5

8 years agoIssue #27204: Fix doctests in Doc/howto
Zachary Ware [Tue, 9 Aug 2016 21:47:04 +0000 (16:47 -0500)]
Issue #27204: Fix doctests in Doc/howto

Patch by Jelle Zijlstra.

8 years agoMerge with 3.5
Zachary Ware [Tue, 9 Aug 2016 21:21:17 +0000 (16:21 -0500)]
Merge with 3.5

8 years agoCorrect signatures for a couple of logging handlers
Zachary Ware [Tue, 9 Aug 2016 21:20:41 +0000 (16:20 -0500)]
Correct signatures for a couple of logging handlers

Reported by Oleg Gromyak on docs@

8 years agoCloses #21999: (Empty) merge from 3.5.
Vinay Sajip [Tue, 9 Aug 2016 14:07:06 +0000 (15:07 +0100)]
Closes #21999: (Empty) merge from 3.5.

8 years agoCloses #21999: Handled empty strings correctly when in POSIX mode.
Vinay Sajip [Tue, 9 Aug 2016 14:04:49 +0000 (15:04 +0100)]
Closes #21999: Handled empty strings correctly when in POSIX mode.

8 years agoIssue27181 add geometric mean.
Steven D'Aprano [Tue, 9 Aug 2016 03:58:10 +0000 (13:58 +1000)]
Issue27181 add geometric mean.

8 years agoTighten up test of harmonic mean on a single value.
Steven D'Aprano [Tue, 9 Aug 2016 03:19:48 +0000 (13:19 +1000)]
Tighten up test of harmonic mean on a single value.

8 years agoAutomated merge with ssh://hg.python.org/cpython
Steven D'Aprano [Tue, 9 Aug 2016 02:49:20 +0000 (12:49 +1000)]
Automated merge with ssh://hg.python.org/cpython

8 years agoAdd harmonic mean and tests.
Steven D'Aprano [Tue, 9 Aug 2016 02:49:01 +0000 (12:49 +1000)]
Add harmonic mean and tests.

8 years agoIssue #27700: Document AbstractEventLoop, not BaseEventLoop. (Merge 3.5->3.6)
Guido van Rossum [Mon, 8 Aug 2016 21:43:46 +0000 (14:43 -0700)]
Issue #27700: Document AbstractEventLoop, not BaseEventLoop. (Merge 3.5->3.6)