]> granicus.if.org Git - python/log
python
9 years agorepair my irrational excuberance
Benjamin Peterson [Sun, 7 Jun 2015 05:00:42 +0000 (00:00 -0500)]
repair my irrational excuberance

9 years agoremove unnecessary braces and indentation
Benjamin Peterson [Sun, 7 Jun 2015 04:20:32 +0000 (23:20 -0500)]
remove unnecessary braces and indentation

9 years agomerge 3.4
Benjamin Peterson [Sat, 6 Jun 2015 02:03:46 +0000 (21:03 -0500)]
merge 3.4

9 years agothat this is "for Python" is obvious
Benjamin Peterson [Sat, 6 Jun 2015 02:03:08 +0000 (21:03 -0500)]
that this is "for Python" is obvious

9 years agoIssue #23659: Document **fmtparams in csv.register_dialect docstring.
Berker Peksag [Fri, 5 Jun 2015 12:18:17 +0000 (15:18 +0300)]
Issue #23659: Document **fmtparams in csv.register_dialect docstring.

Initial patch by Brandon Milam.

9 years agoIssue #23659: Document **fmtparams in csv.register_dialect docstring.
Berker Peksag [Fri, 5 Jun 2015 12:17:51 +0000 (15:17 +0300)]
Issue #23659: Document **fmtparams in csv.register_dialect docstring.

Initial patch by Brandon Milam.

9 years agoIssue #24148: Fix incorrect Stats.sort_stats() example.
Berker Peksag [Fri, 5 Jun 2015 11:48:55 +0000 (14:48 +0300)]
Issue #24148: Fix incorrect Stats.sort_stats() example.

"cum" is not a valid argument.

Patch by Brandon Milam.

9 years agoIssue #24148: Fix incorrect Stats.sort_stats() example.
Berker Peksag [Fri, 5 Jun 2015 11:48:29 +0000 (14:48 +0300)]
Issue #24148: Fix incorrect Stats.sort_stats() example.

"cum" is not a valid argument.

Patch by Brandon Milam.

9 years agofix refleak when keys() fails
Benjamin Peterson [Thu, 4 Jun 2015 19:34:20 +0000 (14:34 -0500)]
fix refleak when keys() fails

9 years agoDocs: Fix typo
Yury Selivanov [Thu, 4 Jun 2015 15:10:24 +0000 (11:10 -0400)]
Docs: Fix typo

9 years agoIssue 24374: Plug refleak in set_coroutine_wrapper
Yury Selivanov [Thu, 4 Jun 2015 14:16:51 +0000 (10:16 -0400)]
Issue 24374: Plug refleak in set_coroutine_wrapper

9 years agoIssue #24373: Eliminate PEP 489 test refleaks
Nick Coghlan [Thu, 4 Jun 2015 11:52:57 +0000 (21:52 +1000)]
Issue #24373: Eliminate PEP 489 test refleaks

