]> granicus.if.org Git - python/log
python
9 years agoIssue #25410: Made testing that od_fast_nodes and dk_entries are in sync more
Serhiy Storchaka [Fri, 6 Nov 2015 10:00:43 +0000 (12:00 +0200)]
Issue #25410: Made testing that od_fast_nodes and dk_entries are in sync more
reliable.

9 years agoIssue #25410: Made testing that od_fast_nodes and dk_entries are in sync more
Serhiy Storchaka [Fri, 6 Nov 2015 10:00:03 +0000 (12:00 +0200)]
Issue #25410: Made testing that od_fast_nodes and dk_entries are in sync more
reliable.

9 years agoFixed merging error in 3ebeeed1eb28.
Serhiy Storchaka [Fri, 6 Nov 2015 09:21:02 +0000 (11:21 +0200)]
Fixed merging error in 3ebeeed1eb28.
Thanks Марк Коренберг.

9 years agoFixed merging error in 3ebeeed1eb28.
Serhiy Storchaka [Fri, 6 Nov 2015 09:19:42 +0000 (11:19 +0200)]
Fixed merging error in 3ebeeed1eb28.
Thanks Марк Коренберг.

9 years agoIssue #24726: Revert setting the value on the dict if
Serhiy Storchaka [Fri, 6 Nov 2015 09:07:31 +0000 (11:07 +0200)]
Issue #24726: Revert setting the value on the dict if
_odict_add_new_node() fails.

9 years agoIssue #24726: Revert setting the value on the dict if
Serhiy Storchaka [Fri, 6 Nov 2015 09:07:11 +0000 (11:07 +0200)]
Issue #24726: Revert setting the value on the dict if
_odict_add_new_node() fails.

9 years agoIssue #25558: Refactoring OrderedDict iteration.
Serhiy Storchaka [Fri, 6 Nov 2015 08:40:05 +0000 (10:40 +0200)]
Issue #25558: Refactoring OrderedDict iteration.

9 years agoIssue #25558: Refactoring OrderedDict iteration.
Serhiy Storchaka [Fri, 6 Nov 2015 08:39:51 +0000 (10:39 +0200)]
Issue #25558: Refactoring OrderedDict iteration.

9 years agoIssue #18010: Merge pydoc web search fix from 3.5
Martin Panter [Fri, 6 Nov 2015 01:08:34 +0000 (01:08 +0000)]
Issue #18010: Merge pydoc web search fix from 3.5

9 years agoIssue #18010: Merge pydoc web search fix from 3.4 into 3.5
Martin Panter [Fri, 6 Nov 2015 00:51:38 +0000 (00:51 +0000)]
Issue #18010: Merge pydoc web search fix from 3.4 into 3.5

9 years agoIssue #18010: Fix pydoc web server search to handle package exceptions
Martin Panter [Fri, 6 Nov 2015 00:27:14 +0000 (00:27 +0000)]
Issue #18010: Fix pydoc web server search to handle package exceptions

Implementation by Antoine Pitrou.

9 years agoMerge 3.5
Yury Selivanov [Thu, 5 Nov 2015 19:30:41 +0000 (14:30 -0500)]
Merge 3.5

9 years agoMerge 3.4
Yury Selivanov [Thu, 5 Nov 2015 19:29:19 +0000 (14:29 -0500)]
Merge 3.4

9 years agoasyncio: Optimize asyncio.sleep(0)
Yury Selivanov [Thu, 5 Nov 2015 19:29:04 +0000 (14:29 -0500)]
asyncio: Optimize asyncio.sleep(0)

9 years agoIssue #25554: Got rid of circular references in regular expression parsing.
Serhiy Storchaka [Thu, 5 Nov 2015 15:51:15 +0000 (17:51 +0200)]
Issue #25554: Got rid of circular references in regular expression parsing.

9 years agoIssue #25554: Got rid of circular references in regular expression parsing.
Serhiy Storchaka [Thu, 5 Nov 2015 15:49:26 +0000 (17:49 +0200)]
Issue #25554: Got rid of circular references in regular expression parsing.

