]> granicus.if.org Git - python/log
python
9 years agoFix warnings for PyEval_GetCoroutineWrapper
Yury Selivanov [Tue, 12 May 2015 03:19:34 +0000 (23:19 -0400)]
Fix warnings for PyEval_GetCoroutineWrapper

9 years agoPEP 0492 -- Coroutines with async and await syntax. Issue #24017.
Yury Selivanov [Tue, 12 May 2015 02:57:16 +0000 (22:57 -0400)]
PEP 0492 -- Coroutines with async and await syntax. Issue #24017.

9 years agomerge
Raymond Hettinger [Tue, 12 May 2015 02:59:21 +0000 (19:59 -0700)]
merge

9 years agoDefend against a mutation during comparison
Raymond Hettinger [Tue, 12 May 2015 02:58:56 +0000 (19:58 -0700)]
Defend against a mutation during comparison

9 years agoasyncio: Merge 3.4 -- Support PEP 492. Issue #24017.
Yury Selivanov [Tue, 12 May 2015 02:31:19 +0000 (22:31 -0400)]
asyncio: Merge 3.4 -- Support PEP 492. Issue #24017.

9 years agoasyncio: Support PEP 492. Issue #24017.
Yury Selivanov [Tue, 12 May 2015 02:27:25 +0000 (22:27 -0400)]
asyncio: Support PEP 492. Issue #24017.

9 years agoMinor code cleanups.
Raymond Hettinger [Tue, 12 May 2015 02:25:32 +0000 (19:25 -0700)]
Minor code cleanups.

9 years agoMerge 3.4 (asyncio docs)
Yury Selivanov [Mon, 11 May 2015 20:34:13 +0000 (16:34 -0400)]
Merge 3.4 (asyncio docs)

9 years agodocs/asyncio: Document new ensure_future() and deprecated async()
Yury Selivanov [Mon, 11 May 2015 20:33:41 +0000 (16:33 -0400)]
docs/asyncio: Document new ensure_future() and deprecated async()

9 years agodocs/asyncio: Document set_task_factory/get_task_factory
Yury Selivanov [Mon, 11 May 2015 20:28:27 +0000 (16:28 -0400)]
docs/asyncio: Document set_task_factory/get_task_factory

9 years agoNull merge.
Yury Selivanov [Mon, 11 May 2015 18:55:54 +0000 (14:55 -0400)]
Null merge.

9 years agoFix NEWS file.
Yury Selivanov [Mon, 11 May 2015 18:52:37 +0000 (14:52 -0400)]
Fix NEWS file.

9 years agoMerge 3.4 (asyncio changes)
Yury Selivanov [Mon, 11 May 2015 18:50:41 +0000 (14:50 -0400)]
Merge 3.4 (asyncio changes)

9 years agoasyncio: async() function is deprecated in favour of ensure_future().
Yury Selivanov [Mon, 11 May 2015 18:48:38 +0000 (14:48 -0400)]
asyncio: async() function is deprecated in favour of ensure_future().

9 years agoasyncio: Drop JoinableQueue from 3.5
Yury Selivanov [Mon, 11 May 2015 18:42:43 +0000 (14:42 -0400)]
asyncio: Drop JoinableQueue from 3.5

9 years agoMerge 3.4 (asyncio)
Yury Selivanov [Mon, 11 May 2015 18:40:56 +0000 (14:40 -0400)]
Merge 3.4 (asyncio)

9 years agoSync asyncio changes from the main repo.
Yury Selivanov [Mon, 11 May 2015 18:23:38 +0000 (14:23 -0400)]
Sync asyncio changes from the main repo.

9 years agoasyncio: Sync with github repo
Yury Selivanov [Mon, 11 May 2015 17:48:16 +0000 (13:48 -0400)]
asyncio: Sync with github repo

9 years agoMinor stylistic clean-up.
Raymond Hettinger [Mon, 11 May 2015 17:32:57 +0000 (10:32 -0700)]
Minor stylistic clean-up.

9 years agoIssue #24155: Optimize heapify for better cache utililzation.
Raymond Hettinger [Mon, 11 May 2015 17:19:03 +0000 (10:19 -0700)]
Issue #24155: Optimize heapify for better cache utililzation.

9 years ago#21795: advertise 8BITMIME if decode_data is False.
R David Murray [Mon, 11 May 2015 16:11:40 +0000 (12:11 -0400)]
#21795: advertise 8BITMIME if decode_data is False.

Patch by Milan Oberkirch, with a few updates.  This changeset also
tweaks the smtpd and whatsnew docs for smtpd into what should be
the final form for the 3.5 release.

