]> granicus.if.org Git - python/log
python
10 years agoIssue #23014: Make importlib.abc.Loader.create_module() required when
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).

10 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Fri, 9 Jan 2015 15:00:30 +0000 (16:00 +0100)]
Merge 3.4 (asyncio doc)

10 years agoasyncio: SelectSelector is limited to 512 sockets on Windows
Victor Stinner [Fri, 9 Jan 2015 14:59:44 +0000 (15:59 +0100)]
asyncio: SelectSelector is limited to 512 sockets on Windows

10 years agoasyncio doc: fix section of event loop examples
Victor Stinner [Fri, 9 Jan 2015 14:58:41 +0000 (15:58 +0100)]
asyncio doc: fix section of event loop examples

10 years agoIssue #22038: pyatomic.h now uses stdatomic.h or GCC built-in functions for
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.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Fri, 9 Jan 2015 00:43:04 +0000 (01:43 +0100)]
Merge 3.4 (asyncio)

10 years agoasyncio: sync with Tulip
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.

10 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Fri, 9 Jan 2015 00:32:25 +0000 (01:32 +0100)]
Merge 3.4 (asyncio doc)

10 years agoasyncio doc: list limitations to run subprocesses from different threads
Victor Stinner [Fri, 9 Jan 2015 00:32:02 +0000 (01:32 +0100)]
asyncio doc: list limitations to run subprocesses from different threads

10 years agoselectors: truncate to 80 characters
Victor Stinner [Thu, 8 Jan 2015 23:13:39 +0000 (00:13 +0100)]
selectors: truncate to 80 characters

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 8 Jan 2015 23:09:35 +0000 (00:09 +0100)]
Merge 3.4 (asyncio)

10 years agoasyncio: Truncate to 80 columns
Victor Stinner [Thu, 8 Jan 2015 23:09:10 +0000 (00:09 +0100)]
asyncio: Truncate to 80 columns

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Thu, 8 Jan 2015 11:07:00 +0000 (12:07 +0100)]
Merge 3.4 (asyncio)

10 years agoasyncio: _make_ssl_transport: make the waiter parameter optional
Victor Stinner [Thu, 8 Jan 2015 11:06:36 +0000 (12:06 +0100)]
asyncio: _make_ssl_transport: make the waiter parameter optional

10 years agoMerge with 3.4
Terry Jan Reedy [Thu, 8 Jan 2015 04:49:06 +0000 (23:49 -0500)]
Merge with 3.4

10 years agoIssue #23184: delete unused idlelib file.
Terry Jan Reedy [Thu, 8 Jan 2015 04:48:46 +0000 (23:48 -0500)]
Issue #23184: delete unused idlelib file.

10 years agoenable cert validation in test
Benjamin Peterson [Thu, 8 Jan 2015 04:12:43 +0000 (22:12 -0600)]
enable cert validation in test

10 years agotrying again
Benjamin Peterson [Thu, 8 Jan 2015 03:21:34 +0000 (21:21 -0600)]
trying again

10 years agoreorder cipher prefs
Benjamin Peterson [Thu, 8 Jan 2015 02:52:40 +0000 (20:52 -0600)]
reorder cipher prefs

10 years agodrop 256
Benjamin Peterson [Thu, 8 Jan 2015 02:30:59 +0000 (20:30 -0600)]
drop 256

10 years agotry using AES256
Benjamin Peterson [Thu, 8 Jan 2015 02:03:27 +0000 (20:03 -0600)]
try using AES256

10 years agofix assertions after ciphers were changed
Benjamin Peterson [Wed, 7 Jan 2015 20:29:45 +0000 (14:29 -0600)]
fix assertions after ciphers were changed

10 years agorc4 is a long time favorite
Benjamin Peterson [Wed, 7 Jan 2015 20:21:22 +0000 (14:21 -0600)]
rc4 is a long time favorite

10 years agoeveryone should support AES ciphers
Benjamin Peterson [Wed, 7 Jan 2015 19:28:40 +0000 (13:28 -0600)]
everyone should support AES ciphers

10 years agoIssue #20487: Clarify meaning of "side effect" in the magic mock documentation.
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.

10 years agoIssue #20487: Clarify meaning of "side effect" in the magic mock documentation.
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.

10 years agoinclude some more ciphers
Benjamin Peterson [Wed, 7 Jan 2015 18:59:20 +0000 (12:59 -0600)]
include some more ciphers

10 years agoforce test server to speak tlsv1
Benjamin Peterson [Wed, 7 Jan 2015 17:42:38 +0000 (11:42 -0600)]
force test server to speak tlsv1

10 years agoremove apparently wrong assertion about des bit size
Benjamin Peterson [Wed, 7 Jan 2015 17:33:51 +0000 (11:33 -0600)]
remove apparently wrong assertion about des bit size

10 years agouse SSL_get_session
Benjamin Peterson [Wed, 7 Jan 2015 17:32:00 +0000 (11:32 -0600)]
use SSL_get_session

10 years agoexplain None can be returned
Benjamin Peterson [Wed, 7 Jan 2015 17:26:50 +0000 (11:26 -0600)]
explain None can be returned

