]> granicus.if.org Git - python/log
python
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: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: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: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:09:35 +0000 (11:09 +0300)]
Use converter names instead of format units in Argument Clinic descriptions
in builtin and _crypt modules.

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 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 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 agouse assert method (#24328)
Benjamin Peterson [Fri, 29 May 2015 23:44:45 +0000 (18:44 -0500)]
use assert method (#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: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: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: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:29 +0000 (09:01 -0400)]
Issue 24315: Make collections.abc.Coroutine derived from Awaitable

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 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 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 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: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: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 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.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: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:33 +0000 (21:31 +0300)]
Issue #24288: Generated opcode.h no longer contains trailing spaces and tabs.

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 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:11 +0000 (20:46 -0700)]
Issue #24293: Fixes installer colors to use system settings throughout.

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

9 years agoIssue #24285: fix importing extensions from packages
Nick Coghlan [Tue, 26 May 2015 11:48:17 +0000 (21:48 +1000)]
Issue #24285: fix importing extensions from packages

9 years agoMoved Misc/NEWS entries to correct section and fix formatting.
Serhiy Storchaka [Tue, 26 May 2015 07:25:48 +0000 (10:25 +0300)]
Moved Misc/NEWS entries to correct section and fix formatting.

9 years agoMoved Misc/NEWS entries to correct section and fix formatting.
Serhiy Storchaka [Tue, 26 May 2015 07:20:32 +0000 (10:20 +0300)]
Moved Misc/NEWS entries to correct section and fix formatting.

9 years agomerge 3.4
Benjamin Peterson [Tue, 26 May 2015 02:25:09 +0000 (21:25 -0500)]
merge 3.4

9 years agomerge 3.3
Benjamin Peterson [Tue, 26 May 2015 02:24:48 +0000 (21:24 -0500)]
merge 3.3

9 years agomerge 3.2
Benjamin Peterson [Tue, 26 May 2015 02:24:26 +0000 (21:24 -0500)]
merge 3.2

9 years agokeep distutils version in sync with python version automatically
Benjamin Peterson [Tue, 26 May 2015 02:24:00 +0000 (21:24 -0500)]
keep distutils version in sync with python version automatically

9 years ago(Merge 3.5) Issue #23840: tokenize.open() now closes the temporary binary file
Victor Stinner [Mon, 25 May 2015 22:46:44 +0000 (00:46 +0200)]
(Merge 3.5) Issue #23840: tokenize.open() now closes the temporary binary file
on error to fix a resource warning.

9 years agoIssue #23840: tokenize.open() now closes the temporary binary file on error to
Victor Stinner [Mon, 25 May 2015 22:43:58 +0000 (00:43 +0200)]
Issue #23840: tokenize.open() now closes the temporary binary file on error to
fix a resource warning.

9 years agoRemove UTF-8 BOMs.
Serhiy Storchaka [Mon, 25 May 2015 09:29:53 +0000 (12:29 +0300)]
Remove UTF-8 BOMs.

9 years agoRemove UTF-8 BOMs.
Serhiy Storchaka [Mon, 25 May 2015 09:27:39 +0000 (12:27 +0300)]
Remove UTF-8 BOMs.

9 years agoCreate 3.5 branch.
Larry Hastings [Sun, 24 May 2015 23:42:42 +0000 (16:42 -0700)]
Create 3.5 branch.

9 years agoMerge.
Larry Hastings [Sun, 24 May 2015 23:41:42 +0000 (16:41 -0700)]
Merge.

9 years agoPost-release fixes for 3.5.0b1.
Larry Hastings [Sun, 24 May 2015 23:40:45 +0000 (16:40 -0700)]
Post-release fixes for 3.5.0b1.

9 years agoBacked out changeset: b0a0b9b59012
Serhiy Storchaka [Sun, 24 May 2015 18:53:49 +0000 (21:53 +0300)]
Backed out changeset: b0a0b9b59012

