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

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

10 years agomerge 3.4 (#24058)
Benjamin Peterson [Sun, 26 Apr 2015 19:56:23 +0000 (15:56 -0400)]
merge 3.4 (#24058)

10 years agoremove extern definition, since it's in a header file (closes #24058)
Benjamin Peterson [Sun, 26 Apr 2015 19:55:06 +0000 (15:55 -0400)]
remove extern definition, since it's in a header file (closes #24058)

10 years agoAdd missing newline in NEWS
Antoine Pitrou [Sun, 26 Apr 2015 16:48:28 +0000 (18:48 +0200)]
Add missing newline in NEWS

10 years agoIssue #23996: Avoid a crash when a delegated generator raises an unnormalized StopIte...
Antoine Pitrou [Sun, 26 Apr 2015 16:48:16 +0000 (18:48 +0200)]
Issue #23996: Avoid a crash when a delegated generator raises an unnormalized StopIteration exception.  Patch by Stefan Behnel.

10 years agoIssue #23996: Avoid a crash when a delegated generator raises an unnormalized StopIte...
Antoine Pitrou [Sun, 26 Apr 2015 16:46:40 +0000 (18:46 +0200)]
Issue #23996: Avoid a crash when a delegated generator raises an unnormalized StopIteration exception.  Patch by Stefan Behnel.

10 years agoIssue #23356: Simplify convert_arg_line_to_args example.
Berker Peksag [Sun, 26 Apr 2015 09:10:27 +0000 (12:10 +0300)]
Issue #23356: Simplify convert_arg_line_to_args example.

Patch by py.user.

10 years agoIssue #23356: Simplify convert_arg_line_to_args example.
Berker Peksag [Sun, 26 Apr 2015 09:09:54 +0000 (12:09 +0300)]
Issue #23356: Simplify convert_arg_line_to_args example.

Patch by py.user.

10 years agoSilence a gcc "may be used uninitialized" compiler warning. Not true.
Gregory P. Smith [Sun, 26 Apr 2015 06:51:39 +0000 (23:51 -0700)]
Silence a gcc "may be used uninitialized" compiler warning.  Not true.
Initializing retval prevents the naive warning.

10 years agoFix computation of max_fd on OpenBSD. Issue #23852.
Gregory P. Smith [Sun, 26 Apr 2015 06:44:02 +0000 (23:44 -0700)]
Fix computation of max_fd on OpenBSD.  Issue #23852.

10 years agoFix computation of max_fd on OpenBSD. Issue #23852.
Gregory P. Smith [Sun, 26 Apr 2015 06:43:34 +0000 (23:43 -0700)]
Fix computation of max_fd on OpenBSD.  Issue #23852.

10 years agoUse assertEqual rather than assertEquals to avoid the deprecation warning.
Gregory P. Smith [Sun, 26 Apr 2015 05:05:53 +0000 (05:05 +0000)]
Use assertEqual rather than assertEquals to avoid the deprecation warning.

10 years agoAdd missing PyAPI_FUNC macro's to the public functions as other .c files do
Gregory P. Smith [Sun, 26 Apr 2015 04:59:52 +0000 (04:59 +0000)]
Add missing PyAPI_FUNC macro's to the public functions as other .c files do
in hopes that this fixes the windows extension module link error for modules
trying to call _Py_strhex functions.  issue9951.

10 years agoSwitch binascii over to using the common _Py_strhex implementation for its hex
Gregory P. Smith [Sun, 26 Apr 2015 00:42:13 +0000 (00:42 +0000)]
Switch binascii over to using the common _Py_strhex implementation for its hex
and hexlify functions.  issue9951.

10 years agoAdd the files missing from c9f1630cf2b1 for issue9951.
Gregory P. Smith [Sun, 26 Apr 2015 00:41:00 +0000 (00:41 +0000)]
Add the files missing from c9f1630cf2b1 for issue9951.

hg status should be my friend more often...

10 years agoIssue9951: update _hashopenssl and md5module to use _Py_strhex().
Gregory P. Smith [Sat, 25 Apr 2015 23:42:38 +0000 (23:42 +0000)]
Issue9951: update _hashopenssl and md5module to use _Py_strhex().
Also update _posixsubprocess to use Py_hexdigits instead of its own constant.

10 years agoImplements issue #9951: Adds a hex() method to bytes, bytearray, & memoryview.
Gregory P. Smith [Sat, 25 Apr 2015 23:22:26 +0000 (23:22 +0000)]
Implements issue #9951: Adds a hex() method to bytes, bytearray, & memoryview.

Also updates a few internal implementations of the same thing to use the
new built-in code.

Contributed by Arnon Yaari.

10 years agomerge 3.4 (#24057)
Benjamin Peterson [Sat, 25 Apr 2015 18:16:25 +0000 (14:16 -0400)]
merge 3.4 (#24057)

10 years agofix relative link (closes #24057)
Benjamin Peterson [Sat, 25 Apr 2015 18:15:16 +0000 (14:15 -0400)]
fix relative link (closes #24057)

10 years ago(Merge 3.4) Issue #9246: On POSIX, os.getcwd() now supports paths longer than
Victor Stinner [Fri, 24 Apr 2015 22:21:52 +0000 (00:21 +0200)]
(Merge 3.4) Issue #9246: On POSIX, os.getcwd() now supports paths longer than
1025 bytes. Patch written by William Orr.

10 years agoIssue #9246: On POSIX, os.getcwd() now supports paths longer than 1025 bytes
Victor Stinner [Fri, 24 Apr 2015 22:16:10 +0000 (00:16 +0200)]
Issue #9246: On POSIX, os.getcwd() now supports paths longer than 1025 bytes

Patch written by William Orr.

10 years agomerge 3.4 (#24049)
Benjamin Peterson [Fri, 24 Apr 2015 16:02:53 +0000 (12:02 -0400)]
merge 3.4 (#24049)

10 years agoremove dead *-import checking code (closes #24049)
Benjamin Peterson [Fri, 24 Apr 2015 16:02:29 +0000 (12:02 -0400)]
remove dead *-import checking code (closes #24049)

10 years agoIssue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the
Serhiy Storchaka [Thu, 23 Apr 2015 21:40:51 +0000 (00:40 +0300)]
Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the
same line as function name.

10 years agomerge 3.4 (#24044)
Benjamin Peterson [Thu, 23 Apr 2015 21:06:45 +0000 (17:06 -0400)]
merge 3.4 (#24044)

10 years agomerge 3.3 (#24044)
Benjamin Peterson [Thu, 23 Apr 2015 21:06:33 +0000 (17:06 -0400)]
merge 3.3 (#24044)

10 years agomerge 3.2 (#24044)
Benjamin Peterson [Thu, 23 Apr 2015 21:05:07 +0000 (17:05 -0400)]
merge 3.2 (#24044)