]> granicus.if.org Git - python/log
python
9 years agoIssue #21217: inspect.getsourcelines() now tries to compute the start and
Antoine Pitrou [Tue, 14 Apr 2015 22:41:29 +0000 (00:41 +0200)]
Issue #21217: inspect.getsourcelines() now tries to compute the start and
end lines from the code object, fixing an issue when a lambda function is
used as decorator argument.  Patch by Thomas Ballinger.

9 years agoUpdates Windows installer to promote per-user installs over all-users.
Steve Dower [Tue, 14 Apr 2015 22:34:04 +0000 (18:34 -0400)]
Updates Windows installer to promote per-user installs over all-users.

9 years agoGenerates and signs a self-extracting executable containing an embedded Python.
Steve Dower [Tue, 14 Apr 2015 22:34:04 +0000 (18:34 -0400)]
Generates and signs a self-extracting executable containing an embedded Python.

9 years agoissue9859: add the missing versionadded tag to the documentation.
Gregory P. Smith [Tue, 14 Apr 2015 22:25:01 +0000 (15:25 -0700)]
issue9859: add the missing versionadded tag to the documentation.

9 years agoIssue #23944: Argument Clinic now wraps long impl prototypes at column 78.
Larry Hastings [Tue, 14 Apr 2015 22:07:59 +0000 (18:07 -0400)]
Issue #23944: Argument Clinic now wraps long impl prototypes at column 78.

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

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 agoissue9859: Use an expected failure rather than a skip.
Gregory P. Smith [Tue, 14 Apr 2015 20:54:09 +0000 (13:54 -0700)]
issue9859: Use an expected failure rather than a skip.

9 years agoCloses #23956: Merge with 3.4
Zachary Ware [Tue, 14 Apr 2015 20:46:22 +0000 (15:46 -0500)]
Closes #23956: Merge with 3.4

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 agoMerge: #23957: fix typo.
R David Murray [Tue, 14 Apr 2015 20:42:49 +0000 (16:42 -0400)]
Merge: #23957: fix typo.

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 agoissue9859: Document test.support.detect_api_mismatch() and simplify its test.
Gregory P. Smith [Tue, 14 Apr 2015 20:26:06 +0000 (13:26 -0700)]
issue9859: Document test.support.detect_api_mismatch() and simplify its test.

9 years agoissue9859: rename CPyMatchTest to APIMismatchTest and add @support.cpython_only.
Gregory P. Smith [Tue, 14 Apr 2015 20:24:34 +0000 (13:24 -0700)]
issue9859: rename CPyMatchTest to APIMismatchTest and add @support.cpython_only.

9 years agoissue9859: Adds a CPyMatchTest test case to compare the exposed APIs
Gregory P. Smith [Tue, 14 Apr 2015 19:58:05 +0000 (12:58 -0700)]
issue9859: Adds a CPyMatchTest test case to compare the exposed APIs
of the Python io module and the C io module.  They do not currently
match so the failing test is marked with @unittest.skip.

9 years agoissue9859: Adds a test.support.detect_api_mismatch function useful to
Gregory P. Smith [Tue, 14 Apr 2015 19:56:53 +0000 (12:56 -0700)]
issue9859: Adds a test.support.detect_api_mismatch function useful to
compare the public APIs of two modules or classes.

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

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:13:14 +0000 (11:13 -0700)]
issue9014: Properly document PyObject_HEAD and friends post-PEP-3123.

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:05:02 +0000 (10:05 -0700)]
remove trailing space

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:49 +0000 (10:02 -0700)]
issue22046: mention that zipfile can raise NotImplementedError on unsupported
compression algorithms.

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 agoUpdate Tcl/Tk to 8.6.4.
Zachary Ware [Tue, 14 Apr 2015 16:53:03 +0000 (11:53 -0500)]
Update Tcl/Tk to 8.6.4.

The new version of Tcl/Tk plays nice(r) with VS2015 CTP 6+.

9 years agoActually build Tix.
Zachary Ware [Tue, 14 Apr 2015 15:58:06 +0000 (10:58 -0500)]
Actually build Tix.

It's been absent from all alpha releases, which apparently nobody has noticed.

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

Patch by Alex Shkop.

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 ago#21146: give a more efficient recipe in gzip docs
Andrew Kuchling [Tue, 14 Apr 2015 15:44:40 +0000 (11:44 -0400)]
#21146: give a more efficient recipe in gzip docs