9 years agoIssue #24276: Fixed optimization of property descriptor getter.
Serhiy Storchaka [Sun, 24 May 2015 18:38:06 +0000 (21:38 +0300)]
Issue #24276: Fixed optimization of property descriptor getter.

9 years agoExclude _testmultiphase.pyd from embeddable ZIP file.
Steve Dower [Sun, 24 May 2015 01:08:55 +0000 (18:08 -0700)]
Exclude _testmultiphase.pyd from embeddable ZIP file.

9 years agoPrevents attempt to sign ZIP file when building embeddable version.
Steve Dower [Sun, 24 May 2015 00:52:20 +0000 (17:52 -0700)]
Prevents attempt to sign ZIP file when building embeddable version.

9 years agoIssue #24268: Adds PCBuild project to build _testmultiphase module.
Steve Dower [Sun, 24 May 2015 00:51:54 +0000 (17:51 -0700)]
Issue #24268: Adds PCBuild project to build _testmultiphase module.

9 years agoAdded tag v3.5.0b1 for changeset 071fefbb5e3d
Larry Hastings [Sun, 24 May 2015 00:43:19 +0000 (17:43 -0700)]
Added tag v3.5.0b1 for changeset 071fefbb5e3d

9 years agoVersion bump for 3.5.0b1. v3.5.0b1
Larry Hastings [Sun, 24 May 2015 00:43:05 +0000 (17:43 -0700)]
Version bump for 3.5.0b1.

9 years agoUpdate SOURCE_URI to reflect that we're branching 3.5 now.
Larry Hastings [Sun, 24 May 2015 00:41:13 +0000 (17:41 -0700)]
Update SOURCE_URI to reflect that we're branching 3.5 now.

9 years agoUpdated topics (and susp-ignored) for Python 3.5.0b1.
Larry Hastings [Sun, 24 May 2015 00:39:42 +0000 (17:39 -0700)]
Updated topics (and susp-ignored) for Python 3.5.0b1.

9 years agoFixes handling of long values of PYTHONPATH on Windows.
Steve Dower [Sun, 24 May 2015 00:34:50 +0000 (17:34 -0700)]
Fixes handling of long values of PYTHONPATH on Windows.

9 years agoFix bad indent in whatsnew/3.5.rst.
Guido van Rossum [Sat, 23 May 2015 22:27:51 +0000 (15:27 -0700)]
Fix bad indent in whatsnew/3.5.rst.

9 years agoAdd pointer to IDLE what's new file.
Terry Jan Reedy [Sat, 23 May 2015 22:19:42 +0000 (18:19 -0400)]
Add pointer to IDLE what's new file.

9 years agoMerge with 3.4
Terry Jan Reedy [Sat, 23 May 2015 22:15:41 +0000 (18:15 -0400)]
Merge with 3.4

9 years agowhitespace
Terry Jan Reedy [Sat, 23 May 2015 22:15:18 +0000 (18:15 -0400)]
whitespace

9 years agoMerge with 3.4
Terry Jan Reedy [Sat, 23 May 2015 22:13:31 +0000 (18:13 -0400)]
Merge with 3.4

9 years agoAdd pointer to IDLE what's new file.
Terry Jan Reedy [Sat, 23 May 2015 22:13:14 +0000 (18:13 -0400)]
Add pointer to IDLE what's new file.

9 years agoMerge backout of 57776eee74f2.
Larry Hastings [Sat, 23 May 2015 21:57:12 +0000 (14:57 -0700)]
Merge backout of 57776eee74f2.

9 years agoBacked out changeset 57776eee74f2
Larry Hastings [Sat, 23 May 2015 21:56:23 +0000 (14:56 -0700)]
Backed out changeset 57776eee74f2

9 years agoIssue #24268: Adds PyModuleDef_Init and PyModuleDef_Type to python3.def (stable ABI)
Steve Dower [Sat, 23 May 2015 21:44:37 +0000 (14:44 -0700)]
Issue #24268: Adds PyModuleDef_Init and PyModuleDef_Type to python3.def (stable ABI)