9 years agomerge heads
Benjamin Peterson [Mon, 11 May 2015 01:20:01 +0000 (21:20 -0400)]
merge heads

9 years agomerge 3.4
Benjamin Peterson [Mon, 11 May 2015 01:19:56 +0000 (21:19 -0400)]
merge 3.4

9 years agoadd trailing slash
Benjamin Peterson [Mon, 11 May 2015 01:19:18 +0000 (21:19 -0400)]
add trailing slash

9 years ago#21800: Add RFC 6855 support to imaplib.
R David Murray [Sun, 10 May 2015 23:17:23 +0000 (19:17 -0400)]
#21800: Add RFC 6855 support to imaplib.

Original patch by Milan Oberkirch, updated by myself and
Maciej Szulik.

9 years agoIssue #22906: Do incref before SetCause/SetContext
Yury Selivanov [Sun, 10 May 2015 19:09:46 +0000 (15:09 -0400)]
Issue #22906: Do incref before SetCause/SetContext

9 years agoFix news entry for issue 24018.
Guido van Rossum [Sat, 9 May 2015 18:37:23 +0000 (11:37 -0700)]
Fix news entry for issue 24018.

9 years agoIssue 22906: Increment refcount after PyException_SetContext
Yury Selivanov [Sat, 9 May 2015 18:04:17 +0000 (14:04 -0400)]
Issue 22906: Increment refcount after PyException_SetContext

9 years agoIssue 22906: Add test file.
Yury Selivanov [Sat, 9 May 2015 17:53:57 +0000 (13:53 -0400)]
Issue 22906: Add test file.

9 years agoPEP 479: Change StopIteration handling inside generators.
Yury Selivanov [Sat, 9 May 2015 15:44:30 +0000 (11:44 -0400)]
PEP 479: Change StopIteration handling inside generators.

Closes issue #22906.

9 years agoIssue #24018: Add a collections.Generator abstract base class.
Raymond Hettinger [Sat, 9 May 2015 05:07:23 +0000 (01:07 -0400)]
Issue #24018: Add a collections.Generator abstract base class.

9 years agomerge 3.4
Benjamin Peterson [Sat, 9 May 2015 04:29:08 +0000 (00:29 -0400)]
merge 3.4

9 years agoensure .keywords is always a dict
Benjamin Peterson [Sat, 9 May 2015 04:25:18 +0000 (00:25 -0400)]
ensure .keywords is always a dict

