]>
granicus.if.org Git - python/log
Andrew Kuchling [Tue, 14 Apr 2015 13:59:09 +0000 (09:59 -0400)]
Merge from 3.4
Łukasz Langa [Tue, 14 Apr 2015 07:15:42 +0000 (00:15 -0700)]
Merge 3.4 (#23310)
Ł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.
Berker Peksag [Tue, 14 Apr 2015 06:35:51 +0000 (09:35 +0300)]
Issue #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.
Ł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.
Benjamin Peterson [Tue, 14 Apr 2015 00:25:11 +0000 (20:25 -0400)]
merge 3.4 (#23929)
Benjamin Peterson [Tue, 14 Apr 2015 00:24:10 +0000 (20:24 -0400)]
remove useless word (closes #23929)
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.
Zachary Ware [Mon, 13 Apr 2015 23:34:57 +0000 (18:34 -0500)]
Merge with 3.4
Zachary Ware [Mon, 13 Apr 2015 23:33:41 +0000 (18:33 -0500)]
Make Argument Clinic's '--make' option work on Windows.
Zachary Ware [Mon, 13 Apr 2015 23:22:35 +0000 (18:22 -0500)]
Issue #20586: Argument Clinic now ensures signatures on functions without docstrings.
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.
Zachary Ware [Mon, 13 Apr 2015 21:44:05 +0000 (16:44 -0500)]
Closes #23730: merge with 3.4
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.
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.
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.
Brett Cannon [Mon, 13 Apr 2015 20:28:11 +0000 (16:28 -0400)]
Issue #23822: Fix test_py_compile to not fail under -O.
Brett Cannon [Mon, 13 Apr 2015 20:21:07 +0000 (16:21 -0400)]
Issue #23733: Mention bytes.__mod__ in the porting HOWTO.
doko@ubuntu.com [Mon, 13 Apr 2015 20:11:34 +0000 (22:11 +0200)]
merge heads
doko@ubuntu.com [Mon, 13 Apr 2015 20:10:47 +0000 (22:10 +0200)]
merge 3.4
doko@ubuntu.com [Mon, 13 Apr 2015 20:10:21 +0000 (22:10 +0200)]
- Makefile.pre.in (LIBPL): Use the definition from configure.ac
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.
doko@ubuntu.com [Mon, 13 Apr 2015 20:00:30 +0000 (22:00 +0200)]
- merge 3.4
doko@ubuntu.com [Mon, 13 Apr 2015 19:59:57 +0000 (21:59 +0200)]
- Use PLATDIR for the platform directory everywhere (refactoring only)
doko@ubuntu.com [Mon, 13 Apr 2015 19:49:11 +0000 (21:49 +0200)]
- merge heads
doko@ubuntu.com [Mon, 13 Apr 2015 19:48:44 +0000 (21:48 +0200)]
- merge heads
Antoine Pitrou [Mon, 13 Apr 2015 19:07:57 +0000 (21:07 +0200)]
Fix doc build error
Antoine Pitrou [Mon, 13 Apr 2015 19:06:51 +0000 (21:06 +0200)]
Fix duplicate doc entry for SSLContext.get_ca_certs()
(closes #18147)
Antoine Pitrou [Mon, 13 Apr 2015 19:06:15 +0000 (21:06 +0200)]
Fix duplicate doc entry for SSLContext.get_ca_certs()
(closes #18147)
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.
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.
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.
Brett Cannon [Mon, 13 Apr 2015 18:37:50 +0000 (14:37 -0400)]
Issue #23732: Mention the new -b semantics in the porting HOWTO.
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.
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.
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.
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.
Antoine Pitrou [Mon, 13 Apr 2015 17:49:35 +0000 (19:49 +0200)]
Null merge from 3.4
Antoine Pitrou [Mon, 13 Apr 2015 17:49:04 +0000 (19:49 +0200)]
Merge
Antoine Pitrou [Mon, 13 Apr 2015 17:48:52 +0000 (19:48 +0200)]
Merge
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.
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.
Zachary Ware [Mon, 13 Apr 2015 17:30:53 +0000 (12:30 -0500)]
Merge with 3.4
Zachary Ware [Mon, 13 Apr 2015 17:28:11 +0000 (12:28 -0500)]
Force the Windows readme to CRLF
Zachary Ware [Mon, 13 Apr 2015 17:11:40 +0000 (12:11 -0500)]
Closes #17202: Merge with 3.4
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.
Nick Coghlan [Mon, 13 Apr 2015 16:54:54 +0000 (12:54 -0400)]
Actually run the builtins Argument Clinic test
Zachary Ware [Mon, 13 Apr 2015 16:32:01 +0000 (11:32 -0500)]
Closes #23932: Merge with 3.4
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.
Zachary Ware [Mon, 13 Apr 2015 16:08:55 +0000 (11:08 -0500)]
Merge with 3.4
Zachary Ware [Mon, 13 Apr 2015 16:07:35 +0000 (11:07 -0500)]
Attribute Michael Dorman for his initial patch on issue #18402.
Zachary Ware [Mon, 13 Apr 2015 15:53:11 +0000 (10:53 -0500)]
Closes #18402: Merge with 3.4
Zachary Ware [Mon, 13 Apr 2015 15:51:37 +0000 (10:51 -0500)]
Merge heads
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.
Larry Hastings [Mon, 13 Apr 2015 15:30:56 +0000 (11:30 -0400)]
Doc clarification / edification on the semantics of the 'w*' format unit.
Nick Coghlan [Mon, 13 Apr 2015 15:30:49 +0000 (11:30 -0400)]
Rebuild _freeze_importlib.o when Makefile changes
Andrew Kuchling [Mon, 13 Apr 2015 13:58:36 +0000 (09:58 -0400)]
#23883: add names missing from __all__ (l*gettext, bind_textdomain_codeset)
Zachary Ware [Mon, 13 Apr 2015 04:24:17 +0000 (23:24 -0500)]
Fix warning from Sphinx.
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.
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.
R David Murray [Mon, 13 Apr 2015 01:52:12 +0000 (21:52 -0400)]
Merge: #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.
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.
Benjamin Peterson [Sun, 12 Apr 2015 21:56:34 +0000 (17:56 -0400)]
make DirEntryType and ScandirIteratorType static (closes #23918)
Steve Dower [Sun, 12 Apr 2015 19:44:54 +0000 (15:44 -0400)]
Issue #23668: Regenerates posixmodule.c.h for new ifdefs
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.
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.
Ethan Furman [Sun, 12 Apr 2015 06:23:06 +0000 (23:23 -0700)]
Close issue23900: add default __doc__ to new enumerations that do not specify one.
Steve Dower [Sun, 12 Apr 2015 04:26:43 +0000 (00:26 -0400)]
Issue #23668: Suppresses invalid parameter handler around chsize calls.
Steve Dower [Sun, 12 Apr 2015 04:26:27 +0000 (00:26 -0400)]
Issue #23524: Replace _PyVerify_fd function with calls to _set_thread_local_invalid_parameter_handler.
Antoine Pitrou [Sat, 11 Apr 2015 22:08:02 +0000 (00:08 +0200)]
Close #23904: fix pathlib documentation misleadingly mentioning that bytes objects are accepted in the PurePath constructor
Guido van Rossum [Sat, 11 Apr 2015 21:44:01 +0000 (17:44 -0400)]
Unittest for Issue 21511 by Christie Wilson bobcatfish@gmail.com.
Berker Peksag [Sat, 11 Apr 2015 11:59:30 +0000 (14:59 +0300)]
Issue #23912: Fix code formatting in datamodel.rst.
Patch by James Edwards.
Benjamin Peterson [Sat, 11 Apr 2015 11:42:42 +0000 (07:42 -0400)]
use imperative
Serhiy Storchaka [Fri, 10 Apr 2015 13:21:58 +0000 (16:21 +0300)]
Merge heads
Berker Peksag [Fri, 10 Apr 2015 13:19:13 +0000 (16:19 +0300)]
Issue #23025: Add a mention of os.urandom to RAND_bytes and RAND_pseudo_bytes docs.
Patch by Alex Gaynor.
Serhiy Storchaka [Fri, 10 Apr 2015 13:18:33 +0000 (16:18 +0300)]
Merge heads
Berker Peksag [Fri, 10 Apr 2015 13:11:12 +0000 (16:11 +0300)]
Issue #23062: Add a test for suppressing --version with argparse.SUPPRESS.
TestHelpVersionOptional was redundant.
Serhiy Storchaka [Fri, 10 Apr 2015 13:08:43 +0000 (16:08 +0300)]
Issue #21859: Corrected FileIO docstrings.
Serhiy Storchaka [Fri, 10 Apr 2015 10:24:41 +0000 (13:24 +0300)]
Issue #23865: close() methods in multiple modules now are idempotent and more
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
Zachary Ware [Fri, 10 Apr 2015 01:16:05 +0000 (20:16 -0500)]
Put the NASM pulled from svn.python.org at the front of the PATH.
This will prevent failures from the version of NASM installed on buildbots,
if the ability to override the version used is desired again later, we can
figure out a way to opt in.
Serhiy Storchaka [Thu, 9 Apr 2015 23:18:44 +0000 (02:18 +0300)]
Replaced "string" with "bytes object" in docstrings of binary I/O objects.
Zachary Ware [Thu, 9 Apr 2015 20:55:56 +0000 (15:55 -0500)]
Backed out changeset
bc41a4d6c58f after buildbots have new OpenSSL source.
Zachary Ware [Thu, 9 Apr 2015 20:51:17 +0000 (15:51 -0500)]
Refresh OpenSSL sources on the buildbots
Zachary Ware [Wed, 8 Apr 2015 00:59:37 +0000 (19:59 -0500)]
Issue #23686: Update Windows build to use OpenSSL 1.0.2a.
Tim Golden [Wed, 8 Apr 2015 15:52:27 +0000 (16:52 +0100)]
Fix typo in telnet docs (reported by Keith Briggs)
Benjamin Peterson [Wed, 8 Apr 2015 15:11:00 +0000 (11:11 -0400)]
actually ssl3 is just completely broken
Berker Peksag [Wed, 8 Apr 2015 14:56:30 +0000 (17:56 +0300)]
Issue #23400: Raise same exception on both Python 2 and 3 if sem_open is not available.
Patch by Davin Potts.
Berker Peksag [Wed, 8 Apr 2015 08:24:27 +0000 (11:24 +0300)]
Skip nntplib tests when transient errors captured.
Victor Stinner [Tue, 7 Apr 2015 19:38:04 +0000 (21:38 +0200)]
Issue #23879, asyncio: SelectorEventLoop.sock_connect() must not call connect()
again if the first call to connect() raises an InterruptedError.
When the C function connect() fails with EINTR, the connection runs in
background. We have to wait until the socket becomes writable to be notified
when the connection succeed or fails.
Benjamin Peterson [Tue, 7 Apr 2015 15:59:06 +0000 (11:59 -0400)]
remove smtpd dead code (closes #23873)
Patch by Hoolean.
Donald Stufft [Tue, 7 Apr 2015 11:09:59 +0000 (07:09 -0400)]
Update pip to 6.1.1
Victor Stinner [Tue, 7 Apr 2015 10:52:50 +0000 (12:52 +0200)]
Issue #23881: ftp://gatekeeper.research.compaq.com/ and ftp://ftp.debian.org/
are down, don't use anymore in test_urllib2net
Victor Stinner [Tue, 7 Apr 2015 10:49:27 +0000 (12:49 +0200)]
Issue #23881: urllib.request.ftpwrapper constructor now closes the socket if
the FTP connection failed to fix a ResourceWarning.
Donald Stufft [Tue, 7 Apr 2015 05:29:33 +0000 (01:29 -0400)]
Upgrade pip to 6.1.0 and setuptools to 15.0
Serhiy Storchaka [Mon, 6 Apr 2015 17:37:16 +0000 (20:37 +0300)]
Issue #22977: Remove unconditional import of ctypes.
Benjamin Peterson [Mon, 6 Apr 2015 17:05:22 +0000 (13:05 -0400)]
remove extra arguments in arg parsing format codes (closes #23875)
Tim Golden [Mon, 6 Apr 2015 10:04:49 +0000 (11:04 +0100)]
Added missing right bracket (reported by Daryl Klakouski)
Benjamin Peterson [Sun, 5 Apr 2015 14:01:48 +0000 (10:01 -0400)]
fix extended command syntax (closes #23872)