9 years agoReuse Py_STRINGIFY() macro in sre_lib.h and dynload_win.c.
Serhiy Storchaka [Thu, 5 Nov 2015 15:43:42 +0000 (17:43 +0200)]
Reuse Py_STRINGIFY() macro in sre_lib.h and dynload_win.c.

9 years agoIssue #25556: Add assertions to PyObject_GetItem() to ensure that an exception
Victor Stinner [Thu, 5 Nov 2015 12:56:58 +0000 (13:56 +0100)]
Issue #25556: Add assertions to PyObject_GetItem() to ensure that an exception
is raised when it returns NULL.

Simplify also ceval.c: rely on the fact that PyObject_GetItem() raised an
exception when it returns NULL.

9 years agoMerge 3.5
Victor Stinner [Thu, 5 Nov 2015 12:55:43 +0000 (13:55 +0100)]
Merge 3.5

9 years agoIssue #25556: Fix LOAD_GLOBAL bytecode when globals type is not dict and the
Victor Stinner [Thu, 5 Nov 2015 12:55:20 +0000 (13:55 +0100)]
Issue #25556: Fix LOAD_GLOBAL bytecode when globals type is not dict and the
requested name doesn't exist in globals: clear the KeyError exception before
calling PyObject_GetItem(). Fail also if the raised exception is not a
KeyError.

9 years agosysmodule.c: reuse Py_STRINGIFY() macro
Victor Stinner [Thu, 5 Nov 2015 10:21:38 +0000 (11:21 +0100)]
sysmodule.c: reuse Py_STRINGIFY() macro

9 years agoIssue #24726: Fixed issue number for previous changeset 76e848554b5d.
Serhiy Storchaka [Wed, 4 Nov 2015 20:38:40 +0000 (22:38 +0200)]
Issue #24726: Fixed issue number for previous changeset 76e848554b5d.

9 years agoIssue #24726: Fixed issue number for previous changeset 59c7615ea921.
Serhiy Storchaka [Wed, 4 Nov 2015 20:37:46 +0000 (22:37 +0200)]
Issue #24726: Fixed issue number for previous changeset 59c7615ea921.

9 years agoIssue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict that
Serhiy Storchaka [Wed, 4 Nov 2015 20:33:33 +0000 (22:33 +0200)]
Issue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict that
was mutated by direct calls of dict methods.

9 years agoIssue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict that
Serhiy Storchaka [Wed, 4 Nov 2015 20:33:07 +0000 (22:33 +0200)]
Issue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict that
was mutated by direct calls of dict methods.

9 years agoIssue #25449: Iterating OrderedDict with keys with unstable hash now raises
Serhiy Storchaka [Wed, 4 Nov 2015 20:08:52 +0000 (22:08 +0200)]
Issue #25449: Iterating OrderedDict with keys with unstable hash now raises
KeyError in C implementations as well as in Python implementation.

Added tests for OrderedDict subclasses.

9 years agoIssue #25449: Iterating OrderedDict with keys with unstable hash now raises
Serhiy Storchaka [Wed, 4 Nov 2015 20:05:38 +0000 (22:05 +0200)]
Issue #25449: Iterating OrderedDict with keys with unstable hash now raises
KeyError in C implementations as well as in Python implementation.

Added tests for OrderedDict subclasses.

9 years agoFor FORMAT_VALUE opcode, make it clear that the result of PyObject_Format is pushed...
Eric V. Smith [Wed, 4 Nov 2015 12:11:13 +0000 (07:11 -0500)]
For FORMAT_VALUE opcode, make it clear that the result of PyObject_Format is pushed on the stack.

9 years agoregrtest: display progress every 30 seconds (instead of 60 seconds) when
Victor Stinner [Wed, 4 Nov 2015 08:03:53 +0000 (09:03 +0100)]
regrtest: display progress every 30 seconds (instead of 60 seconds) when
running tests in multiprocessing mode (-jN).

