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

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

9 years agoIssue 24316: Wrap gen objects returned from callables in types.coroutine
Yury Selivanov [Fri, 29 May 2015 20:19:34 +0000 (16:19 -0400)]
Issue 24316: Wrap gen objects returned from callables in types.coroutine

(Merge 3.5)

9 years agoIssue 24316: Wrap gen objects returned from callables in types.coroutine
Yury Selivanov [Fri, 29 May 2015 20:19:18 +0000 (16:19 -0400)]
Issue 24316: Wrap gen objects returned from callables in types.coroutine

9 years agoIssue 24316: Fix types.coroutine() to accept objects from Cython
Yury Selivanov [Fri, 29 May 2015 13:06:24 +0000 (09:06 -0400)]
Issue 24316: Fix types.coroutine() to accept objects from Cython

(Merge 3.5)

9 years agoIssue 24316: Fix types.coroutine() to accept objects from Cython
Yury Selivanov [Fri, 29 May 2015 13:06:05 +0000 (09:06 -0400)]
Issue 24316: Fix types.coroutine() to accept objects from Cython

9 years agoIssue 24315: Make collections.abc.Coroutine derived from Awaitable
Yury Selivanov [Fri, 29 May 2015 13:01:47 +0000 (09:01 -0400)]
Issue 24315: Make collections.abc.Coroutine derived from Awaitable

(Merge 3.5)

9 years agoIssue 24315: Make collections.abc.Coroutine derived from Awaitable
Yury Selivanov [Fri, 29 May 2015 13:01:29 +0000 (09:01 -0400)]
Issue 24315: Make collections.abc.Coroutine derived from Awaitable

9 years agoUpdate Windows build for 3.6
Zachary Ware [Thu, 28 May 2015 22:30:03 +0000 (17:30 -0500)]
Update Windows build for 3.6

9 years agodocs/whatsnew/3.6: Mention that 'async' and 'await' will be keywords in 3.7
Yury Selivanov [Thu, 28 May 2015 21:10:29 +0000 (17:10 -0400)]
docs/whatsnew/3.6: Mention that 'async' and 'await' will be keywords in 3.7

9 years agoMerge 3.5
Yury Selivanov [Thu, 28 May 2015 21:09:38 +0000 (17:09 -0400)]
Merge 3.5

9 years agodocs/whatsnew: Mention that 'async' and 'await' will be keywords in 3.7
Yury Selivanov [Thu, 28 May 2015 21:09:14 +0000 (17:09 -0400)]
docs/whatsnew: Mention that 'async' and 'await' will be keywords in 3.7

9 years agomerge 3.5
Benjamin Peterson [Thu, 28 May 2015 19:40:15 +0000 (14:40 -0500)]
merge 3.5

9 years agoremove STORE_MAP, since it's unused
Benjamin Peterson [Thu, 28 May 2015 19:40:08 +0000 (14:40 -0500)]
remove STORE_MAP, since it's unused

