]> granicus.if.org Git - python/log
python
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 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 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 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 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 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: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: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 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 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.
Guido van Rossum [Tue, 5 May 2015 19:02:01 +0000 (12:02 -0700)]
Issue 24088: Clarify semantics of yield expression.

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.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 #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 agomerge 3.3 (#24094)
Benjamin Peterson [Sun, 3 May 2015 02:36:26 +0000 (22:36 -0400)]
merge 3.3 (#24094)

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

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

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

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

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

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

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

9 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

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

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

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

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

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

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

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

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

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

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

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

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

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

9 years agoproperly handle malloc failure (closes #24044)
Benjamin Peterson [Thu, 23 Apr 2015 21:04:36 +0000 (17:04 -0400)]
properly handle malloc failure (closes #24044)

Patch by Christian Heimes.

9 years agoIssue #24031: make patchcheck now supports git checkouts, too.
Christian Heimes [Thu, 23 Apr 2015 09:24:14 +0000 (11:24 +0200)]
Issue #24031: make patchcheck now supports git checkouts, too.

9 years agoIssue #23713: Fixed fragility of test_imap_unordered_handle_iterable_exception.
Serhiy Storchaka [Thu, 23 Apr 2015 08:35:59 +0000 (11:35 +0300)]
Issue #23713: Fixed fragility of test_imap_unordered_handle_iterable_exception.
Patch by Davin Potts.

9 years agoUse more precise Tcl version checks in tests.
Serhiy Storchaka [Thu, 23 Apr 2015 07:57:40 +0000 (10:57 +0300)]
Use more precise Tcl version checks in tests.

9 years agoIssue #24029: Document the name binding behavior for submodule imports.
Barry Warsaw [Wed, 22 Apr 2015 22:36:44 +0000 (18:36 -0400)]
Issue #24029: Document the name binding behavior for submodule imports.

9 years agoIssue #24029: Document the name binding behavior for submodule imports.
Barry Warsaw [Wed, 22 Apr 2015 22:29:16 +0000 (18:29 -0400)]
Issue #24029: Document the name binding behavior for submodule imports.

9 years agoNext attempt: fix .gitignore for Unix and OSX. Sorry RDM!
Christian Heimes [Wed, 22 Apr 2015 21:54:44 +0000 (23:54 +0200)]
Next attempt: fix .gitignore for Unix and OSX. Sorry RDM!

9 years agoFix .gitignore for 'python' binary.
Christian Heimes [Wed, 22 Apr 2015 20:15:44 +0000 (22:15 +0200)]
Fix .gitignore for 'python' binary.

9 years agoimproved range docstring (closes #22785)
Benjamin Peterson [Wed, 22 Apr 2015 13:16:07 +0000 (09:16 -0400)]
improved range docstring (closes #22785)

Patch by Ned Batchelder.

9 years agoIssue #16840. Turn off bignum support in tkinter with with Tcl earlier than 8.5.8
Serhiy Storchaka [Wed, 22 Apr 2015 07:53:08 +0000 (10:53 +0300)]
Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than 8.5.8
(tclTomMath.h was broken) and non-final Tcl 8.6.

9 years agoFixed full Tcl version parsing in tests for pre-final versions.
Serhiy Storchaka [Wed, 22 Apr 2015 05:36:03 +0000 (08:36 +0300)]
Fixed full Tcl version parsing in tests for pre-final versions.

9 years ago#15183: clarify timeit documentation to say that setup statement isn't timed
Andrew Kuchling [Tue, 21 Apr 2015 23:43:33 +0000 (19:43 -0400)]
#15183: clarify timeit documentation to say that setup statement isn't timed

9 years agoIssue #23008: Fixed resolving attributes with boolean value is False in pydoc.
Serhiy Storchaka [Tue, 21 Apr 2015 18:09:48 +0000 (21:09 +0300)]
Issue #23008: Fixed resolving attributes with boolean value is False in pydoc.

9 years agodo not call into python api if an exception is set (#24022)
Benjamin Peterson [Tue, 21 Apr 2015 16:05:19 +0000 (12:05 -0400)]
do not call into python api if an exception is set (#24022)

9 years agorecommend requests library (closes #23989)
Benjamin Peterson [Mon, 20 Apr 2015 22:18:14 +0000 (18:18 -0400)]
recommend requests library (closes #23989)

Patch from Van Lindberg

9 years agoFix asyncio issue 235: Queue subclass bug caused by JoinableQueue merge.
Guido van Rossum [Mon, 20 Apr 2015 16:24:24 +0000 (09:24 -0700)]
Fix asyncio issue 235: Queue subclass bug caused by JoinableQueue merge.

9 years agoIssue #16840: Turn on support of bignums only in final release of Tcl 8.5.
Serhiy Storchaka [Mon, 20 Apr 2015 11:05:37 +0000 (14:05 +0300)]
Issue #16840: Turn on support of bignums only in final release of Tcl 8.5.

9 years agoIssue #23908: os functions now reject paths with embedded null character
Serhiy Storchaka [Mon, 20 Apr 2015 06:53:58 +0000 (09:53 +0300)]
Issue #23908: os functions now reject paths with embedded null character
on Windows instead of silently truncate them.

9 years agoIssue #23728: binascii.crc_hqx() could return an integer outside of the range
Serhiy Storchaka [Mon, 20 Apr 2015 06:26:49 +0000 (09:26 +0300)]
Issue #23728: binascii.crc_hqx() could return an integer outside of the range
0-0xffff for empty data.

9 years agoIssue #23842: Added tests for os.major(), os.minor() and os.makedev().
Serhiy Storchaka [Mon, 20 Apr 2015 06:22:13 +0000 (09:22 +0300)]
Issue #23842: Added tests for os.major(), os.minor() and os.makedev().

9 years agofix grammar
Benjamin Peterson [Mon, 20 Apr 2015 03:14:37 +0000 (23:14 -0400)]
fix grammar

9 years agoIssue #23998: PyImport_ReInitLock() now checks for lock allocation error
Christian Heimes [Sun, 19 Apr 2015 19:12:14 +0000 (21:12 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error

9 years agoIssue #23998: PyImport_ReInitLock() now checks for lock allocation error
Christian Heimes [Sun, 19 Apr 2015 19:08:42 +0000 (21:08 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error

9 years agoFixed error message for the "u#" format code.
Serhiy Storchaka [Sun, 19 Apr 2015 18:11:30 +0000 (21:11 +0300)]
Fixed error message for the "u#" format code.

9 years agoMark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.
Berker Peksag [Sun, 19 Apr 2015 01:37:35 +0000 (04:37 +0300)]
Mark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.

9 years agoIssue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Berker Peksag [Sun, 19 Apr 2015 01:32:23 +0000 (04:32 +0300)]
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().

Patch by Andy Holst.

9 years agoIssue #23536: Clarified scope of fileConfig()'s API.
Vinay Sajip [Sat, 18 Apr 2015 12:14:10 +0000 (13:14 +0100)]
Issue #23536: Clarified scope of fileConfig()'s API.

9 years agoBackported tests from issue #20175.
Serhiy Storchaka [Thu, 16 Apr 2015 08:54:14 +0000 (11:54 +0300)]
Backported tests from issue #20175.

9 years ago#23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.
R David Murray [Tue, 14 Apr 2015 21:57:41 +0000 (17:57 -0400)]
#23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.

Patch by Jamiel Almeida.

9 years agoIssue #23956: Fix typo in imp.py docstring.
Zachary Ware [Tue, 14 Apr 2015 20:43:00 +0000 (15:43 -0500)]
Issue #23956: Fix typo in imp.py docstring.

Patch by Jacinda Shelly.

9 years ago#23957: fix typo.
R David Murray [Tue, 14 Apr 2015 20:42:08 +0000 (16:42 -0400)]
#23957: fix typo.

9 years agoissue9014: Include more formatting on :c:type:`PyObject` etc.
Gregory P. Smith [Tue, 14 Apr 2015 18:21:05 +0000 (11:21 -0700)]
issue9014: Include more formatting on :c:type:`PyObject` etc.

9 years agoissue9014: Properly document PyObject_HEAD and friends post-PEP-3123.
Gregory P. Smith [Tue, 14 Apr 2015 18:12:53 +0000 (11:12 -0700)]
issue9014: Properly document PyObject_HEAD and friends post-PEP-3123.

9 years agoremove trailing space :)
Gregory P. Smith [Tue, 14 Apr 2015 17:04:30 +0000 (10:04 -0700)]
remove trailing space :)

9 years agoissue22046: mention that zipfile can raise NotImplementedError on unsupported
Gregory P. Smith [Tue, 14 Apr 2015 17:02:20 +0000 (10:02 -0700)]
issue22046: mention that zipfile can raise NotImplementedError on unsupported
compression algorithms.

9 years agoIssue #23811: Add missing newline to the PyCompileError error message.
Berker Peksag [Tue, 14 Apr 2015 15:57:55 +0000 (18:57 +0300)]
Issue #23811: Add missing newline to the PyCompileError error message.

Patch by Alex Shkop.

9 years agoReword NEWS item a bit
Andrew Kuchling [Tue, 14 Apr 2015 14:18:46 +0000 (10:18 -0400)]
Reword NEWS item a bit

9 years ago#17898: reset k and v so that the loop doesn't use an old value
Andrew Kuchling [Mon, 13 Apr 2015 14:38:56 +0000 (10:38 -0400)]
#17898: reset k and v so that the loop doesn't use an old value

9 years ago#23883: add names missing from __all__ (l*gettext, bind_textdomain_codeset)
Andrew Kuchling [Mon, 13 Apr 2015 13:58:36 +0000 (09:58 -0400)]
#23883: add names missing from __all__ (l*gettext, bind_textdomain_codeset)

9 years agoIssue #23310: Fix MagicMock's initializer to work with __methods__.
Łukasz Langa [Tue, 14 Apr 2015 07:12:57 +0000 (00:12 -0700)]
Issue #23310: Fix MagicMock's initializer to work with __methods__.
Behavior equivalent to m.configure_mock().  Patch by Kasia Jachim.

9 years agoIssue #23943: Fix typos. Patch by Piotr Kasprzyk.
Berker Peksag [Tue, 14 Apr 2015 06:30:01 +0000 (09:30 +0300)]
Issue #23943: Fix typos. Patch by Piotr Kasprzyk.

9 years agoremove useless word (closes #23929)
Benjamin Peterson [Tue, 14 Apr 2015 00:24:10 +0000 (20:24 -0400)]
remove useless word (closes #23929)

9 years agoMake Argument Clinic's '--make' option work on Windows.
Zachary Ware [Mon, 13 Apr 2015 23:33:41 +0000 (18:33 -0500)]
Make Argument Clinic's '--make' option work on Windows.

9 years agoIssue #23730: Document the return value of ZipFile.extract
Zachary Ware [Mon, 13 Apr 2015 21:40:49 +0000 (16:40 -0500)]
Issue #23730: Document the return value of ZipFile.extract

Patch by Stéphane Wirtel.

9 years ago - Makefile.pre.in (LIBPL): Use the definition from configure.ac
doko@ubuntu.com [Mon, 13 Apr 2015 20:10:21 +0000 (22:10 +0200)]
 - Makefile.pre.in (LIBPL): Use the definition from configure.ac

9 years ago - Use PLATDIR for the platform directory everywhere (refactoring only)
doko@ubuntu.com [Mon, 13 Apr 2015 19:59:57 +0000 (21:59 +0200)]
 - Use PLATDIR for the platform directory everywhere (refactoring only)

9 years ago - merge heads
doko@ubuntu.com [Mon, 13 Apr 2015 19:48:44 +0000 (21:48 +0200)]
 - merge heads

9 years agoFix duplicate doc entry for SSLContext.get_ca_certs()
Antoine Pitrou [Mon, 13 Apr 2015 19:06:15 +0000 (21:06 +0200)]
Fix duplicate doc entry for SSLContext.get_ca_certs()

(closes #18147)

9 years ago - the PKG_PROG_PKG_CONFIG macro is not part of autoconf, but comes from third
doko@ubuntu.com [Mon, 13 Apr 2015 18:53:43 +0000 (20:53 +0200)]
 - the PKG_PROG_PKG_CONFIG macro is not part of autoconf, but comes from third
   party sources. Run aclocal to import it to aclocal.m4 and add aclocal.m4
   to the archive.

9 years agoIssue #22982: Improve BOM handling when seeking to multiple positions of a writable...
Antoine Pitrou [Mon, 13 Apr 2015 18:01:21 +0000 (20:01 +0200)]
Issue #22982: Improve BOM handling when seeking to multiple positions of a writable text file.

9 years agoMerge
Antoine Pitrou [Mon, 13 Apr 2015 17:48:52 +0000 (19:48 +0200)]
Merge

9 years agoIssue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted
Antoine Pitrou [Mon, 13 Apr 2015 17:41:47 +0000 (19:41 +0200)]
Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted
while it is holding a lock to a buffered I/O object, and the main thread
tries to use the same I/O object (typically stdout or stderr).  A fatal
error is emitted instead.

9 years agoForce the Windows readme to CRLF
Zachary Ware [Mon, 13 Apr 2015 17:28:11 +0000 (12:28 -0500)]
Force the Windows readme to CRLF

9 years agoIssue #17202: Add .bat to .hgeol to force them to CRLF.
Zachary Ware [Mon, 13 Apr 2015 16:59:54 +0000 (11:59 -0500)]
Issue #17202: Add .bat to .hgeol to force them to CRLF.

Using LF can a script to fail if it tries to use a label that is
split across 512 byte blocks.  Who knows why.

9 years agoIssue #23932: Update the tutorial section on function annotations.
Zachary Ware [Mon, 13 Apr 2015 16:30:47 +0000 (11:30 -0500)]
Issue #23932: Update the tutorial section on function annotations.

Patch by Juti Noppornpitak.

9 years agoAttribute Michael Dorman for his initial patch on issue #18402.
Zachary Ware [Mon, 13 Apr 2015 16:07:35 +0000 (11:07 -0500)]
Attribute Michael Dorman for his initial patch on issue #18402.

9 years agoMerge heads
Zachary Ware [Mon, 13 Apr 2015 15:51:37 +0000 (10:51 -0500)]
Merge heads

9 years agoIssue #18402: Also look for 64 bit Perl in build_ssl.py.
Zachary Ware [Mon, 13 Apr 2015 15:46:40 +0000 (10:46 -0500)]
Issue #18402: Also look for 64 bit Perl in build_ssl.py.

It's still not necessary to build, but may be useful to some.

9 years agoDon't gitignore the Python directory on case insensitive file systems.
R David Murray [Mon, 13 Apr 2015 01:52:44 +0000 (21:52 -0400)]
Don't gitignore the Python directory on case insensitive file systems.

9 years ago#17380: Document tp_init return value in extending docs.
R David Murray [Mon, 13 Apr 2015 01:51:36 +0000 (21:51 -0400)]
#17380: Document tp_init return value in extending docs.

Patch by James Powell.

9 years agoIssue #12955: Change the urlopen() examples to use context managers where appropriate.
Berker Peksag [Sun, 12 Apr 2015 10:52:49 +0000 (13:52 +0300)]
Issue #12955: Change the urlopen() examples to use context managers where appropriate.

Patch by Martin Panter.