_testmultiphase and xxlimited now use tp_traverse and
tp_finalize to avoid reference leaks encountered when
combining tp_dealloc with PyType_FromSpec (see
issue #16690 for details)

9 years agoIssue #24369: Defend against key-changes during iteration.
Eric Snow [Thu, 4 Jun 2015 06:09:56 +0000 (00:09 -0600)]
Issue #24369: Defend against key-changes during iteration.

9 years agoIssue #24376: xxlimited.c errors when building 32 and 64 bit on Windows
Steve Dower [Wed, 3 Jun 2015 18:03:15 +0000 (11:03 -0700)]
Issue #24376: xxlimited.c errors when building 32 and 64 bit on Windows

9 years agoIssue #24377: Fix a ref leak in OrderedDict.__repr__.
Eric Snow [Wed, 3 Jun 2015 17:09:48 +0000 (11:09 -0600)]
Issue #24377: Fix a ref leak in OrderedDict.__repr__.

9 years agoIssue #24362: Simplify the C OrderedDict fast nodes resize logic.
Eric Snow [Wed, 3 Jun 2015 16:50:37 +0000 (10:50 -0600)]
Issue #24362: Simplify the C OrderedDict fast nodes resize logic.

9 years agoupgrade xxlimited abi to 3.5
Benjamin Peterson [Wed, 3 Jun 2015 05:04:46 +0000 (00:04 -0500)]
upgrade xxlimited abi to 3.5

9 years agoIssue #24368: Support keyword arguments in OrderedDict methods.
Eric Snow [Wed, 3 Jun 2015 02:42:14 +0000 (20:42 -0600)]
Issue #24368: Support keyword arguments in OrderedDict methods.

9 years agoIssue 24342: No need to use PyAPI_FUNC for _PyEval_ApplyCoroutineWrapper
Yury Selivanov [Wed, 3 Jun 2015 02:30:31 +0000 (22:30 -0400)]
Issue 24342: No need to use PyAPI_FUNC for _PyEval_ApplyCoroutineWrapper

9 years agoIssue 24365: Conditionalize PEP 489 additions to the stable ABI
Yury Selivanov [Tue, 2 Jun 2015 23:06:47 +0000 (19:06 -0400)]
Issue 24365: Conditionalize PEP 489 additions to the stable ABI

Patch by Petr Viktorin.

9 years agoIssue 24366: Merge 3.4
Yury Selivanov [Tue, 2 Jun 2015 22:54:31 +0000 (18:54 -0400)]
Issue 24366: Merge 3.4

9 years agoIssue 24366: Merge 3.3
Yury Selivanov [Tue, 2 Jun 2015 22:54:09 +0000 (18:54 -0400)]
Issue 24366: Merge 3.3

9 years agoIssue 24366: Indent code (thanks to li4ick for reporting).
Yury Selivanov [Tue, 2 Jun 2015 22:53:46 +0000 (18:53 -0400)]
Issue 24366: Indent code (thanks to li4ick for reporting).

9 years agoIssue 24342: Let wrapper set by sys.set_coroutine_wrapper fail gracefully
Yury Selivanov [Tue, 2 Jun 2015 22:43:51 +0000 (18:43 -0400)]
Issue 24342: Let wrapper set by sys.set_coroutine_wrapper fail gracefully

9 years agoMerge update to pip/setuptools
Donald Stufft [Tue, 2 Jun 2015 15:39:55 +0000 (11:39 -0400)]
Merge update to pip/setuptools

9 years agoUpgrade pip to 7.0.3 and setuptools to 17.0
Donald Stufft [Tue, 2 Jun 2015 15:39:31 +0000 (11:39 -0400)]
Upgrade pip to 7.0.3 and setuptools to 17.0

9 years agoMerge the fix for #24267
Donald Stufft [Tue, 2 Jun 2015 14:38:01 +0000 (10:38 -0400)]
Merge the fix for #24267

9 years agoCloses #24267 - Does not check version on ensurepip uninstall
Donald Stufft [Tue, 2 Jun 2015 14:37:08 +0000 (10:37 -0400)]
Closes #24267 - Does not check version on ensurepip uninstall

Ensure that the uninstall helper for Windows passes the proper
flags to pip to prevent it from checking PyPI if the pip that
we're currently attempting to uninstall is the latest verison.

9 years agoIssue #24359: Check for changed OrderedDict size during iteration.
Eric Snow [Tue, 2 Jun 2015 05:35:13 +0000 (23:35 -0600)]
Issue #24359: Check for changed OrderedDict size during iteration.

9 years agoIssue #24348: Drop superfluous increfs/decrefs.
Eric Snow [Tue, 2 Jun 2015 05:12:13 +0000 (23:12 -0600)]
Issue #24348: Drop superfluous increfs/decrefs.

9 years agoIssue #24347: Set KeyError if PyDict_GetItemWithError returns NULL.
Eric Snow [Tue, 2 Jun 2015 04:59:08 +0000 (22:59 -0600)]
Issue #24347: Set KeyError if PyDict_GetItemWithError returns NULL.

9 years agoIssue #24357: merge from 3.4
Ned Deily [Tue, 2 Jun 2015 04:20:46 +0000 (21:20 -0700)]
Issue #24357: merge from 3.4

9 years agoIssue #24357: use example.org instead
Ned Deily [Tue, 2 Jun 2015 04:19:30 +0000 (21:19 -0700)]
Issue #24357: use example.org instead

9 years agoIssue #24357: merge from 3.4
Ned Deily [Tue, 2 Jun 2015 02:38:25 +0000 (19:38 -0700)]
Issue #24357: merge from 3.4

9 years agoIssue #24357: fix real typo
Ned Deily [Tue, 2 Jun 2015 02:37:40 +0000 (19:37 -0700)]
Issue #24357: fix real typo

9 years agoIssue #24357: merge from 3.4
Ned Deily [Tue, 2 Jun 2015 02:20:31 +0000 (19:20 -0700)]
Issue #24357: merge from 3.4

9 years agoIssue #24357: fix typo
Ned Deily [Tue, 2 Jun 2015 02:17:44 +0000 (19:17 -0700)]
Issue #24357: fix typo

9 years agoIssue #24357: merge from 3.4
Ned Deily [Tue, 2 Jun 2015 01:55:45 +0000 (18:55 -0700)]
Issue #24357: merge from 3.4

9 years agoIssue #24357: Change host in socket.getaddrinfo example to one that
Ned Deily [Tue, 2 Jun 2015 01:52:48 +0000 (18:52 -0700)]
Issue #24357: Change host in socket.getaddrinfo example to one that
does support IPv6 and IPv4; www.python.org currently does not.

9 years agoIssue 24017: Make PyEval_(Set|Get)CoroutineWrapper private
Yury Selivanov [Mon, 1 Jun 2015 16:15:23 +0000 (12:15 -0400)]
Issue 24017: Make PyEval_(Set|Get)CoroutineWrapper private

9 years agoadd Py_tp_finalize slot (closes #24345)
Benjamin Peterson [Mon, 1 Jun 2015 15:12:48 +0000 (10:12 -0500)]
add Py_tp_finalize slot (closes #24345)

Patch from Petr Viktorin.

9 years agoMoved Misc/NEWS entry (issue #24270) to correct section.
Serhiy Storchaka [Mon, 1 Jun 2015 06:46:57 +0000 (09:46 +0300)]
Moved Misc/NEWS entry (issue #24270) to correct section.

9 years agoMerge release engineering changes with 3.5 branch head.
Larry Hastings [Mon, 1 Jun 2015 04:43:57 +0000 (21:43 -0700)]
Merge release engineering changes with 3.5 branch head.

9 years agoPost-release updates for Python 3.5.0b2.
Larry Hastings [Mon, 1 Jun 2015 04:42:35 +0000 (21:42 -0700)]
Post-release updates for Python 3.5.0b2.

9 years agoIssue 24017: Add a test for CoroWrapper and 'async def' coroutines
Yury Selivanov [Mon, 1 Jun 2015 01:44:05 +0000 (21:44 -0400)]
Issue 24017: Add a test for CoroWrapper and 'async def' coroutines

9 years agoIssue 24017: Fix asyncio.CoroWrapper to support 'async def' coroutines
Yury Selivanov [Mon, 1 Jun 2015 01:37:23 +0000 (21:37 -0400)]
Issue 24017: Fix asyncio.CoroWrapper to support 'async def' coroutines

9 years agoIssue 24017: Fix asyncio.CoroWrapper to support 'async def' coroutines
Yury Selivanov [Mon, 1 Jun 2015 01:37:09 +0000 (21:37 -0400)]
Issue 24017: Fix asyncio.CoroWrapper to support 'async def' coroutines

9 years agoIssue #24317: Makes Customize page default to installing per-user, and switching...
Steve Dower [Sun, 31 May 2015 23:39:46 +0000 (16:39 -0700)]
Issue #24317: Makes Customize page default to installing per-user, and switching to All Users enable CompileAll.

9 years agoIssue #24293: Adds mapping from explicit colours to system colours to correctly handl...
Steve Dower [Sun, 31 May 2015 23:39:46 +0000 (16:39 -0700)]
Issue #24293: Adds mapping from explicit colours to system colours to correctly handle user themes.

9 years agoIssue 24180: Mention sys.(get|set)_coroutine_wrapper in whatsnew
Yury Selivanov [Sun, 31 May 2015 21:21:38 +0000 (17:21 -0400)]
Issue 24180: Mention sys.(get|set)_coroutine_wrapper in whatsnew

9 years agoIssue 24180: Document sys.(set|get)_coroutine_wrapper
Yury Selivanov [Sun, 31 May 2015 21:13:08 +0000 (17:13 -0400)]
Issue 24180: Document sys.(set|get)_coroutine_wrapper

9 years agominor fix of module order in whatsnew/3.5
Tal Einat [Sun, 31 May 2015 19:18:31 +0000 (22:18 +0300)]
minor fix of module order in whatsnew/3.5

9 years agoIssue #19543: Implementation of isclose as per PEP 485
Tal Einat [Sun, 31 May 2015 19:05:00 +0000 (22:05 +0300)]
Issue #19543: Implementation of isclose as per PEP 485

For details, see:
PEP 0485 -- A Function for testing approximate equality

Functions added: math.isclose() and cmath.isclose().

Original code by Chris Barker. Patch by Tal Einat.

9 years agoIssue 24004: Fix DeprecationWarning in a unittest
Yury Selivanov [Sun, 31 May 2015 15:28:35 +0000 (11:28 -0400)]
Issue 24004: Fix DeprecationWarning in a unittest

9 years agoIssue #24284: The startswith and endswith methods of the str class no longer
Serhiy Storchaka [Sun, 31 May 2015 06:15:51 +0000 (09:15 +0300)]
Issue #24284: The startswith and endswith methods of the str class no longer
return True when finding the empty string and the indexes are completely out
of range.

9 years agoimprove section title
Benjamin Peterson [Sun, 31 May 2015 05:22:42 +0000 (00:22 -0500)]
improve section title

9 years agoIssue 24004: Add a unittest for @asyncio.coroutine supporting Awaitables
Yury Selivanov [Sun, 31 May 2015 01:04:37 +0000 (21:04 -0400)]
Issue 24004: Add a unittest for @asyncio.coroutine supporting Awaitables

9 years agoIssue 24004: Support Awaitables (pep 492) in @asyncio.coroutine decorator
Yury Selivanov [Sun, 31 May 2015 01:02:34 +0000 (21:02 -0400)]
Issue 24004: Support Awaitables (pep 492) in @asyncio.coroutine decorator

(Merge 3.4)

9 years agoIssue 24004: Support Awaitables (pep 492) in @asyncio.coroutine decorator
Yury Selivanov [Sun, 31 May 2015 01:02:12 +0000 (21:02 -0400)]
Issue 24004: Support Awaitables (pep 492) in @asyncio.coroutine decorator

9 years agoAdded tag v3.5.0b2 for changeset 7a088af5615b
Larry Hastings [Sun, 31 May 2015 00:01:16 +0000 (17:01 -0700)]
Added tag v3.5.0b2 for changeset 7a088af5615b

9 years agoVersion bump for Python 3.5.0b2. v3.5.0b2
Larry Hastings [Sun, 31 May 2015 00:00:48 +0000 (17:00 -0700)]
Version bump for Python 3.5.0b2.

9 years agoRegenerated pydoc topic index in preparation for Python 3.5.0b2.
Larry Hastings [Sat, 30 May 2015 23:58:27 +0000 (16:58 -0700)]
Regenerated pydoc topic index in preparation for Python 3.5.0b2.

9 years agoIssue #23934: Fix inspect.signature to fail correctly for builtin types.
Yury Selivanov [Sat, 30 May 2015 21:08:36 +0000 (17:08 -0400)]
Issue #23934: Fix inspect.signature to fail correctly for builtin types.

Initial patch by James Powell.

9 years agoIssue #16991: Add odictobject.h on Windows.
Eric Snow [Sat, 30 May 2015 20:56:04 +0000 (14:56 -0600)]
Issue #16991: Add odictobject.h on Windows.

9 years agoIssue #16991: Add PyODict* to Windows builds.
Eric Snow [Sat, 30 May 2015 20:19:27 +0000 (14:19 -0600)]
Issue #16991: Add PyODict* to Windows builds.

9 years agoIssue #16991: Fix a few leaks and other memory-related concerns in OrderedDict.
Eric Snow [Sat, 30 May 2015 18:51:15 +0000 (12:51 -0600)]
Issue #16991: Fix a few leaks and other memory-related concerns in OrderedDict.

9 years agoIssue #16991: Drop Py_ODict_GetItemId.
Eric Snow [Sat, 30 May 2015 18:06:03 +0000 (12:06 -0600)]
Issue #16991: Drop Py_ODict_GetItemId.

9 years agomerge
Eric Snow [Sat, 30 May 2015 17:59:17 +0000 (11:59 -0600)]
merge

9 years agoIssue 22357: Merge from 3.4
Yury Selivanov [Sat, 30 May 2015 17:54:36 +0000 (13:54 -0400)]
Issue 22357: Merge from 3.4

9 years agoIssue 22357: Document __qualname__ in inspect.rst
Yury Selivanov [Sat, 30 May 2015 17:53:49 +0000 (13:53 -0400)]
Issue 22357: Document __qualname__ in inspect.rst

9 years agoIssue #16991: Do not return None from OrderedDict.__reversed__.
Eric Snow [Sat, 30 May 2015 17:43:36 +0000 (11:43 -0600)]
Issue #16991: Do not return None from OrderedDict.__reversed__.

9 years agoIssue #16991: Properly handle return values in several places.
Eric Snow [Sat, 30 May 2015 17:28:56 +0000 (11:28 -0600)]
Issue #16991: Properly handle return values in several places.

9 years agoIssue #5633: Fixed timeit when the statement is a string and the setup is not.
Serhiy Storchaka [Sat, 30 May 2015 16:44:55 +0000 (19:44 +0300)]
Issue #5633: Fixed timeit when the statement is a string and the setup is not.
Refactored timeit.__init__ for unified handling of stmt and setup parameters.

9 years agoIssue #5633: Fixed timeit when the statement is a string and the setup is not.
Serhiy Storchaka [Sat, 30 May 2015 16:38:26 +0000 (19:38 +0300)]
Issue #5633: Fixed timeit when the statement is a string and the setup is not.

9 years agoIssue #16991: Use PyObject_TypeCheck instead of PyObject_IsInstance.
Eric Snow [Sat, 30 May 2015 15:29:53 +0000 (09:29 -0600)]
Issue #16991: Use PyObject_TypeCheck instead of PyObject_IsInstance.

9 years agoReverting my previous commit.
Yury Selivanov [Sat, 30 May 2015 14:57:56 +0000 (10:57 -0400)]
Reverting my previous commit.

Something went horribly wrong when I was doing `hg rebase`.

9 years agoMerge 3.5
Yury Selivanov [Sat, 30 May 2015 14:49:27 +0000 (10:49 -0400)]
Merge 3.5

9 years agodocs/whatsnew: Mention OrderedDict C implementation
Yury Selivanov [Sat, 30 May 2015 14:49:09 +0000 (10:49 -0400)]
docs/whatsnew: Mention OrderedDict C implementation

9 years agoIssue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
Serhiy Storchaka [Sat, 30 May 2015 14:48:54 +0000 (17:48 +0300)]
Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains()
to check for and handle errors correctly.

9 years agoIssue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
Serhiy Storchaka [Sat, 30 May 2015 14:48:19 +0000 (17:48 +0300)]
Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains()
to check for and handle errors correctly.

9 years agoIssue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
Serhiy Storchaka [Sat, 30 May 2015 14:45:22 +0000 (17:45 +0300)]
Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains()
to check for and handle errors correctly.

9 years agoUse test.support.start_threads() in threaded lru_cache tests.
Serhiy Storchaka [Sat, 30 May 2015 12:49:42 +0000 (15:49 +0300)]
Use test.support.start_threads() in threaded lru_cache tests.

9 years agoUse test.support.start_threads() in threaded lru_cache tests.
Serhiy Storchaka [Sat, 30 May 2015 12:49:17 +0000 (15:49 +0300)]
Use test.support.start_threads() in threaded lru_cache tests.

9 years agoSpecify default values of semantic booleans in Argument Clinic generated signatures...
Serhiy Storchaka [Sat, 30 May 2015 08:32:58 +0000 (11:32 +0300)]
Specify default values of semantic booleans in Argument Clinic generated signatures as booleans.

9 years agoSpecify default values of semantic booleans in Argument Clinic generated signatures...
Serhiy Storchaka [Sat, 30 May 2015 08:30:39 +0000 (11:30 +0300)]
Specify default values of semantic booleans in Argument Clinic generated signatures as booleans.

9 years agoUse converter names instead of format units in Argument Clinic descriptions
Serhiy Storchaka [Sat, 30 May 2015 08:10:58 +0000 (11:10 +0300)]
Use converter names instead of format units in Argument Clinic descriptions
in builtin and _crypt modules.

9 years agoUse converter names instead of format units in Argument Clinic descriptions
Serhiy Storchaka [Sat, 30 May 2015 08:09:35 +0000 (11:09 +0300)]
Use converter names instead of format units in Argument Clinic descriptions
in builtin and _crypt modules.

9 years agomerge
Raymond Hettinger [Sat, 30 May 2015 05:14:50 +0000 (22:14 -0700)]
merge

9 years agoIssue #23509: Speed up Counter operators
Raymond Hettinger [Sat, 30 May 2015 05:14:07 +0000 (22:14 -0700)]
Issue #23509: Speed up Counter operators
(Based on patch by Serhiy Storchaka.)

9 years agoMerge 3.5
Benjamin Peterson [Sat, 30 May 2015 05:02:25 +0000 (00:02 -0500)]
Merge 3.5

9 years agouse assert method in another place
Benjamin Peterson [Sat, 30 May 2015 05:02:17 +0000 (00:02 -0500)]
use assert method in another place

9 years agoMerge from 3.5
Eric Snow [Sat, 30 May 2015 04:34:01 +0000 (22:34 -0600)]
Merge from 3.5

9 years agoIssue #16991: Add a C implementation of collections.OrderedDict.
Eric Snow [Sat, 30 May 2015 04:21:39 +0000 (22:21 -0600)]
Issue #16991: Add a C implementation of collections.OrderedDict.

9 years agoIssue #16991: Add a C implementation of collections.OrderedDict.
Eric Snow [Sat, 30 May 2015 04:21:39 +0000 (22:21 -0600)]
Issue #16991: Add a C implementation of collections.OrderedDict.

9 years agomerge 3.5
Benjamin Peterson [Fri, 29 May 2015 23:44:50 +0000 (18:44 -0500)]
merge 3.5

9 years agouse assert method (#24328)
Benjamin Peterson [Fri, 29 May 2015 23:44:45 +0000 (18:44 -0500)]
use assert method (#24328)

9 years agomerge 3.5 (#24328)
Benjamin Peterson [Fri, 29 May 2015 22:11:36 +0000 (17:11 -0500)]
merge 3.5 (#24328)

9 years agofix importing one char extension modules (closes #24328)
Benjamin Peterson [Fri, 29 May 2015 22:10:30 +0000 (17:10 -0500)]
fix importing one char extension modules (closes #24328)

9 years agoIssue #24326: Fixed audioop.ratecv() with non-default weightB argument.
Serhiy Storchaka [Fri, 29 May 2015 21:58:09 +0000 (00:58 +0300)]
Issue #24326: Fixed audioop.ratecv() with non-default weightB argument.
Original patch by David Moore.

9 years agoIssue #24326: Fixed audioop.ratecv() with non-default weightB argument.
Serhiy Storchaka [Fri, 29 May 2015 21:57:21 +0000 (00:57 +0300)]
Issue #24326: Fixed audioop.ratecv() with non-default weightB argument.
Original patch by David Moore.