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

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

10 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.

10 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.

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

10 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

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

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

10 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.

10 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

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

10 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.

10 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.

10 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.

10 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.

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

10 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.

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

10 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

10 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.

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

10 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

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

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

10 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

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

10 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/.

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

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

10 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().

10 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().

10 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.

10 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).

10 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.

10 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.

10 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.

10 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.

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

10 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.

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

10 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.

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

10 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

10 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).

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

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

10 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)

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

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

10 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)

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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

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

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

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

10 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)

10 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.)

10 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__.

10 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.

10 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.

10 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

10 years agoUpdate Windows installer for new CRT version.
Steve Dower [Sat, 2 May 2015 22:22:51 +0000 (15:22 -0700)]
Update Windows installer for new CRT version.

10 years agoMerge: #24108: Update fnmatch.translate example to show correct output.
R David Murray [Sat, 2 May 2015 19:08:50 +0000 (15:08 -0400)]
Merge: #24108: Update fnmatch.translate example to show correct output.

10 years ago#24108: Update fnmatch.translate example to show correct output.
R David Murray [Sat, 2 May 2015 19:08:22 +0000 (15:08 -0400)]
#24108: Update fnmatch.translate example to show correct output.

Patch by Merlijn van Deen.

10 years agoMerge: #24081: Remove obsolete caveat from import docs.
R David Murray [Sat, 2 May 2015 18:58:32 +0000 (14:58 -0400)]
Merge: #24081: Remove obsolete caveat from import docs.

10 years ago#24081: Remove obsolete caveat from import docs.
R David Murray [Sat, 2 May 2015 18:57:54 +0000 (14:57 -0400)]
#24081: Remove obsolete caveat from import docs.

Per Eric Snow's research, this changed in Python 2.4 in changeset 331e60d8ce,
but these docs were not updated.

Patch by Peter Viktorin.

10 years agomerge
Raymond Hettinger [Sat, 2 May 2015 17:45:21 +0000 (10:45 -0700)]
merge

10 years agoDefer deleted item decref until after the deque is restored to a consistent state.
Raymond Hettinger [Sat, 2 May 2015 17:44:17 +0000 (10:44 -0700)]
Defer deleted item decref until after the deque is restored to a consistent state.

10 years agomerge
Raymond Hettinger [Sat, 2 May 2015 17:07:08 +0000 (10:07 -0700)]
merge

10 years agoIssues #24099, #24100, and #24101: Fix free-after-use bug in heapq.
Raymond Hettinger [Sat, 2 May 2015 17:00:22 +0000 (10:00 -0700)]
Issues #24099, #24100, and #24101: Fix free-after-use bug in heapq.

10 years agoFixed a typo.
Serhiy Storchaka [Sat, 2 May 2015 16:25:02 +0000 (19:25 +0300)]
Fixed a typo.

10 years agoFixed a typo.
Serhiy Storchaka [Sat, 2 May 2015 16:24:41 +0000 (19:24 +0300)]
Fixed a typo.

10 years agoCloses #24060: Merged documentation update from 3.4.
Vinay Sajip [Sat, 2 May 2015 08:47:28 +0000 (09:47 +0100)]
Closes #24060: Merged documentation update from 3.4.

10 years agoIssue #24060: Made logging.Formatter documentation a little clearer.
Vinay Sajip [Sat, 2 May 2015 08:46:05 +0000 (09:46 +0100)]
Issue #24060: Made logging.Formatter documentation a little clearer.

10 years agomerge 3.4
Benjamin Peterson [Thu, 30 Apr 2015 21:38:14 +0000 (17:38 -0400)]
merge 3.4

10 years agoupdate links
Benjamin Peterson [Thu, 30 Apr 2015 21:37:11 +0000 (17:37 -0400)]
update links

10 years agoIssue #23910: Optimize property() getter calls. Patch by Joe Jevnik
Raymond Hettinger [Thu, 30 Apr 2015 15:08:13 +0000 (08:08 -0700)]
Issue #23910: Optimize property() getter calls.  Patch by Joe Jevnik

10 years ago - merge 3.4
doko@ubuntu.com [Thu, 30 Apr 2015 11:44:43 +0000 (13:44 +0200)]
 - merge 3.4

10 years ago - remove unused EXTRAPLATDIR macro in Makefile.pre.in
doko@ubuntu.com [Thu, 30 Apr 2015 11:44:18 +0000 (13:44 +0200)]
 - remove unused EXTRAPLATDIR macro in Makefile.pre.in

10 years agomerge 3.4
Benjamin Peterson [Wed, 29 Apr 2015 22:00:57 +0000 (18:00 -0400)]
merge 3.4

10 years agoimprove phrasing
Benjamin Peterson [Wed, 29 Apr 2015 22:00:44 +0000 (18:00 -0400)]
improve phrasing

10 years agoIssue #24077: merge from 3.4
Ned Deily [Wed, 29 Apr 2015 21:53:34 +0000 (14:53 -0700)]
Issue #24077: merge from 3.4

10 years agoIssue #24077: Fix typo in man page for -I command option: -s, not -S.
Ned Deily [Wed, 29 Apr 2015 21:51:43 +0000 (14:51 -0700)]
Issue #24077: Fix typo in man page for -I command option: -s, not -S.

10 years agoremove deleted method
Benjamin Peterson [Tue, 28 Apr 2015 04:04:53 +0000 (00:04 -0400)]
remove deleted method

10 years agoremove the concept of an unoptimized function scope from the compiler, since it can...
Benjamin Peterson [Tue, 28 Apr 2015 01:44:22 +0000 (21:44 -0400)]
remove the concept of an unoptimized function scope from the compiler, since it can't happen anymore

10 years agoMerge 3.4
Andrew Svetlov [Mon, 27 Apr 2015 14:49:16 +0000 (17:49 +0300)]
Merge 3.4

10 years agoIssue #21354: PyCFunction_New function is exposed by python DLL again.
Andrew Svetlov [Mon, 27 Apr 2015 14:48:50 +0000 (17:48 +0300)]
Issue #21354: PyCFunction_New function is exposed by python DLL again.

10 years agoIssue #24062: Fix os.stat links. Patch by July Tikhonov.
Berker Peksag [Mon, 27 Apr 2015 10:53:54 +0000 (13:53 +0300)]
Issue #24062: Fix os.stat links. Patch by July Tikhonov.