9 years agomerge 3.5
Benjamin Peterson [Wed, 4 Nov 2015 06:43:52 +0000 (22:43 -0800)]
merge 3.5

9 years agomerge 3.4
Benjamin Peterson [Wed, 4 Nov 2015 06:43:41 +0000 (22:43 -0800)]
merge 3.4

9 years agoremove trailing ws
Benjamin Peterson [Wed, 4 Nov 2015 06:43:31 +0000 (22:43 -0800)]
remove trailing ws

9 years agomerge 3.5
Benjamin Peterson [Wed, 4 Nov 2015 06:42:42 +0000 (22:42 -0800)]
merge 3.5

9 years agomerge 3.4
Benjamin Peterson [Wed, 4 Nov 2015 06:42:35 +0000 (22:42 -0800)]
merge 3.4

9 years agolink to modern PUG url
Benjamin Peterson [Wed, 4 Nov 2015 06:42:02 +0000 (22:42 -0800)]
link to modern PUG url

9 years agoNeaten-up the inner-loop logic.
Raymond Hettinger [Wed, 4 Nov 2015 03:00:26 +0000 (22:00 -0500)]
Neaten-up the inner-loop logic.

9 years agoIssue 25483: Fix doc typo and added versionadded. Thanks, Berker Peksag.
Eric V. Smith [Tue, 3 Nov 2015 21:30:49 +0000 (16:30 -0500)]
Issue 25483: Fix doc typo and added versionadded. Thanks, Berker Peksag.

9 years agoIssue 25483: Update dis.rst with FORMAT_VALUE opcode description.
Eric V. Smith [Tue, 3 Nov 2015 18:09:01 +0000 (13:09 -0500)]
Issue 25483: Update dis.rst with FORMAT_VALUE opcode description.

9 years agoIssue 25483: Add an opcode to make f-string formatting more robust.
Eric V. Smith [Tue, 3 Nov 2015 17:45:05 +0000 (12:45 -0500)]
Issue 25483: Add an opcode to make f-string formatting more robust.

9 years agolocale.delocalize(): only call localeconv() once
Victor Stinner [Tue, 3 Nov 2015 13:34:51 +0000 (14:34 +0100)]
locale.delocalize(): only call localeconv() once

9 years agoUse sys.platform instead of os.name to detect Windows in asyncio docs. Patch by Akira...
Guido van Rossum [Mon, 2 Nov 2015 17:17:08 +0000 (09:17 -0800)]
Use sys.platform instead of os.name to detect Windows in asyncio docs. Patch by Akira Li. (Merge 3.5->3.6)

9 years agoUse sys.platform instead of os.name to detect Windows in asyncio docs. Patch by Akira...
Guido van Rossum [Mon, 2 Nov 2015 17:16:37 +0000 (09:16 -0800)]
Use sys.platform instead of os.name to detect Windows in asyncio docs. Patch by Akira Li. (Merge 3.4->3.5)

9 years agoUse sys.platform instead of os.name to detect Windows in asyncio docs. Patch by Akira Li.
Guido van Rossum [Mon, 2 Nov 2015 17:15:47 +0000 (09:15 -0800)]
Use sys.platform instead of os.name to detect Windows in asyncio docs. Patch by Akira Li.

9 years agoIssue #25523: Merge a-to-an corrections from 3.5.
Serhiy Storchaka [Mon, 2 Nov 2015 12:44:29 +0000 (14:44 +0200)]
Issue #25523: Merge a-to-an corrections from 3.5.

9 years agoIssue #25523: Further a-to-an corrections new in 3.5.
Serhiy Storchaka [Mon, 2 Nov 2015 12:40:41 +0000 (14:40 +0200)]
Issue #25523: Further a-to-an corrections new in 3.5.

