]>
granicus.if.org Git - python/log
Brett Cannon [Fri, 9 Jan 2015 16:39:21 +0000 (11:39 -0500)]
Issue #23014: Make importlib.abc.Loader.create_module() required when
importlib.abc.Loader.exec_module() is also defined.
Before this change, create_module() was optional **and** could return
None to trigger default semantics. This change now reduces the
options for choosing default semantics to one and in the most
backporting-friendly way (define create_module() to return None).
Victor Stinner [Fri, 9 Jan 2015 15:00:30 +0000 (16:00 +0100)]
Merge 3.4 (asyncio doc)
Victor Stinner [Fri, 9 Jan 2015 14:59:44 +0000 (15:59 +0100)]
asyncio: SelectSelector is limited to 512 sockets on Windows
Victor Stinner [Fri, 9 Jan 2015 14:58:41 +0000 (15:58 +0100)]
asyncio doc: fix section of event loop examples
Victor Stinner [Fri, 9 Jan 2015 01:13:19 +0000 (02:13 +0100)]
Issue #22038: pyatomic.h now uses stdatomic.h or GCC built-in functions for
atomic memory access if available. Patch written by Vitor de Lima and Gustavo
Temple.
Victor Stinner [Fri, 9 Jan 2015 00:43:04 +0000 (01:43 +0100)]
Merge 3.4 (asyncio)
Victor Stinner [Fri, 9 Jan 2015 00:42:52 +0000 (01:42 +0100)]
asyncio: sync with Tulip
* Document why set_result() calls are safe
* Cleanup gather(). Use public methods instead of hacks to consume the
exception of a future.
* sock_connect(): pass directly the fd to _sock_connect_done instead of the
socket.
Victor Stinner [Fri, 9 Jan 2015 00:32:25 +0000 (01:32 +0100)]
Merge 3.4 (asyncio doc)
Victor Stinner [Fri, 9 Jan 2015 00:32:02 +0000 (01:32 +0100)]
asyncio doc: list limitations to run subprocesses from different threads
Victor Stinner [Thu, 8 Jan 2015 23:13:39 +0000 (00:13 +0100)]
selectors: truncate to 80 characters
Victor Stinner [Thu, 8 Jan 2015 23:09:35 +0000 (00:09 +0100)]
Merge 3.4 (asyncio)
Victor Stinner [Thu, 8 Jan 2015 23:09:10 +0000 (00:09 +0100)]
asyncio: Truncate to 80 columns
Victor Stinner [Thu, 8 Jan 2015 11:07:00 +0000 (12:07 +0100)]
Merge 3.4 (asyncio)
Victor Stinner [Thu, 8 Jan 2015 11:06:36 +0000 (12:06 +0100)]
asyncio: _make_ssl_transport: make the waiter parameter optional
Terry Jan Reedy [Thu, 8 Jan 2015 04:49:06 +0000 (23:49 -0500)]
Merge with 3.4
Terry Jan Reedy [Thu, 8 Jan 2015 04:48:46 +0000 (23:48 -0500)]
Issue #23184: delete unused idlelib file.
Benjamin Peterson [Thu, 8 Jan 2015 04:12:43 +0000 (22:12 -0600)]
enable cert validation in test
Benjamin Peterson [Thu, 8 Jan 2015 03:21:34 +0000 (21:21 -0600)]
trying again
Benjamin Peterson [Thu, 8 Jan 2015 02:52:40 +0000 (20:52 -0600)]
reorder cipher prefs
Benjamin Peterson [Thu, 8 Jan 2015 02:30:59 +0000 (20:30 -0600)]
drop 256
Benjamin Peterson [Thu, 8 Jan 2015 02:03:27 +0000 (20:03 -0600)]
try using AES256
Benjamin Peterson [Wed, 7 Jan 2015 20:29:45 +0000 (14:29 -0600)]
fix assertions after ciphers were changed
Benjamin Peterson [Wed, 7 Jan 2015 20:21:22 +0000 (14:21 -0600)]
rc4 is a long time favorite
Benjamin Peterson [Wed, 7 Jan 2015 19:28:40 +0000 (13:28 -0600)]
everyone should support AES ciphers
Berker Peksag [Wed, 7 Jan 2015 19:15:33 +0000 (21:15 +0200)]
Issue #20487: Clarify meaning of "side effect" in the magic mock documentation.
Patch by A.M. Kuchling.
Berker Peksag [Wed, 7 Jan 2015 19:15:02 +0000 (21:15 +0200)]
Issue #20487: Clarify meaning of "side effect" in the magic mock documentation.
Patch by A.M. Kuchling.
Benjamin Peterson [Wed, 7 Jan 2015 18:59:20 +0000 (12:59 -0600)]
include some more ciphers
Benjamin Peterson [Wed, 7 Jan 2015 17:42:38 +0000 (11:42 -0600)]
force test server to speak tlsv1
Benjamin Peterson [Wed, 7 Jan 2015 17:33:51 +0000 (11:33 -0600)]
remove apparently wrong assertion about des bit size
Benjamin Peterson [Wed, 7 Jan 2015 17:32:00 +0000 (11:32 -0600)]
use SSL_get_session
Benjamin Peterson [Wed, 7 Jan 2015 17:26:50 +0000 (11:26 -0600)]
explain None can be returned
Benjamin Peterson [Wed, 7 Jan 2015 17:14:26 +0000 (11:14 -0600)]
expose the client's cipher suites from the handshake (closes #23186)
Raymond Hettinger [Wed, 7 Jan 2015 06:16:10 +0000 (22:16 -0800)]
Minor speed-up. Use local variable instead of a global lookup.
Nick Coghlan [Wed, 7 Jan 2015 03:14:47 +0000 (13:14 +1000)]
Issue #19548: clean up merge issues in codecs docs
Patch by Martin Panter to clean up some problems with the merge
of the codecs docs changes from Python 3.4.
Nick Coghlan [Tue, 6 Jan 2015 14:37:01 +0000 (00:37 +1000)]
Merge issue 19548 changes from 3.4
Nick Coghlan [Tue, 6 Jan 2015 14:22:00 +0000 (00:22 +1000)]
Issue 19548: update codecs module documentation
- clarified the distinction between text encodings and other codecs
- clarified relationship with builtin open and the io module
- consolidated documentation of error handlers into one section
- clarified type constraints of some behaviours
- added tests for some of the new statements in the docs
Victor Stinner [Tue, 6 Jan 2015 13:05:03 +0000 (14:05 +0100)]
Issue #23145: regrtest now shows errors and raises an exception if
loader.loadTestsFromModule() logged errors.
Victor Stinner [Tue, 6 Jan 2015 12:58:57 +0000 (13:58 +0100)]
Null merge 3.4 (changes already applied to Python 3.5)
Victor Stinner [Tue, 6 Jan 2015 12:54:58 +0000 (13:54 +0100)]
Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The
availability of the function is checked during the compilation. Patch written
by Bernard Spil.
Victor Stinner [Tue, 6 Jan 2015 12:53:09 +0000 (13:53 +0100)]
Issue #23177: Document that ssl.RAND_egd() is not available with LibreSSL
Victor Stinner [Tue, 6 Jan 2015 11:23:15 +0000 (12:23 +0100)]
Null merge python 3.4 (change already applied to Python 3.5)
Victor Stinner [Tue, 6 Jan 2015 11:21:26 +0000 (12:21 +0100)]
Issue #20896, #22935: The ssl.get_server_certificate() function now uses the
ssl.PROTOCOL_SSLv23 protocol by default, not ssl.PROTOCOL_SSLv3, for maximum
compatibility and support platforms where ssl.PROTOCOL_SSLv3 support is
disabled.
Vinay Sajip [Tue, 6 Jan 2015 11:19:42 +0000 (11:19 +0000)]
Closes #21980: Added a __repr__ for LogRecord.
Vinay Sajip [Tue, 6 Jan 2015 10:56:09 +0000 (10:56 +0000)]
Closes #23151: Removed unnecessary initialization.
Victor Stinner [Tue, 6 Jan 2015 10:51:06 +0000 (11:51 +0100)]
test_ssl: add more debug to investigate test_openssl_version() failure on
OpenBSD with LibreSSL.
Zachary Ware [Tue, 6 Jan 2015 06:45:52 +0000 (00:45 -0600)]
Merge with 3.4
Zachary Ware [Tue, 6 Jan 2015 06:40:43 +0000 (00:40 -0600)]
Cosmetic fixes to the 'Develop with asyncio' page
Raymond Hettinger [Tue, 6 Jan 2015 06:00:08 +0000 (22:00 -0800)]
merge
Raymond Hettinger [Tue, 6 Jan 2015 05:52:10 +0000 (21:52 -0800)]
Issue #23132: Mitigate regression in speed and clarity in functools.total_ordering.
Victor Stinner [Tue, 6 Jan 2015 00:22:54 +0000 (01:22 +0100)]
Merge 3.4 (asyncio)
Victor Stinner [Tue, 6 Jan 2015 00:22:45 +0000 (01:22 +0100)]
Issue #23140, asyncio: Simplify the unit test
Victor Stinner [Tue, 6 Jan 2015 00:14:09 +0000 (01:14 +0100)]
Merge 3.4 (asyncio)
Victor Stinner [Tue, 6 Jan 2015 00:13:49 +0000 (01:13 +0100)]
Issue #23140, asyncio: Fix cancellation of Process.wait(). Check the state of
the waiter future before setting its result.
Victor Stinner [Tue, 6 Jan 2015 00:04:38 +0000 (01:04 +0100)]
Merge 3.4 (asyncio)
Victor Stinner [Tue, 6 Jan 2015 00:03:58 +0000 (01:03 +0100)]
Issue #23046: Expose the BaseEventLoop class in the asyncio namespace
Benjamin Peterson [Mon, 5 Jan 2015 20:39:06 +0000 (14:39 -0600)]
merge 3.4
Benjamin Peterson [Mon, 5 Jan 2015 20:38:46 +0000 (14:38 -0600)]
emphasize that cffi is better than extension modules for portability
Ned Deily [Mon, 5 Jan 2015 09:05:36 +0000 (01:05 -0800)]
Issue #22165: merge from 3.4
Ned Deily [Mon, 5 Jan 2015 09:02:30 +0000 (01:02 -0800)]
Issue #22165: Skip test_undecodable_filename on OS X prior to 10.5.
10.4 systems do not allow creation of files with such filenames.
Berker Peksag [Mon, 5 Jan 2015 07:20:07 +0000 (09:20 +0200)]
Issue #18644: Fix a ResourceWarning in formatter.test().
Patch by Vajrasky Kok.
Berker Peksag [Mon, 5 Jan 2015 07:19:40 +0000 (09:19 +0200)]
Issue #18644: Fix a ResourceWarning in formatter.test().
Patch by Vajrasky Kok.
Benjamin Peterson [Sun, 4 Jan 2015 22:30:13 +0000 (16:30 -0600)]
merge 3.4 (#23167)
Benjamin Peterson [Sun, 4 Jan 2015 22:29:48 +0000 (16:29 -0600)]
the current marshal version is 4 (closes #23167)
Patch by Dmitry Kazakov.
Benjamin Peterson [Sun, 4 Jan 2015 22:06:14 +0000 (16:06 -0600)]
merge 3.4 (#23165)
Benjamin Peterson [Sun, 4 Jan 2015 22:05:39 +0000 (16:05 -0600)]
merge 3.3 (closes #23165)
Benjamin Peterson [Sun, 4 Jan 2015 22:03:59 +0000 (16:03 -0600)]
merge 3.2 (closes #23165)
Benjamin Peterson [Sun, 4 Jan 2015 22:03:17 +0000 (16:03 -0600)]
add some overflow checks before multiplying (closes #23165)
Gregory P. Smith [Sun, 4 Jan 2015 08:36:59 +0000 (00:36 -0800)]
fix issue23157 - time_hashlib hadn't been ported to Python 3.
Gregory P. Smith [Sun, 4 Jan 2015 08:36:04 +0000 (00:36 -0800)]
fix issue23157 - time_hashlib hadn't been ported to Python 3.
Zachary Ware [Sun, 4 Jan 2015 04:33:10 +0000 (22:33 -0600)]
Closes #23154: Fix unnecessary recompilation of OpenSSL on Windows
Antoine Pitrou [Sat, 3 Jan 2015 22:21:21 +0000 (23:21 +0100)]
Issue #23143: Remove compatibility with OpenSSLs older than 0.9.8.
(now the hashlib module)
Antoine Pitrou [Sat, 3 Jan 2015 22:17:23 +0000 (23:17 +0100)]
Issue #23143: Remove compatibility with OpenSSLs older than 0.9.8.
(the last 0.9.7 release was in 2007)
Donald Stufft [Sat, 3 Jan 2015 10:21:23 +0000 (05:21 -0500)]
Update bundled pip and setuptools to 6.0.6 and 11.0.
Donald Stufft [Sat, 3 Jan 2015 10:20:23 +0000 (05:20 -0500)]
Upgrade the bundled pip to 6.0.6 and the bundled setuptools to 11.0
Ned Deily [Sat, 3 Jan 2015 08:46:24 +0000 (00:46 -0800)]
Add missing URL link to Modernize docs.
Ned Deily [Sat, 3 Jan 2015 08:45:55 +0000 (00:45 -0800)]
Add missing URL link to Modernize docs.
Steve Dower [Sat, 3 Jan 2015 02:07:46 +0000 (18:07 -0800)]
Changes %s to %ls in wprintf in launcher.c for C99 compatibility.
Serhiy Storchaka [Thu, 1 Jan 2015 13:23:12 +0000 (15:23 +0200)]
Issue #23132: Improve performance and introspection support of comparison
methods created by functool.total_ordering.
Ned Deily [Thu, 1 Jan 2015 00:31:06 +0000 (16:31 -0800)]
Update copyright dates in OS X installer.
Ned Deily [Thu, 1 Jan 2015 00:30:26 +0000 (16:30 -0800)]
Update copyright dates in OS X installer.
Benjamin Peterson [Thu, 1 Jan 2015 00:11:34 +0000 (18:11 -0600)]
merge 3.4
Benjamin Peterson [Thu, 1 Jan 2015 00:11:22 +0000 (18:11 -0600)]
merge 3.3
Benjamin Peterson [Thu, 1 Jan 2015 00:10:13 +0000 (18:10 -0600)]
merge 3.2
Benjamin Peterson [Thu, 1 Jan 2015 00:09:36 +0000 (18:09 -0600)]
update for copyright for 2015
Benjamin Peterson [Tue, 30 Dec 2014 21:17:09 +0000 (15:17 -0600)]
merge 3.4
Benjamin Peterson [Tue, 30 Dec 2014 21:17:03 +0000 (15:17 -0600)]
update docs for #23111
Benjamin Peterson [Tue, 30 Dec 2014 21:16:13 +0000 (15:16 -0600)]
merge 3.4 (#23111)
Benjamin Peterson [Tue, 30 Dec 2014 21:15:43 +0000 (15:15 -0600)]
make PROTOCOL_SSLv23 the default protocol version for ftplib (closes #23111)
Antoine Pitrou [Tue, 30 Dec 2014 21:09:42 +0000 (22:09 +0100)]
whitespace
Antoine Pitrou [Tue, 30 Dec 2014 19:54:45 +0000 (20:54 +0100)]
Issue #19776: Add a expanduser() method on Path objects.
Patch by Serhiy.
Benjamin Peterson [Tue, 30 Dec 2014 16:09:30 +0000 (10:09 -0600)]
merge 3.4 (#23130)
Benjamin Peterson [Tue, 30 Dec 2014 16:09:17 +0000 (10:09 -0600)]
merge 3.3 (#23130)
Benjamin Peterson [Tue, 30 Dec 2014 16:08:52 +0000 (10:08 -0600)]
merge 3.2 (#23130)
Benjamin Peterson [Tue, 30 Dec 2014 16:08:16 +0000 (10:08 -0600)]
delete old ftpmirror script, which now has security bugs (closes #23130)
Benjamin Peterson [Mon, 29 Dec 2014 04:14:23 +0000 (22:14 -0600)]
merge 3.4
Benjamin Peterson [Mon, 29 Dec 2014 04:14:15 +0000 (22:14 -0600)]
use a proper m-dash
Raymond Hettinger [Mon, 29 Dec 2014 01:15:12 +0000 (17:15 -0800)]
Minor comment clean-up
Berker Peksag [Sun, 28 Dec 2014 16:48:58 +0000 (18:48 +0200)]
Issue #23125: Update nose project page link.
Reported by Damien MariƩ.
Berker Peksag [Sun, 28 Dec 2014 16:48:33 +0000 (18:48 +0200)]
Issue #23125: Update nose project page link.
Reported by Damien MariƩ.
Raymond Hettinger [Sat, 27 Dec 2014 07:08:58 +0000 (23:08 -0800)]
Small clean-up. Factor-out common code for add, contains, and discard function pairs.