10 years agoexpose the client's cipher suites from the handshake (closes #23186)
Benjamin Peterson [Wed, 7 Jan 2015 17:14:26 +0000 (11:14 -0600)]
expose the client's cipher suites from the handshake (closes #23186)

10 years agoMinor speed-up. Use local variable instead of a global lookup.
Raymond Hettinger [Wed, 7 Jan 2015 06:16:10 +0000 (22:16 -0800)]
Minor speed-up.  Use local variable instead of a global lookup.

10 years agoIssue #19548: clean up merge issues in codecs docs
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.

10 years agoMerge issue 19548 changes from 3.4
Nick Coghlan [Tue, 6 Jan 2015 14:37:01 +0000 (00:37 +1000)]
Merge issue 19548 changes from 3.4

10 years agoIssue 19548: update codecs module documentation
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

10 years agoIssue #23145: regrtest now shows errors and raises an exception if
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.

10 years agoNull merge 3.4 (changes already applied to Python 3.5)
Victor Stinner [Tue, 6 Jan 2015 12:58:57 +0000 (13:58 +0100)]
Null merge 3.4 (changes already applied to Python 3.5)

10 years agoIssue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The
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.

10 years agoIssue #23177: Document that ssl.RAND_egd() is not available with LibreSSL
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

10 years agoNull merge python 3.4 (change already applied to Python 3.5)
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)

10 years agoIssue #20896, #22935: The ssl.get_server_certificate() function now uses the
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.

10 years agoCloses #21980: Added a __repr__ for LogRecord.
Vinay Sajip [Tue, 6 Jan 2015 11:19:42 +0000 (11:19 +0000)]
Closes #21980: Added a __repr__ for LogRecord.

10 years agoCloses #23151: Removed unnecessary initialization.
Vinay Sajip [Tue, 6 Jan 2015 10:56:09 +0000 (10:56 +0000)]
Closes #23151: Removed unnecessary initialization.

10 years agotest_ssl: add more debug to investigate test_openssl_version() failure on
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.

10 years agoMerge with 3.4
Zachary Ware [Tue, 6 Jan 2015 06:45:52 +0000 (00:45 -0600)]
Merge with 3.4

10 years agoCosmetic fixes to the 'Develop with asyncio' page
Zachary Ware [Tue, 6 Jan 2015 06:40:43 +0000 (00:40 -0600)]
Cosmetic fixes to the 'Develop with asyncio' page

10 years agomerge
Raymond Hettinger [Tue, 6 Jan 2015 06:00:08 +0000 (22:00 -0800)]
merge

10 years agoIssue #23132: Mitigate regression in speed and clarity in functools.total_ordering.
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.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Tue, 6 Jan 2015 00:22:54 +0000 (01:22 +0100)]
Merge 3.4 (asyncio)

10 years agoIssue #23140, asyncio: Simplify the unit test
Victor Stinner [Tue, 6 Jan 2015 00:22:45 +0000 (01:22 +0100)]
Issue #23140, asyncio: Simplify the unit test

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Tue, 6 Jan 2015 00:14:09 +0000 (01:14 +0100)]
Merge 3.4 (asyncio)

10 years agoIssue #23140, asyncio: Fix cancellation of Process.wait(). Check the state of
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.

10 years agoMerge 3.4 (asyncio)
Victor Stinner [Tue, 6 Jan 2015 00:04:38 +0000 (01:04 +0100)]
Merge 3.4 (asyncio)

10 years agoIssue #23046: Expose the BaseEventLoop class in the asyncio namespace
Victor Stinner [Tue, 6 Jan 2015 00:03:58 +0000 (01:03 +0100)]
Issue #23046: Expose the BaseEventLoop class in the asyncio namespace

10 years agomerge 3.4
Benjamin Peterson [Mon, 5 Jan 2015 20:39:06 +0000 (14:39 -0600)]
merge 3.4

10 years agoemphasize that cffi is better than extension modules for portability
Benjamin Peterson [Mon, 5 Jan 2015 20:38:46 +0000 (14:38 -0600)]
emphasize that cffi is better than extension modules for portability

10 years agoIssue #22165: merge from 3.4
Ned Deily [Mon, 5 Jan 2015 09:05:36 +0000 (01:05 -0800)]
Issue #22165: merge from 3.4

10 years agoIssue #22165: Skip test_undecodable_filename on OS X prior to 10.5.
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.

10 years agoIssue #18644: Fix a ResourceWarning in formatter.test().
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.

10 years agoIssue #18644: Fix a ResourceWarning in formatter.test().
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.