9 years agoIssue #25523: Merge a-to-an corrections from 3.4.
Serhiy Storchaka [Mon, 2 Nov 2015 12:39:05 +0000 (14:39 +0200)]
Issue #25523: Merge a-to-an corrections from 3.4.

9 years agoMinor cleanup.
Raymond Hettinger [Mon, 2 Nov 2015 12:27:40 +0000 (07:27 -0500)]
Minor cleanup.

9 years agoIssue #25523: Further a-to-an corrections.
Serhiy Storchaka [Mon, 2 Nov 2015 12:10:23 +0000 (14:10 +0200)]
Issue #25523: Further a-to-an corrections.

9 years agoIssue #24379: Revert the operator.subscript patch (dccc4e63aef5) pending resolution...
Raymond Hettinger [Mon, 2 Nov 2015 05:39:56 +0000 (00:39 -0500)]
Issue #24379:  Revert the operator.subscript patch (dccc4e63aef5) pending resolution of the related refcnt leak.

9 years agomerge
Raymond Hettinger [Mon, 2 Nov 2015 05:04:46 +0000 (00:04 -0500)]
merge

9 years agoMove the initial start-search out of the main loop so it can be factored-out later.
Raymond Hettinger [Mon, 2 Nov 2015 04:57:37 +0000 (23:57 -0500)]
Move the initial start-search out of the main loop so it can be factored-out later.

9 years agoIssue #25523: Merge a-to-an corrections from 3.5
Martin Panter [Mon, 2 Nov 2015 04:27:17 +0000 (04:27 +0000)]
Issue #25523: Merge a-to-an corrections from 3.5

9 years agoIssue #25523: Further a-to-an corrections new in 3.5
Martin Panter [Mon, 2 Nov 2015 04:20:33 +0000 (04:20 +0000)]
Issue #25523: Further a-to-an corrections new in 3.5

9 years agoIssue #25523: Merge "a" to "an" fixes from 3.4 into 3.5
Martin Panter [Mon, 2 Nov 2015 04:04:57 +0000 (04:04 +0000)]
Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5

9 years agoIssue #25523: Correct "a" article to "an" article
Martin Panter [Mon, 2 Nov 2015 03:37:02 +0000 (03:37 +0000)]
Issue #25523: Correct "a" article to "an" article

This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.

9 years agoIssue #18973: Command-line interface of the calendar module now uses argparse
Serhiy Storchaka [Sun, 1 Nov 2015 15:14:27 +0000 (17:14 +0200)]
Issue #18973: Command-line interface of the calendar module now uses argparse
instead of optparse.

9 years agoIssue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
Serhiy Storchaka [Sun, 1 Nov 2015 14:45:54 +0000 (16:45 +0200)]
Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
at the end if the FileInput was opened with binary mode.
Patch by Ryosuke Ito.

9 years agoIssue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
Serhiy Storchaka [Sun, 1 Nov 2015 14:45:26 +0000 (16:45 +0200)]
Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
at the end if the FileInput was opened with binary mode.
Patch by Ryosuke Ito.

9 years agoIssue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
Serhiy Storchaka [Sun, 1 Nov 2015 14:43:58 +0000 (16:43 +0200)]
Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
at the end if the FileInput was opened with binary mode.
Patch by Ryosuke Ito.

9 years agoIssue #25395: Fixed crash when highly nested OrderedDict structures were
Serhiy Storchaka [Sun, 1 Nov 2015 14:13:45 +0000 (16:13 +0200)]
Issue #25395: Fixed crash when highly nested OrderedDict structures were
garbage collected.

9 years agoIssue #25395: Fixed crash when highly nested OrderedDict structures were
Serhiy Storchaka [Sun, 1 Nov 2015 14:12:34 +0000 (16:12 +0200)]
Issue #25395: Fixed crash when highly nested OrderedDict structures were
garbage collected.

9 years agoFix typo noticed by Alec Nunn
Berker Peksag [Sat, 31 Oct 2015 21:55:31 +0000 (00:55 +0300)]
Fix typo noticed by Alec Nunn