9 years agoFix Sphinx warnings.
Berker Peksag [Sat, 23 May 2015 21:26:05 +0000 (00:26 +0300)]
Fix Sphinx warnings.

9 years agoUpdate idlelib/NEWS.txt
Terry Jan Reedy [Sat, 23 May 2015 21:24:22 +0000 (17:24 -0400)]
Update idlelib/NEWS.txt

9 years agoUpdate idlelib/NEWS.txt.
Terry Jan Reedy [Sat, 23 May 2015 21:23:30 +0000 (17:23 -0400)]
Update idlelib/NEWS.txt.

9 years agomerge
Terry Jan Reedy [Sat, 23 May 2015 21:18:40 +0000 (17:18 -0400)]
merge

9 years agoAdd Idle NEWS item.
Terry Jan Reedy [Sat, 23 May 2015 21:14:09 +0000 (17:14 -0400)]
Add Idle NEWS item.

9 years agoIssue #24268: Fix import naming when loading extension modules. Patch by Petr Viktorin.
Steve Dower [Sat, 23 May 2015 21:13:41 +0000 (14:13 -0700)]
Issue #24268: Fix import naming when loading extension modules. Patch by Petr Viktorin.

9 years agoAdd NEWS item for Idle.
Terry Jan Reedy [Sat, 23 May 2015 21:12:48 +0000 (17:12 -0400)]
Add NEWS item for Idle.

9 years agoMerge with 3.4
Terry Jan Reedy [Sat, 23 May 2015 20:16:46 +0000 (16:16 -0400)]
Merge with 3.4

9 years agoMake expression legal python by adding '1'.
Terry Jan Reedy [Sat, 23 May 2015 20:16:28 +0000 (16:16 -0400)]
Make expression legal python by adding '1'.

9 years agoIssue #14373: Added C implementation of functools.lru_cache(). Based on
Serhiy Storchaka [Sat, 23 May 2015 19:42:49 +0000 (22:42 +0300)]
Issue #14373: Added C implementation of functools.lru_cache().  Based on
patches by Matt Joiner and Alexey Kachayev.

9 years agoIssue #23970: Fixes bdist_wininst not working on non-Windows platform.
Steve Dower [Sat, 23 May 2015 19:15:57 +0000 (12:15 -0700)]
Issue #23970: Fixes bdist_wininst not working on non-Windows platform.

9 years agoIssue #24204: Elaborate of the str.strip() documentation.
Raymond Hettinger [Sat, 23 May 2015 16:11:55 +0000 (09:11 -0700)]
Issue #24204:  Elaborate of the str.strip() documentation.

9 years agoIssue #23970: Adds distutils._msvccompiler for new Visual Studio versions.
Steve Dower [Sat, 23 May 2015 16:02:50 +0000 (09:02 -0700)]
Issue #23970: Adds distutils._msvccompiler for new Visual Studio versions.

9 years agoIssue #24268: Fixes generation of init import name on Windows.
Steve Dower [Sat, 23 May 2015 15:59:25 +0000 (08:59 -0700)]
Issue #24268: Fixes generation of init import name on Windows.

9 years agoFixes cast warning in bufferedio.c
Steve Dower [Sat, 23 May 2015 15:59:25 +0000 (08:59 -0700)]
Fixes cast warning in bufferedio.c

9 years agoIssue #24269: Minor doc fixups.
Raymond Hettinger [Sat, 23 May 2015 15:57:58 +0000 (08:57 -0700)]
Issue #24269: Minor doc fixups.