9 years agomerge 3.4 (#23042)
Benjamin Peterson [Sat, 9 May 2015 01:32:36 +0000 (21:32 -0400)]
merge 3.4 (#23042)

9 years agomerge heads
Benjamin Peterson [Sat, 9 May 2015 01:32:19 +0000 (21:32 -0400)]
merge heads

9 years agofix libffi compilation on FreeBSD (#23042)
Benjamin Peterson [Sat, 9 May 2015 01:31:36 +0000 (21:31 -0400)]
fix libffi compilation on FreeBSD (#23042)

Patch from Marc-Andre Lemburg.

9 years agomerge - upgrade setuptools to 15.2
Donald Stufft [Sat, 9 May 2015 01:30:37 +0000 (21:30 -0400)]
merge - upgrade setuptools to 15.2

9 years agoUpgrade setuptools to 15.2
Donald Stufft [Sat, 9 May 2015 01:30:04 +0000 (21:30 -0400)]
Upgrade setuptools to 15.2

9 years agoMinor updates to the OS X installer ReadMe.rtf.
Ned Deily [Fri, 8 May 2015 21:46:53 +0000 (14:46 -0700)]
Minor updates to the OS X installer ReadMe.rtf.

9 years agoMinor updates to the OS X installer ReadMe.rtf.
Ned Deily [Fri, 8 May 2015 21:42:32 +0000 (14:42 -0700)]
Minor updates to the OS X installer ReadMe.rtf.

9 years agoIssue #20274: When calling a _sqlite.Connection, it now complains if passed
Larry Hastings [Fri, 8 May 2015 14:45:10 +0000 (07:45 -0700)]
Issue #20274: When calling a _sqlite.Connection, it now complains if passed
any keyword arguments.  Previously it silently ignored them.

Also: merge related change from 3.4, also reported on Issue #20274.

9 years agoIssue #20274: Remove ignored and erroneous "kwargs" parameters from three
Larry Hastings [Fri, 8 May 2015 14:37:49 +0000 (07:37 -0700)]
Issue #20274: Remove ignored and erroneous "kwargs" parameters from three
METH_VARARGS methods on _sqlite.Connection.

9 years agoMerge from 3.4.
Larry Hastings [Fri, 8 May 2015 13:58:56 +0000 (06:58 -0700)]
Merge from 3.4.

9 years agoIssue #21520: test_zipfile no longer fails if the word 'bad' appears
Larry Hastings [Fri, 8 May 2015 13:54:58 +0000 (06:54 -0700)]
Issue #21520: test_zipfile no longer fails if the word 'bad' appears
anywhere in the name of the current directory.

9 years agoMerge 3.4
Andrew Svetlov [Fri, 8 May 2015 11:15:11 +0000 (14:15 +0300)]
Merge 3.4

9 years agoFix doc: asyncio.Semaphore.release() actually is a regular function, not coroutine
Andrew Svetlov [Fri, 8 May 2015 11:13:41 +0000 (14:13 +0300)]
Fix doc: asyncio.Semaphore.release() actually is a regular function, not coroutine

9 years agoIssue #24000: Improved Argument Clinic's mapping of converters to legacy
Larry Hastings [Fri, 8 May 2015 06:30:09 +0000 (23:30 -0700)]
Issue #24000: Improved Argument Clinic's mapping of converters to legacy
"format units".  Updated the documentation to match.

9 years agoMerge 3.4
Benjamin Peterson [Thu, 7 May 2015 22:42:16 +0000 (18:42 -0400)]
Merge 3.4

9 years agoshorten capsule name macro; it doesn't need to be so long
Benjamin Peterson [Thu, 7 May 2015 22:41:47 +0000 (18:41 -0400)]
shorten capsule name macro; it doesn't need to be so long

9 years agomerge heads
Benjamin Peterson [Thu, 7 May 2015 01:32:14 +0000 (21:32 -0400)]
merge heads

9 years agomerge 3.4
Benjamin Peterson [Thu, 7 May 2015 01:31:07 +0000 (21:31 -0400)]
merge 3.4

9 years agoremove word we don't need
Benjamin Peterson [Thu, 7 May 2015 01:29:14 +0000 (21:29 -0400)]
remove word we don't need

9 years agoMerge from 3.4.
Zachary Ware [Thu, 7 May 2015 01:19:35 +0000 (20:19 -0500)]
Merge from 3.4.

9 years agoFix copy/paste errors.
Zachary Ware [Thu, 7 May 2015 01:19:06 +0000 (20:19 -0500)]
Fix copy/paste errors.

Basically, s/thread/coroutine/.

9 years agoFixed English in error message.
Serhiy Storchaka [Wed, 6 May 2015 16:22:55 +0000 (19:22 +0300)]
Fixed English in error message.

9 years agoFixed English in error message.
Serhiy Storchaka [Wed, 6 May 2015 16:21:00 +0000 (19:21 +0300)]
Fixed English in error message.

9 years agoIssue #24134: assertRaises(), assertRaisesRegex(), assertWarns() and
Serhiy Storchaka [Wed, 6 May 2015 16:14:47 +0000 (19:14 +0300)]
Issue #24134: assertRaises(), assertRaisesRegex(), assertWarns() and
assertWarnsRegex() checks are not longer successful if the callable is None.

Added tests for assertRaises().

9 years agoIssue #24134: assertRaises(), assertRaisesRegex(), assertWarns() and
Serhiy Storchaka [Wed, 6 May 2015 16:13:11 +0000 (19:13 +0300)]
Issue #24134: assertRaises(), assertRaisesRegex(), assertWarns() and
assertWarnsRegex() checks are not longer successful if the callable is None.

Added tests for assertRaises().

9 years agoUse specialized functions intead of Py_BuildValue() in _tkinter.
Serhiy Storchaka [Wed, 6 May 2015 11:19:22 +0000 (14:19 +0300)]
Use specialized functions intead of Py_BuildValue() in _tkinter.

9 years agoIssue #23880: Tkinter's getint() and getdouble() now support Tcl_Obj.
Serhiy Storchaka [Wed, 6 May 2015 11:00:04 +0000 (14:00 +0300)]
Issue #23880: Tkinter's getint() and getdouble() now support Tcl_Obj.
Tkinter's getdouble() now supports any numbers (in particular int).

9 years agoIssue #24009: Got rid of using rare "y#" format unit in TextIOWrapper.tell().
Serhiy Storchaka [Wed, 6 May 2015 06:53:07 +0000 (09:53 +0300)]
Issue #24009: Got rid of using rare "y#" format unit in TextIOWrapper.tell().
Parsed value should be bytes, not general robuffer, this is required in other
places.

9 years agoIssue #24125: Saved error's line and column numbers when an error is occured
Serhiy Storchaka [Wed, 6 May 2015 06:38:22 +0000 (09:38 +0300)]
Issue #24125: Saved error's line and column numbers when an error is occured
during closing expatreader.  Fixed a regression introduced in issue #23865.

9 years agoIssue #24125: Saved error's line and column numbers when an error is occured
Serhiy Storchaka [Wed, 6 May 2015 06:36:06 +0000 (09:36 +0300)]
Issue #24125: Saved error's line and column numbers when an error is occured
during closing expatreader.  Fixed a regression introduced in issue #23865.

9 years agoFix remaining tests and remove an unused import.
Berker Peksag [Wed, 6 May 2015 04:01:52 +0000 (07:01 +0300)]
Fix remaining tests and remove an unused import.

9 years agoMerge heads.
Berker Peksag [Wed, 6 May 2015 03:36:29 +0000 (06:36 +0300)]
Merge heads.

9 years agoIssue #9517: Move script_helper to the support package.
Berker Peksag [Wed, 6 May 2015 03:33:17 +0000 (06:33 +0300)]
Issue #9517: Move script_helper to the support package.

Patch by Christie Wilson.

9 years agoRemove an unnecessary flag.
Eric Snow [Wed, 6 May 2015 03:29:31 +0000 (21:29 -0600)]
Remove an unnecessary flag.

9 years agoPEP 448: additional unpacking generalizations (closes #2292)
Benjamin Peterson [Wed, 6 May 2015 00:16:41 +0000 (20:16 -0400)]
PEP 448: additional unpacking generalizations (closes #2292)

Patch by Neil Girdhar.

9 years ago - merge 3.4
doko@ubuntu.com [Tue, 5 May 2015 23:13:31 +0000 (01:13 +0200)]
 - merge 3.4

9 years ago - Issue #24122, fix quoting for LIBPL
doko@ubuntu.com [Tue, 5 May 2015 23:13:02 +0000 (01:13 +0200)]
 - Issue #24122, fix quoting for LIBPL

9 years agoIssue 24088: Clarify semantics of yield expression (merge from 3.4).
Guido van Rossum [Tue, 5 May 2015 19:04:35 +0000 (12:04 -0700)]
Issue 24088: Clarify semantics of yield expression (merge from 3.4).

9 years agoIssue 24088: Clarify semantics of yield expression.
Guido van Rossum [Tue, 5 May 2015 19:02:01 +0000 (12:02 -0700)]
Issue 24088: Clarify semantics of yield expression.

9 years agoIssue #24113: Remove unreachable code in shlex.
Raymond Hettinger [Tue, 5 May 2015 02:45:47 +0000 (22:45 -0400)]
Issue #24113:  Remove unreachable code in shlex.

9 years agoIssue #23911: Fix mixed bytes/strings.
Eric Snow [Mon, 4 May 2015 17:48:39 +0000 (11:48 -0600)]
Issue #23911: Fix mixed bytes/strings.

9 years agoIssue #24001: Argument Clinic converters now use accept={type}
Larry Hastings [Mon, 4 May 2015 13:59:46 +0000 (06:59 -0700)]
Issue #24001: Argument Clinic converters now use accept={type}
instead of types={'type'} to specify the types the converter accepts.

9 years agoIssue #20159. Converted the _elementtree module to Argument Clinic.
Serhiy Storchaka [Mon, 4 May 2015 12:32:48 +0000 (15:32 +0300)]
Issue #20159. Converted the _elementtree module to Argument Clinic.

9 years agoEnables shortcuts to be deselected when installing on Windows.
Steve Dower [Sun, 3 May 2015 21:54:32 +0000 (14:54 -0700)]
Enables shortcuts to be deselected when installing on Windows.

9 years agoFix Windows build breakage from checkins on Issues #20148 and #20168.
Larry Hastings [Sun, 3 May 2015 21:49:19 +0000 (14:49 -0700)]
Fix Windows build breakage from checkins on Issues #20148 and #20168.

9 years agomerge 3.4 (#24118)
Benjamin Peterson [Sun, 3 May 2015 17:00:37 +0000 (13:00 -0400)]
merge 3.4 (#24118)

9 years agoupdate example, since python.org is HTTPS-only now (closes #24118)
Benjamin Peterson [Sun, 3 May 2015 16:59:09 +0000 (12:59 -0400)]
update example, since python.org is HTTPS-only now (closes #24118)

9 years agomerge 3.4 (#24096)
Benjamin Peterson [Sun, 3 May 2015 15:29:58 +0000 (11:29 -0400)]
merge 3.4 (#24096)

9 years agomerge 3.3 (#24096)
Benjamin Peterson [Sun, 3 May 2015 15:28:46 +0000 (11:28 -0400)]
merge 3.3 (#24096)

9 years agobe more robust against the filters list changing under us (closes #24096)
Benjamin Peterson [Sun, 3 May 2015 15:23:37 +0000 (11:23 -0400)]
be more robust against the filters list changing under us (closes #24096)

9 years agoIssue #20179: Converted the _ssl module to Argument Clinic.
Serhiy Storchaka [Sun, 3 May 2015 13:14:08 +0000 (16:14 +0300)]
Issue #20179: Converted the _ssl module to Argument Clinic.

9 years agoIssue #20148: Converted the _sre module to Argument Clinic.
Serhiy Storchaka [Sun, 3 May 2015 12:54:23 +0000 (15:54 +0300)]
Issue #20148: Converted the _sre module to Argument Clinic.

9 years agoIssue #20168: Converted the _tkinter module to Argument Clinic.
Serhiy Storchaka [Sun, 3 May 2015 12:49:47 +0000 (15:49 +0300)]
Issue #20168: Converted the _tkinter module to Argument Clinic.

9 years agoIssue #23330: h2py now supports arbitrary filenames in #include.
Serhiy Storchaka [Sun, 3 May 2015 12:36:37 +0000 (15:36 +0300)]
Issue #23330: h2py now supports arbitrary filenames in #include.

9 years agoIssue #23330: h2py now supports arbitrary filenames in #include.
Serhiy Storchaka [Sun, 3 May 2015 12:35:14 +0000 (15:35 +0300)]
Issue #23330: h2py now supports arbitrary filenames in #include.

9 years agoIssue #22619: Added negative limit support in the traceback module.
Serhiy Storchaka [Sun, 3 May 2015 10:19:46 +0000 (13:19 +0300)]
Issue #22619: Added negative limit support in the traceback module.
Based on patch by Dmitry Kazakov.

9 years agoUpdates documentation for installing Python on Windows.
Steve Dower [Sun, 3 May 2015 05:28:58 +0000 (22:28 -0700)]
Updates documentation for installing Python on Windows.

9 years agoReplaces use of WinRAR to generate ZIP file with Python script
Steve Dower [Sun, 3 May 2015 04:38:26 +0000 (21:38 -0700)]
Replaces use of WinRAR to generate ZIP file with Python script

9 years agomerge 3.4 (#24094)
Benjamin Peterson [Sun, 3 May 2015 02:37:13 +0000 (22:37 -0400)]
merge 3.4 (#24094)

9 years agomerge 3.3 (#24094)
Benjamin Peterson [Sun, 3 May 2015 02:36:26 +0000 (22:36 -0400)]
merge 3.3 (#24094)

9 years agoremove merge markers
Benjamin Peterson [Sun, 3 May 2015 02:34:31 +0000 (22:34 -0400)]
remove merge markers

9 years agojust sort the items tuple directly (closes #24094)
Benjamin Peterson [Sun, 3 May 2015 02:28:04 +0000 (22:28 -0400)]
just sort the items tuple directly (closes #24094)

9 years agoAsyncio issue 222 / PR 231 (Victor Stinner) -- fix @coroutine functions without __nam...
Guido van Rossum [Sun, 3 May 2015 01:45:51 +0000 (18:45 -0700)]
Asyncio issue 222 / PR 231 (Victor Stinner) -- fix @coroutine functions without __name__. (Merged from 3.4 branch.)

9 years agoAsyncio issue 222 / PR 231 (Victor Stinner) -- fix @coroutine functions without __name__.
Guido van Rossum [Sun, 3 May 2015 01:38:24 +0000 (18:38 -0700)]
Asyncio issue 222 / PR 231 (Victor Stinner) -- fix @coroutine functions without __name__.

9 years agoIssue #23911: Move path-based bootstrap code to a separate frozen module.
Eric Snow [Sun, 3 May 2015 01:15:18 +0000 (19:15 -0600)]
Issue #23911: Move path-based bootstrap code to a separate frozen module.

9 years agoMakes embedded distribution a plain ZIP file and corrects pyd exclusion.
Steve Dower [Sat, 2 May 2015 22:32:14 +0000 (15:32 -0700)]
Makes embedded distribution a plain ZIP file and corrects pyd exclusion.

9 years agoFixes Python failing to run during Windows release build
Steve Dower [Sat, 2 May 2015 22:23:27 +0000 (15:23 -0700)]
Fixes Python failing to run during Windows release build