9 years agoFix typo noticed by Alec Nunn
Berker Peksag [Sat, 31 Oct 2015 21:55:12 +0000 (00:55 +0300)]
Fix typo noticed by Alec Nunn

9 years agoMerge from 3.5
Steve Dower [Sat, 31 Oct 2015 20:07:44 +0000 (13:07 -0700)]
Merge from 3.5

9 years agoIssue #25450: Updates shortcuts to start Python in installation directory.
Steve Dower [Sat, 31 Oct 2015 19:41:46 +0000 (12:41 -0700)]
Issue #25450: Updates shortcuts to start Python in installation directory.

9 years agoImproves handling of test markers for building Python without intefering with actual...
Steve Dower [Sat, 31 Oct 2015 19:17:11 +0000 (12:17 -0700)]
Improves handling of test markers for building Python without intefering with actual installs.

9 years agoMerge 3.5
Yury Selivanov [Sat, 31 Oct 2015 17:34:01 +0000 (13:34 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: NumPy 1.10 has been released
Yury Selivanov [Sat, 31 Oct 2015 17:33:49 +0000 (13:33 -0400)]
whatsnew/3.5: NumPy 1.10 has been released

9 years agoMerge 3.5
Yury Selivanov [Sat, 31 Oct 2015 17:29:35 +0000 (13:29 -0400)]
Merge 3.5

9 years agodocs/inspect: Document __annotations__
Yury Selivanov [Sat, 31 Oct 2015 17:29:15 +0000 (13:29 -0400)]
docs/inspect: Document __annotations__

9 years agoMerge typo fixes from 3.5
Martin Panter [Sat, 31 Oct 2015 12:23:03 +0000 (12:23 +0000)]
Merge typo fixes from 3.5

9 years agoFix more typos in whatsnew/3.5.rst
Martin Panter [Sat, 31 Oct 2015 12:18:10 +0000 (12:18 +0000)]
Fix more typos in whatsnew/3.5.rst

9 years agoMerge spelling fixes from 3.4 into 3.5
Martin Panter [Sat, 31 Oct 2015 12:16:18 +0000 (12:16 +0000)]
Merge spelling fixes from 3.4 into 3.5

9 years agoFix some spelling errors in documentation and code comments
Martin Panter [Sat, 31 Oct 2015 11:48:53 +0000 (11:48 +0000)]
Fix some spelling errors in documentation and code comments

9 years agoMerge with 3.5
Terry Jan Reedy [Fri, 30 Oct 2015 23:41:41 +0000 (19:41 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 30 Oct 2015 23:41:28 +0000 (19:41 -0400)]
Merge with 3.4

9 years agoIssue #25519: Mark difflib.ndiff as a functions where not already.
Terry Jan Reedy [Fri, 30 Oct 2015 23:41:16 +0000 (19:41 -0400)]
Issue #25519: Mark difflib.ndiff as a functions where not already.

9 years agoMerge with 3.5
Terry Jan Reedy [Fri, 30 Oct 2015 23:26:03 +0000 (19:26 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 30 Oct 2015 23:25:50 +0000 (19:25 -0400)]
Merge with 3.4

9 years agoIssue #25505: Remove unused buggy method.
Terry Jan Reedy [Fri, 30 Oct 2015 23:25:34 +0000 (19:25 -0400)]
Issue #25505: Remove unused buggy method.

9 years agoIssue #25487: Fix tests not updated when the imp module moved to a
Brett Cannon [Fri, 30 Oct 2015 21:41:06 +0000 (14:41 -0700)]
Issue #25487: Fix tests not updated when the imp module moved to a
DeprecationWarning.

Thanks to Martin Panter for finding the tests.

9 years agoMerge with 3.5
Terry Jan Reedy [Fri, 30 Oct 2015 06:47:48 +0000 (02:47 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 30 Oct 2015 06:47:33 +0000 (02:47 -0400)]
Merge with 3.4

9 years agoIssue #25507: move test-specific imports to test function (idlelib.IOBinding).
Terry Jan Reedy [Fri, 30 Oct 2015 06:47:06 +0000 (02:47 -0400)]
Issue #25507: move test-specific imports to test function (idlelib.IOBinding).

9 years agomerge 3.5 (#25504)
Benjamin Peterson [Fri, 30 Oct 2015 04:11:29 +0000 (21:11 -0700)]
merge 3.5 (#25504)

9 years agomerge 3.4 (#25504)
Benjamin Peterson [Fri, 30 Oct 2015 04:11:22 +0000 (21:11 -0700)]
merge 3.4 (#25504)

9 years agofix usage of undefined name (#25504)
Benjamin Peterson [Fri, 30 Oct 2015 04:10:57 +0000 (21:10 -0700)]
fix usage of undefined name (#25504)

9 years agomerge 3.5 (#25515)
Benjamin Peterson [Fri, 30 Oct 2015 03:40:34 +0000 (20:40 -0700)]
merge 3.5 (#25515)

9 years agoalways use os.urandom for the uuid4 algorithm (closes #25515)
Benjamin Peterson [Fri, 30 Oct 2015 03:38:04 +0000 (20:38 -0700)]
always use os.urandom for the uuid4 algorithm (closes #25515)

9 years agoIssue25506: Fixed a copy-pasting error in test_pprint.
Serhiy Storchaka [Thu, 29 Oct 2015 07:53:33 +0000 (09:53 +0200)]
Issue25506: Fixed a copy-pasting error in test_pprint.
Patch by John Mark Vandenberg.

9 years agoIssue25506: Fixed a copy-pasting error in test_pprint.
Serhiy Storchaka [Thu, 29 Oct 2015 07:52:20 +0000 (09:52 +0200)]
Issue25506: Fixed a copy-pasting error in test_pprint.
Patch by John Mark Vandenberg.

9 years agoNull merge
Serhiy Storchaka [Thu, 29 Oct 2015 06:19:59 +0000 (08:19 +0200)]
Null merge

9 years agoMerge heads
Serhiy Storchaka [Thu, 29 Oct 2015 06:19:44 +0000 (08:19 +0200)]
Merge heads

9 years agoMerge heads
Serhiy Storchaka [Thu, 29 Oct 2015 06:19:22 +0000 (08:19 +0200)]
Merge heads

9 years agoIssue #25503: Fixed inspect.getdoc() for inherited docstrings of properties.
Serhiy Storchaka [Thu, 29 Oct 2015 06:17:10 +0000 (08:17 +0200)]
Issue #25503: Fixed inspect.getdoc() for inherited docstrings of properties.
Original patch by John Mark Vandenberg.

9 years agoIssue #25503: Fixed inspect.getdoc() for inherited docstrings of properties.
Serhiy Storchaka [Thu, 29 Oct 2015 06:15:50 +0000 (08:15 +0200)]
Issue #25503: Fixed inspect.getdoc() for inherited docstrings of properties.
Original patch by John Mark Vandenberg.

9 years agomerge 3.5 (#25502)
Benjamin Peterson [Thu, 29 Oct 2015 06:15:22 +0000 (23:15 -0700)]
merge 3.5 (#25502)

9 years agoremove duplicated imports (closes #25502)
Benjamin Peterson [Thu, 29 Oct 2015 06:15:13 +0000 (23:15 -0700)]
remove duplicated imports (closes #25502)

9 years agoIssue #21827: Fixed textwrap.dedent() for the case when largest common
Serhiy Storchaka [Wed, 28 Oct 2015 19:45:01 +0000 (21:45 +0200)]
Issue #21827: Fixed textwrap.dedent() for the case when largest common
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.

9 years agoIssue #21827: Fixed textwrap.dedent() for the case when largest common
Serhiy Storchaka [Wed, 28 Oct 2015 19:43:12 +0000 (21:43 +0200)]
Issue #21827: Fixed textwrap.dedent() for the case when largest common
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.