10 years agomerge 3.4 (#23167)
Benjamin Peterson [Sun, 4 Jan 2015 22:30:13 +0000 (16:30 -0600)]
merge 3.4 (#23167)

10 years agothe current marshal version is 4 (closes #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.

10 years agomerge 3.4 (#23165)
Benjamin Peterson [Sun, 4 Jan 2015 22:06:14 +0000 (16:06 -0600)]
merge 3.4 (#23165)

10 years agomerge 3.3 (closes #23165)
Benjamin Peterson [Sun, 4 Jan 2015 22:05:39 +0000 (16:05 -0600)]
merge 3.3 (closes #23165)

10 years agomerge 3.2 (closes #23165)
Benjamin Peterson [Sun, 4 Jan 2015 22:03:59 +0000 (16:03 -0600)]
merge 3.2 (closes #23165)

10 years agoadd some overflow checks before multiplying (closes #23165)
Benjamin Peterson [Sun, 4 Jan 2015 22:03:17 +0000 (16:03 -0600)]
add some overflow checks before multiplying (closes #23165)

10 years agofix issue23157 - time_hashlib hadn't been ported to Python 3.
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.

10 years agofix 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.

10 years agoCloses #23154: Fix unnecessary recompilation of OpenSSL on Windows
Zachary Ware [Sun, 4 Jan 2015 04:33:10 +0000 (22:33 -0600)]
Closes #23154: Fix unnecessary recompilation of OpenSSL on Windows

10 years agoIssue #23143: Remove compatibility with OpenSSLs older than 0.9.8.
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)

10 years agoIssue #23143: Remove compatibility with OpenSSLs older than 0.9.8.
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)

10 years agoUpdate bundled pip and setuptools to 6.0.6 and 11.0.
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.

10 years agoUpgrade the bundled pip to 6.0.6 and the bundled setuptools to 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

10 years agoAdd missing URL link to Modernize docs.
Ned Deily [Sat, 3 Jan 2015 08:46:24 +0000 (00:46 -0800)]
Add missing URL link to Modernize docs.

10 years agoAdd 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.

10 years agoChanges %s to %ls in wprintf in launcher.c for C99 compatibility.
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.

10 years agoIssue #23132: Improve performance and introspection support of comparison
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.

10 years agoUpdate copyright dates in OS X installer.
Ned Deily [Thu, 1 Jan 2015 00:31:06 +0000 (16:31 -0800)]
Update copyright dates in OS X installer.

10 years agoUpdate 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.

10 years agomerge 3.4
Benjamin Peterson [Thu, 1 Jan 2015 00:11:34 +0000 (18:11 -0600)]
merge 3.4

10 years agomerge 3.3
Benjamin Peterson [Thu, 1 Jan 2015 00:11:22 +0000 (18:11 -0600)]
merge 3.3

10 years agomerge 3.2
Benjamin Peterson [Thu, 1 Jan 2015 00:10:13 +0000 (18:10 -0600)]
merge 3.2

10 years agoupdate for copyright for 2015
Benjamin Peterson [Thu, 1 Jan 2015 00:09:36 +0000 (18:09 -0600)]
update for copyright for 2015

10 years agomerge 3.4
Benjamin Peterson [Tue, 30 Dec 2014 21:17:09 +0000 (15:17 -0600)]
merge 3.4

10 years agoupdate docs for #23111
Benjamin Peterson [Tue, 30 Dec 2014 21:17:03 +0000 (15:17 -0600)]
update docs for #23111

10 years agomerge 3.4 (#23111)
Benjamin Peterson [Tue, 30 Dec 2014 21:16:13 +0000 (15:16 -0600)]
merge 3.4 (#23111)

10 years agomake PROTOCOL_SSLv23 the default protocol version for ftplib (closes #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)

10 years agowhitespace
Antoine Pitrou [Tue, 30 Dec 2014 21:09:42 +0000 (22:09 +0100)]
whitespace

10 years agoIssue #19776: Add a expanduser() method on Path objects.
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.

10 years agomerge 3.4 (#23130)
Benjamin Peterson [Tue, 30 Dec 2014 16:09:30 +0000 (10:09 -0600)]
merge 3.4 (#23130)

10 years agomerge 3.3 (#23130)
Benjamin Peterson [Tue, 30 Dec 2014 16:09:17 +0000 (10:09 -0600)]
merge 3.3 (#23130)

10 years agomerge 3.2 (#23130)
Benjamin Peterson [Tue, 30 Dec 2014 16:08:52 +0000 (10:08 -0600)]
merge 3.2 (#23130)

10 years agodelete old ftpmirror script, which now has security bugs (closes #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)

10 years agomerge 3.4
Benjamin Peterson [Mon, 29 Dec 2014 04:14:23 +0000 (22:14 -0600)]
merge 3.4

10 years agouse a proper m-dash
Benjamin Peterson [Mon, 29 Dec 2014 04:14:15 +0000 (22:14 -0600)]
use a proper m-dash

10 years agoMinor comment clean-up
Raymond Hettinger [Mon, 29 Dec 2014 01:15:12 +0000 (17:15 -0800)]
Minor comment clean-up

10 years agoIssue #23125: Update nose project page link.
Berker Peksag [Sun, 28 Dec 2014 16:48:58 +0000 (18:48 +0200)]
Issue #23125: Update nose project page link.

Reported by Damien MariĆ©.

10 years agoIssue #23125: Update nose project page link.
Berker Peksag [Sun, 28 Dec 2014 16:48:33 +0000 (18:48 +0200)]
Issue #23125: Update nose project page link.

Reported by Damien MariĆ©.

10 years agoSmall clean-up. Factor-out common code for add, contains, and discard function pairs.
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.