]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
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
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.
Steve Dower [Sat, 21 Mar 2015 02:50:46 +0000 (19:50 -0700)]
Issue #23668: Adds support for os.truncate and os.ftruncate on Windows
Steve Dower [Sun, 12 Apr 2015 03:36:04 +0000 (23:36 -0400)]
Closes #23686: Update Windows installer OpenSSL to 1.0.2a
doko@ubuntu.com [Sun, 12 Apr 2015 00:03:50 +0000 (02:03 +0200)]
- fix file permission for Lib/test/test_script_helper.py
Ned Deily [Sat, 11 Apr 2015 23:00:38 +0000 (16:00 -0700)]
Issue #23817: run autoreconf to update configure.
doko@ubuntu.com [Sat, 11 Apr 2015 22:13:52 +0000 (00:13 +0200)]
- Modules/Setup.dist: remove time extension duplicate, introduced by the fix for #5309.
Antoine Pitrou [Sat, 11 Apr 2015 22:08:35 +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:45:56 +0000 (17:45 -0400)]
Unittest for Issue 21511 by Christie Wilson bobcatfish@gmail.com (merge from 3.4).
Ethan Furman [Sat, 11 Apr 2015 16:39:59 +0000 (09:39 -0700)]
Issue23826: fix doc test for -OO runs
Berker Peksag [Sat, 11 Apr 2015 11:59:50 +0000 (14:59 +0300)]
Issue #23912: Fix code formatting in datamodel.rst.
Patch by James Edwards.
Benjamin Peterson [Sat, 11 Apr 2015 11:44:45 +0000 (07:44 -0400)]
merge 3.4
Antoine Pitrou [Fri, 10 Apr 2015 22:31:01 +0000 (00:31 +0200)]
Issue #23529: Limit the size of decompressed data when reading from
GzipFile, BZ2File or LZMAFile. This defeats denial of service attacks
using compressed bombs (i.e. compressed payloads which decompress to a huge
size).
Patch by Martin Panter and Nikolaus Rath.
Serhiy Storchaka [Fri, 10 Apr 2015 13:22:14 +0000 (16:22 +0300)]
Null merge
Serhiy Storchaka [Fri, 10 Apr 2015 13:22:03 +0000 (16:22 +0300)]
Merge heads
Berker Peksag [Fri, 10 Apr 2015 13:19:44 +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:19:42 +0000 (16:19 +0300)]
Null merge
Serhiy Storchaka [Fri, 10 Apr 2015 13:18:58 +0000 (16:18 +0300)]
Merge heads
Serhiy Storchaka [Fri, 10 Apr 2015 13:16:16 +0000 (16:16 +0300)]
Issue #21859: Added Python implementation of io.FileIO.
Berker Peksag [Fri, 10 Apr 2015 13:11:45 +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:09:13 +0000 (16:09 +0300)]
Issue #21859: Corrected FileIO docstrings.
Serhiy Storchaka [Fri, 10 Apr 2015 10:29:28 +0000 (13:29 +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.
Serhiy Storchaka [Fri, 10 Apr 2015 10:03:05 +0000 (13:03 +0300)]
Null merge
Serhiy Storchaka [Fri, 10 Apr 2015 09:54:19 +0000 (12:54 +0300)]
Use assertRaisesRegex instead of deprecated assertRaisesRegexp.
Serhiy Storchaka [Fri, 10 Apr 2015 09:52:09 +0000 (12:52 +0300)]
Use assertRaisesRegex instead of deprecated assertRaisesRegexp.
Zachary Ware [Fri, 10 Apr 2015 01:20:55 +0000 (20:20 -0500)]
Merge with 3.4.
The fix has moved in this branch. Also, the opt-in is already available
on this branch; just set nasmDir when building.
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:19:57 +0000 (02:19 +0300)]
Replaced "string" with "bytes object" in docstrings of binary I/O objects.
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:56:22 +0000 (15:56 -0500)]
Null merge with 3.4
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 [Thu, 9 Apr 2015 20:48:32 +0000 (15:48 -0500)]
Fix prepare_ssl.py script
Builds using prepared sources that had Perl available anyway were broken
by the previous fix to this script (oops).
Victor Stinner [Thu, 9 Apr 2015 20:29:52 +0000 (22:29 +0200)]
Issue #23817: FreeBSD now uses "1.0" the the SOVERSION as other operating
systems, instead of just "1".
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)
Steve Dower [Mon, 6 Apr 2015 01:42:37 +0000 (18:42 -0700)]
Updates Windows release scripts to generate and upload GPG signatures.
Zachary Ware [Thu, 9 Apr 2015 19:44:18 +0000 (14:44 -0500)]
Null merge from 3.4
Zachary Ware [Wed, 8 Apr 2015 01:38:53 +0000 (20:38 -0500)]
Fix prepare_ssl.py for OpenSSL 1.0.2a builds without Perl (using old system).
This change affects the makefiles checked into svn.python.org, which the 3.5
build no longer uses. 3.4 and 2.7 both still use those makefiles, but their
build_ssl.py scripts don't require an update; if the script is running the
'fix_makefiles' method it already has Perl available anyway.
Victor Stinner [Thu, 9 Apr 2015 08:27:25 +0000 (10:27 +0200)]
Issue #23618: Fix internal_select() for negative timeout (blocking socket) when
poll() is not available.
select() doesn't accept negative timeout, the timeout parameter must be NULL to
block on select().
Victor Stinner [Thu, 9 Apr 2015 08:23:12 +0000 (10:23 +0200)]
Issue #23834: Fix the default socket timeout
Use -1 second by default, not -1 nanosecond.
Tim Golden [Wed, 8 Apr 2015 15:53:21 +0000 (16:53 +0100)]
Merge from 3.4
Benjamin Peterson [Wed, 8 Apr 2015 15:11:45 +0000 (11:11 -0400)]
merge 3.4
Berker Peksag [Wed, 8 Apr 2015 14:57:44 +0000 (17:57 +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 14:38:39 +0000 (17:38 +0300)]
Issue #23027: test_warnings now passes all tests when run it with -Werror.
Berker Peksag [Wed, 8 Apr 2015 08:24:51 +0000 (11:24 +0300)]
Skip nntplib tests when transient errors captured.
Berker Peksag [Wed, 8 Apr 2015 06:47:14 +0000 (09:47 +0300)]
Issue #23883: Add missing entries to traceback.__all__.
Gregory P. Smith [Tue, 7 Apr 2015 23:11:33 +0000 (16:11 -0700)]
issue10838: Rename the subprocess.mswindows internal global to _mswindows.
It is internal only, not a documented API.
Gregory P. Smith [Tue, 7 Apr 2015 22:57:54 +0000 (15:57 -0700)]
Addresses Issue #10838: The subprocess now module includes
SubprocessError and TimeoutError in its list of exported names for the
users wild enough to use "from subprocess import *".
MAXFD, mswindows and list2cmdline should be dealt with (renamed or
moved) in separate commits.
Committed at 35,000ft. Thanks chromebook free gogo wifi passes!
Victor Stinner [Tue, 7 Apr 2015 19:38:36 +0000 (21:38 +0200)]
Merge 3.4 (asyncio)
Serhiy Storchaka [Tue, 7 Apr 2015 16:09:01 +0000 (19:09 +0300)]
Issue #23411: Added DefragResult, ParseResult, SplitResult, DefragResultBytes,
ParseResultBytes, and SplitResultBytes to urllib.parse.__all__.
Patch by Martin Panter.
Benjamin Peterson [Tue, 7 Apr 2015 16:00:37 +0000 (12:00 -0400)]
merge 3.4 (#23873)
Donald Stufft [Tue, 7 Apr 2015 11:10:38 +0000 (07:10 -0400)]
update pip to 6.1.1
Victor Stinner [Tue, 7 Apr 2015 10:53:07 +0000 (12:53 +0200)]
Merge 3.4 (test_urllib2net)
Victor Stinner [Tue, 7 Apr 2015 10:50:24 +0000 (12:50 +0200)]
(Merge 3.4) 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:30:33 +0000 (01:30 -0400)]
Merged update of pip to 6.1.0 and setuptools to 15.0
Victor Stinner [Mon, 6 Apr 2015 20:46:13 +0000 (22:46 +0200)]
Issue #23853: Methods of SSL socket don't reset the socket timeout anymore each
time bytes are received or sent. The socket timeout is now the maximum total
duration of the method.
This change fixes a denial of service if the application is regulary
interrupted by a signal and the signal handler does not raise an exception.
Victor Stinner [Mon, 6 Apr 2015 20:30:41 +0000 (22:30 +0200)]
Issue #22117: Fix sock_call_ex() for non-blocking socket
Call internal_select() with a timeout of 0 second, not a timeout of -1 second
(blocking)!
Victor Stinner [Mon, 6 Apr 2015 21:16:34 +0000 (23:16 +0200)]
Issue #23853: socket.socket.sendall() does no more reset the socket timeout
each time data is sent successfuly. The socket timeout is now the maximum total
duration to send all data.
Victor Stinner [Mon, 6 Apr 2015 21:06:01 +0000 (23:06 +0200)]
Issue #23834: Fix initial value of the socket timeout
Use _PyTime_FromSeconds() to initialize the default socket timeout to -1
second, instead of -1 nanosecond which causes rounding issues in
internal_select().
Serhiy Storchaka [Mon, 6 Apr 2015 19:52:44 +0000 (22:52 +0300)]
Issue #22721: An order of multiline pprint output of set or dict containing
orderable and non-orderable elements no longer depends on iteration order of
set or dict.
Serhiy Storchaka [Mon, 6 Apr 2015 17:37:34 +0000 (20:37 +0300)]
Issue #22977: Remove unconditional import of ctypes.
Benjamin Peterson [Mon, 6 Apr 2015 17:06:21 +0000 (13:06 -0400)]
merge 3.4 (#23875)
Benjamin Peterson [Mon, 6 Apr 2015 13:59:23 +0000 (09:59 -0400)]
fix building without threads (closes #23877)
Tim Golden [Mon, 6 Apr 2015 10:06:18 +0000 (11:06 +0100)]
Merge doc change from 3.4