9 years agomerge 3.4 (#22931)
Benjamin Peterson [Sat, 23 May 2015 15:41:30 +0000 (10:41 -0500)]
merge 3.4 (#22931)

9 years agomerge 3.3 (#22931)
Benjamin Peterson [Sat, 23 May 2015 15:40:47 +0000 (10:40 -0500)]
merge 3.3 (#22931)

9 years agomerge 3.2 (#22931)
Benjamin Peterson [Sat, 23 May 2015 15:38:48 +0000 (10:38 -0500)]
merge 3.2 (#22931)

9 years agoallow square brackets in cookie values (closes #22931)
Benjamin Peterson [Sat, 23 May 2015 15:36:48 +0000 (10:36 -0500)]
allow square brackets in cookie values (closes #22931)

9 years agoIssue #24268: Address some PEP 489 refleaks
Nick Coghlan [Sat, 23 May 2015 15:03:46 +0000 (01:03 +1000)]
Issue #24268: Address some PEP 489 refleaks

- missing DECREF in PyModule_FromDefAndSpec2
- missing DECREF in PyType_FromSpecAndBases2
- missing DECREF in _testmultiphase module

Patch by Petr Viktorin

9 years agoPEP 489: Multi-phase extension module initialization
Nick Coghlan [Sat, 23 May 2015 12:24:10 +0000 (22:24 +1000)]
PEP 489: Multi-phase extension module initialization

Known limitations of the current implementation:

- documentation changes are incomplete
- there's a reference leak I haven't tracked down yet

The leak is most visible by running:

  ./python -m test -R3:3 test_importlib

However, you can also see it by running:

  ./python -X showrefcount

Importing the array or _testmultiphase modules, and
then deleting them from both sys.modules and the local
namespace shows significant increases in the total
number of active references each cycle. By contrast,
with _testcapi (which continues to use single-phase
initialisation) the global refcounts stabilise after
a couple of cycles.

9 years agoIssue #23086: Add start and stop arguments to the Sequence.index() mixin method.
Raymond Hettinger [Sat, 23 May 2015 02:29:22 +0000 (19:29 -0700)]
Issue #23086: Add start and stop arguments to the Sequence.index() mixin method.

9 years agoMerge 3.4 into default, upgrading pip to 7.0.1
Donald Stufft [Sat, 23 May 2015 00:30:57 +0000 (20:30 -0400)]
Merge 3.4 into default, upgrading pip to 7.0.1

9 years agoUpgrade pip to 7.0.1
Donald Stufft [Sat, 23 May 2015 00:30:16 +0000 (20:30 -0400)]
Upgrade pip to 7.0.1

9 years agoIssue #21448: Improve performance of the email feedparser
Raymond Hettinger [Sat, 23 May 2015 00:23:28 +0000 (17:23 -0700)]
Issue #21448: Improve performance of      the email feedparser

9 years agoIssue 22189: Add missing methods to UserString
Raymond Hettinger [Fri, 22 May 2015 23:56:32 +0000 (16:56 -0700)]
Issue 22189:  Add missing methods to UserString

9 years agomerge
Raymond Hettinger [Fri, 22 May 2015 23:38:16 +0000 (16:38 -0700)]
merge

9 years agoIssue #24219: Remove duplicate literal in docs.
Raymond Hettinger [Fri, 22 May 2015 23:37:49 +0000 (16:37 -0700)]
Issue #24219: Remove duplicate literal in docs.

9 years agoRemoves lingering references to RAR now that make_zip.py actually makes a ZIP
Steve Dower [Fri, 22 May 2015 23:22:27 +0000 (16:22 -0700)]
Removes lingering references to RAR now that make_zip.py actually makes a ZIP

9 years agoIssue 24230: The tempfile module now accepts bytes for prefix, suffix and dir
Gregory P. Smith [Fri, 22 May 2015 23:18:14 +0000 (16:18 -0700)]
Issue 24230: The tempfile module now accepts bytes for prefix, suffix and dir
parameters and returns bytes in such situations (matching the os module APIs).

9 years agoIssue #23955: Add pyvenv.cfg option to suppress registry/environment lookup for gener...
Steve Dower [Fri, 22 May 2015 22:10:10 +0000 (15:10 -0700)]
Issue #23955: Add pyvenv.cfg option to suppress registry/environment lookup for generating sys.path.
Also cleans up and secures getpathp.c

9 years agoIssue 24244: Prevents termination when an invalid format string is encountered on...
Steve Dower [Fri, 22 May 2015 22:08:34 +0000 (15:08 -0700)]
Issue 24244: Prevents termination when an invalid format string is encountered on Windows.