9 years agoMerge from 3.4
Andrew Kuchling [Tue, 14 Apr 2015 14:35:43 +0000 (10:35 -0400)]
Merge from 3.4

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 agoMerge from 3.4
Andrew Kuchling [Tue, 14 Apr 2015 13:59:09 +0000 (09:59 -0400)]
Merge from 3.4

9 years agoMerge 3.4 (#23310)
Łukasz Langa [Tue, 14 Apr 2015 07:15:42 +0000 (00:15 -0700)]
Merge 3.4 (#23310)

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:35:51 +0000 (09:35 +0300)]
Issue #23943: Fix typos. Patch by Piotr Kasprzyk.

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 agoIssue #23310: Fix MagicMock's initializer to work with __methods__.
Łukasz Langa [Tue, 14 Apr 2015 06:12:42 +0000 (23:12 -0700)]
Issue #23310: Fix MagicMock's initializer to work with __methods__.
Behavior equivalent to m.configure_mock().  Patch by Kasia Jachim.

9 years agomerge 3.4 (#23929)
Benjamin Peterson [Tue, 14 Apr 2015 00:25:11 +0000 (20:25 -0400)]
merge 3.4 (#23929)

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 ago#11754: test contents of string module attributes.
R David Murray [Tue, 14 Apr 2015 00:04:29 +0000 (20:04 -0400)]
#11754: test contents of string module attributes.

As noted in the comment, while the order of the items in the attributes is not
technically guaranteed, after all this time there is almost certainly user
code out there that relies on it, so we might as well test for it.

Patch by Chalmer Lowe.

9 years agoMerge with 3.4
Zachary Ware [Mon, 13 Apr 2015 23:34:57 +0000 (18:34 -0500)]
Merge with 3.4

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 #20586: Argument Clinic now ensures signatures on functions without docstrings.
Zachary Ware [Mon, 13 Apr 2015 23:22:35 +0000 (18:22 -0500)]
Issue #20586: Argument Clinic now ensures signatures on functions without docstrings.

9 years agoIssue #22631: Added Linux-specific socket constant CAN_RAW_FD_FRAMES.
Larry Hastings [Mon, 13 Apr 2015 21:48:40 +0000 (17:48 -0400)]
Issue #22631: Added Linux-specific socket constant CAN_RAW_FD_FRAMES.
Patch courtesy of Joe Jevnik.

9 years agoCloses #23730: merge with 3.4
Zachary Ware [Mon, 13 Apr 2015 21:44:05 +0000 (16:44 -0500)]
Closes #23730: merge with 3.4

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 agoCloses #23938: List Windows XP as an unsupported platform.
Zachary Ware [Mon, 13 Apr 2015 20:51:59 +0000 (15:51 -0500)]
Closes #23938: List Windows XP as an unsupported platform.

Patch by Alex Walters.

9 years agoFix a grammar error in the porting HOWTO as found by Eric Smith.
Brett Cannon [Mon, 13 Apr 2015 20:32:16 +0000 (16:32 -0400)]
Fix a grammar error in the porting HOWTO as found by Eric Smith.

9 years agoIssue #23822: Fix test_py_compile to not fail under -O.
Brett Cannon [Mon, 13 Apr 2015 20:28:11 +0000 (16:28 -0400)]
Issue #23822: Fix test_py_compile to not fail under -O.

9 years agoIssue #23733: Mention bytes.__mod__ in the porting HOWTO.
Brett Cannon [Mon, 13 Apr 2015 20:21:07 +0000 (16:21 -0400)]
Issue #23733: Mention bytes.__mod__ in the porting HOWTO.

9 years agomerge heads
doko@ubuntu.com [Mon, 13 Apr 2015 20:11:34 +0000 (22:11 +0200)]
merge heads

9 years agomerge 3.4
doko@ubuntu.com [Mon, 13 Apr 2015 20:10:47 +0000 (22:10 +0200)]
merge 3.4

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 agoIssue #21741: Update 147 test modules to use test discovery.
Zachary Ware [Mon, 13 Apr 2015 20:00:43 +0000 (15:00 -0500)]
Issue #21741: Update 147 test modules to use test discovery.

I have compared output between pre- and post-patch runs of these tests
to make sure there's nothing missing and nothing broken, on both
Windows and Linux.  The only differences I found were actually tests
that were previously *not* run.

9 years ago - merge 3.4
doko@ubuntu.com [Mon, 13 Apr 2015 20:00:30 +0000 (22:00 +0200)]
 - merge 3.4

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:49:11 +0000 (21:49 +0200)]
 - merge heads

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

9 years agoFix doc build error
Antoine Pitrou [Mon, 13 Apr 2015 19:07:57 +0000 (21:07 +0200)]
Fix doc build error

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

(closes #18147)

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:54:06 +0000 (20:54 +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 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 #21116: Avoid blowing memory when allocating a multiprocessing shared
Antoine Pitrou [Mon, 13 Apr 2015 18:53:43 +0000 (20:53 +0200)]
Issue #21116: Avoid blowing memory when allocating a multiprocessing shared
array that's larger than 50% of the available RAM.

Patch by Médéric Boquien.

9 years agoIssue #23732: Mention the new -b semantics in the porting HOWTO.
Brett Cannon [Mon, 13 Apr 2015 18:37:50 +0000 (14:37 -0400)]
Issue #23732: Mention the new -b semantics in the porting HOWTO.

9 years agoIssue #23731: Implement PEP 488.
Brett Cannon [Mon, 13 Apr 2015 18:21:02 +0000 (14:21 -0400)]
Issue #23731: Implement PEP 488.

The concept of .pyo files no longer exists. Now .pyc files have an
optional `opt-` tag which specifies if any extra optimizations beyond
the peepholer were applied.

9 years agoIssue #23726: Don't enable GC for user subclasses of non-GC types that don't add...
Antoine Pitrou [Mon, 13 Apr 2015 18:10:06 +0000 (20:10 +0200)]
Issue #23726: Don't enable GC for user subclasses of non-GC types that don't add any new fields.
Patch by Eugene Toder.

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

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 agoNull merge from 3.4
Antoine Pitrou [Mon, 13 Apr 2015 17:49:35 +0000 (19:49 +0200)]
Null merge from 3.4

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

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:48:19 +0000 (19:48 +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 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 agoMerge with 3.4
Zachary Ware [Mon, 13 Apr 2015 17:30:53 +0000 (12:30 -0500)]
Merge with 3.4

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 agoCloses #17202: Merge with 3.4
Zachary Ware [Mon, 13 Apr 2015 17:11:40 +0000 (12:11 -0500)]
Closes #17202: Merge with 3.4

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 agoActually run the builtins Argument Clinic test
Nick Coghlan [Mon, 13 Apr 2015 16:54:54 +0000 (12:54 -0400)]
Actually run the builtins Argument Clinic test

9 years agoCloses #23932: Merge with 3.4
Zachary Ware [Mon, 13 Apr 2015 16:32:01 +0000 (11:32 -0500)]
Closes #23932: Merge with 3.4

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 agoMerge with 3.4
Zachary Ware [Mon, 13 Apr 2015 16:08:55 +0000 (11:08 -0500)]
Merge with 3.4

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 agoCloses #18402: Merge with 3.4
Zachary Ware [Mon, 13 Apr 2015 15:53:11 +0000 (10:53 -0500)]
Closes #18402: Merge with 3.4

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 agoDoc clarification / edification on the semantics of the 'w*' format unit.
Larry Hastings [Mon, 13 Apr 2015 15:30:56 +0000 (11:30 -0400)]
Doc clarification / edification on the semantics of the 'w*' format unit.

9 years agoRebuild _freeze_importlib.o when Makefile changes
Nick Coghlan [Mon, 13 Apr 2015 15:30:49 +0000 (11:30 -0400)]
Rebuild _freeze_importlib.o when Makefile changes

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 agoFix warning from Sphinx.
Zachary Ware [Mon, 13 Apr 2015 04:24:17 +0000 (23:24 -0500)]
Fix warning from Sphinx.

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

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 agoMerge: #17380: Document tp_init return value in extending docs.
R David Murray [Mon, 13 Apr 2015 01:52:12 +0000 (21:52 -0400)]
Merge: #17380: Document tp_init return value in extending docs.

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 ago#23464: remove JoinableQueue that was deprecated in 3.4.4.
R David Murray [Sun, 12 Apr 2015 22:47:56 +0000 (18:47 -0400)]
#23464: remove JoinableQueue that was deprecated in 3.4.4.

Patch by A. Jesse Jiryu Davis.

9 years agomake DirEntryType and ScandirIteratorType static (closes #23918)
Benjamin Peterson [Sun, 12 Apr 2015 21:56:34 +0000 (17:56 -0400)]
make DirEntryType and ScandirIteratorType static (closes #23918)

9 years agoIssue #23668: Regenerates posixmodule.c.h for new ifdefs
Steve Dower [Sun, 12 Apr 2015 19:44:54 +0000 (15:44 -0400)]
Issue #23668: Regenerates posixmodule.c.h for new ifdefs

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

Patch by Martin Panter.

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.