9 years agomerge 3.5 (#11205)
Benjamin Peterson [Thu, 28 May 2015 19:31:14 +0000 (14:31 -0500)]
merge 3.5 (#11205)

9 years agoin dict displays, evaluate the key before the value (closes #11205)
Benjamin Peterson [Thu, 28 May 2015 19:30:26 +0000 (14:30 -0500)]
in dict displays, evaluate the key before the value (closes #11205)

Patch partially by Steve Dougherty.

9 years agoIssue 24297: Add a unittest that Lib/symbol.py is in sync with Grammar
Yury Selivanov [Thu, 28 May 2015 18:06:12 +0000 (14:06 -0400)]
Issue 24297: Add a unittest that Lib/symbol.py is in sync with Grammar

9 years agoIssue #24309: Removed Python 2 idioms.
Serhiy Storchaka [Thu, 28 May 2015 17:45:29 +0000 (20:45 +0300)]
Issue #24309: Removed Python 2 idioms.

9 years agoFixes test in installer.
Steve Dower [Thu, 28 May 2015 17:28:57 +0000 (10:28 -0700)]
Fixes test in installer.

9 years agoFixes text in installer.
Steve Dower [Thu, 28 May 2015 17:28:40 +0000 (10:28 -0700)]
Fixes text in installer.

9 years agoIssue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
Yury Selivanov [Thu, 28 May 2015 15:22:41 +0000 (11:22 -0400)]
Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.

9 years agoIssue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
Yury Selivanov [Thu, 28 May 2015 15:21:31 +0000 (11:21 -0400)]
Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.

9 years agoasyncio: Drop some useless code from tasks.py.
Yury Selivanov [Thu, 28 May 2015 14:53:04 +0000 (10:53 -0400)]
asyncio: Drop some useless code from tasks.py.

See also issue 24017.

9 years agoasyncio: Drop some useless code from tasks.py.
Yury Selivanov [Thu, 28 May 2015 14:52:46 +0000 (10:52 -0400)]
asyncio: Drop some useless code from tasks.py.

See also issue 24017.

9 years agoasyncio: Drop some useless code from tasks.py.
Yury Selivanov [Thu, 28 May 2015 14:52:19 +0000 (10:52 -0400)]
asyncio: Drop some useless code from tasks.py.

See also issue 24017.

9 years agoMore version bumping to 3.6.
Ned Deily [Thu, 28 May 2015 05:00:46 +0000 (22:00 -0700)]
More version bumping to 3.6.
With the creation of the 3.5 branch earlier in the process,
it is necessary to do some of the version bumps now rather than at
final release time (for example, the equivalent of the 3.4->3.5 bumps
in f2bf12fa22c1).  (Some of those changes have already been made, for
example in 30f5e7ec6afe.)

9 years agoupdate configure version to 3.6
Benjamin Peterson [Thu, 28 May 2015 04:29:00 +0000 (23:29 -0500)]
update configure version to 3.6

9 years agoAdd whatsnew for 3.6
Yury Selivanov [Thu, 28 May 2015 02:09:10 +0000 (22:09 -0400)]
Add whatsnew for 3.6

9 years agoIssue 24298: Fix signature() to properly unwrap wrappers around bound methods
Yury Selivanov [Thu, 28 May 2015 01:59:27 +0000 (21:59 -0400)]
Issue 24298: Fix signature() to properly unwrap wrappers around bound methods

9 years agoIssue 24298: Fix signature() to properly unwrap wrappers around bound methods
Yury Selivanov [Thu, 28 May 2015 01:59:03 +0000 (21:59 -0400)]
Issue 24298: Fix signature() to properly unwrap wrappers around bound methods

9 years agoIssue 24298: Fix signature() to properly unwrap wrappers around bound methods
Yury Selivanov [Thu, 28 May 2015 01:56:53 +0000 (21:56 -0400)]
Issue 24298: Fix signature() to properly unwrap wrappers around bound methods

9 years agomerge 3.5
Benjamin Peterson [Wed, 27 May 2015 23:32:53 +0000 (18:32 -0500)]
merge 3.5

9 years agomerge 3.4
Benjamin Peterson [Wed, 27 May 2015 23:32:41 +0000 (18:32 -0500)]
merge 3.4

9 years agoupdate for 3.6 emerging
Benjamin Peterson [Wed, 27 May 2015 23:32:25 +0000 (18:32 -0500)]
update for 3.6 emerging

9 years agoIssue 24304: Fix broken license link in FAQ.
Ned Deily [Wed, 27 May 2015 22:38:16 +0000 (15:38 -0700)]
Issue 24304: Fix broken license link in FAQ.

9 years agoIssue 24304: Fix broken license link in FAQ.
Ned Deily [Wed, 27 May 2015 22:37:32 +0000 (15:37 -0700)]
Issue 24304: Fix broken license link in FAQ.

9 years agoIssue 24304: Fix broken license link in FAQ.
Ned Deily [Wed, 27 May 2015 22:37:00 +0000 (15:37 -0700)]
Issue 24304: Fix broken license link in FAQ.

9 years agoIssue #24288: Generated opcode.h no longer contains trailing spaces and tabs.
Serhiy Storchaka [Wed, 27 May 2015 18:31:50 +0000 (21:31 +0300)]
Issue #24288: Generated opcode.h no longer contains trailing spaces and tabs.

9 years agoIssue #24288: Generated opcode.h no longer contains trailing spaces and tabs.
Serhiy Storchaka [Wed, 27 May 2015 18:31:33 +0000 (21:31 +0300)]
Issue #24288: Generated opcode.h no longer contains trailing spaces and tabs.

9 years agoIssue #23359: Specialize set_lookkey intoa lookup function and an insert function.
Raymond Hettinger [Wed, 27 May 2015 17:37:20 +0000 (10:37 -0700)]
Issue #23359: Specialize set_lookkey intoa lookup function and an insert function.

9 years agoIssue 24297: Update symbol.py. See also issue 24017.
Yury Selivanov [Wed, 27 May 2015 15:08:46 +0000 (11:08 -0400)]
Issue 24297: Update symbol.py. See also issue 24017.

9 years agoIssue 24297: Update symbol.py. See also issue 24017.
Yury Selivanov [Wed, 27 May 2015 15:08:19 +0000 (11:08 -0400)]
Issue 24297: Update symbol.py. See also issue 24017.

9 years agoMerge with 3.5: tarfile.open() with mode 'x' created files without an end of archive...
Lars Gustäbel [Wed, 27 May 2015 11:05:30 +0000 (13:05 +0200)]
Merge with 3.5: tarfile.open() with mode 'x' created files without an end of archive marker.

9 years agotarfile.open() with mode 'x' created files without an end of archive marker.
Lars Gustäbel [Wed, 27 May 2015 10:53:44 +0000 (12:53 +0200)]
tarfile.open() with mode 'x' created files without an end of archive marker.

9 years agoIssue #24293: Fixes installer colors to use system settings throughout.
Steve Dower [Wed, 27 May 2015 03:46:29 +0000 (20:46 -0700)]
Issue #24293: Fixes installer colors to use system settings throughout.

9 years agoIssue #24293: Fixes installer colors to use system settings throughout.
Steve Dower [Wed, 27 May 2015 03:46:11 +0000 (20:46 -0700)]
Issue #24293: Fixes installer colors to use system settings throughout.

9 years agoMerge 3.5
Benjamin Peterson [Wed, 27 May 2015 02:40:35 +0000 (21:40 -0500)]
Merge 3.5

9 years agorephrase
Benjamin Peterson [Wed, 27 May 2015 02:40:28 +0000 (21:40 -0500)]
rephrase

9 years agoIssue #23509: Speed up Counter operators
Raymond Hettinger [Tue, 26 May 2015 17:35:15 +0000 (10:35 -0700)]
Issue #23509: Speed up Counter operators
(Based on patch by Serhiy Storchaka.)