]>
granicus.if.org Git - python/log
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.
Raymond Hettinger [Sat, 27 Dec 2014 04:14:00 +0000 (20:14 -0800)]
Issue #23107: Tighten-up loops in setobject.c
* Move the test for an exact key match to after a hash match
* Use "used" as a loop counter instead of "fill"
* Minor improvements to variable names and code consistency
Raymond Hettinger [Sat, 27 Dec 2014 01:28:16 +0000 (17:28 -0800)]
Neaten-up setobject.h
- Move all Py_LIMITED_API exclusions together under one #ifndef
- Group PyAPI_FUNC functions and PyAPI_DATA together.
- Bring related comments together and put them in the appropriate section.
Victor Stinner [Fri, 26 Dec 2014 20:29:45 +0000 (21:29 +0100)]
Merge 3.4 (asyncio)
Victor Stinner [Fri, 26 Dec 2014 20:07:52 +0000 (21:07 +0100)]
Issue #22926: In debug mode, call_soon(), call_at() and call_later() methods of
asyncio.BaseEventLoop now use the identifier of the current thread to ensure
that they are called from the thread running the event loop.
Before, the get_event_loop() method was used to check the thread, and no
exception was raised when the thread had no event loop. Now the methods always
raise an exception in debug mode when called from the wrong thread. It should
help to notice misusage of the API.
Victor Stinner [Fri, 26 Dec 2014 20:16:42 +0000 (21:16 +0100)]
asyncio: sync with Tulip
* Fix pyflakes warnings: remove unused imports and variables
* asyncio.test_support now uses test.support and test.script_helper if available
Benjamin Peterson [Fri, 26 Dec 2014 17:07:39 +0000 (11:07 -0600)]
null merge 3.4
Benjamin Peterson [Fri, 26 Dec 2014 16:56:51 +0000 (10:56 -0600)]
merge 3.4 (#23112)
Benjamin Peterson [Fri, 26 Dec 2014 16:53:43 +0000 (10:53 -0600)]
fix behavior of trailing slash redirection when a query string is involved (closes #23112)
R David Murray [Thu, 25 Dec 2014 23:36:56 +0000 (18:36 -0500)]
#20069: Add tests for os.chown.
Patch by Vajrasky Kok.
Berker Peksag [Thu, 25 Dec 2014 12:14:09 +0000 (14:14 +0200)]
Remove the redundant second argument of versionadded directive.
The versionadded directive is already placed in the scope of the
HTTPStatus documentation.
R David Murray [Thu, 25 Dec 2014 02:24:07 +0000 (21:24 -0500)]
Merge: #23040: Clarify treatment of encoding and errors when component is bytes.
R David Murray [Thu, 25 Dec 2014 02:23:18 +0000 (21:23 -0500)]
#23040: Clarify treatment of encoding and errors when component is bytes.
Patch by Wojtek Ruszczewski.
Benjamin Peterson [Wed, 24 Dec 2014 22:07:19 +0000 (16:07 -0600)]
merge 3.4
Benjamin Peterson [Wed, 24 Dec 2014 22:07:02 +0000 (16:07 -0600)]
update correct French examples (#23109)
Benjamin Peterson [Wed, 24 Dec 2014 19:58:47 +0000 (13:58 -0600)]
merge 3.4 (#23109)
Benjamin Peterson [Wed, 24 Dec 2014 19:58:05 +0000 (13:58 -0600)]
improve incorrect French (#23109)
Following suggestions from Clément.
Benjamin Peterson [Wed, 24 Dec 2014 16:51:10 +0000 (10:51 -0600)]
merge 3.4 (#23110)
Benjamin Peterson [Wed, 24 Dec 2014 16:49:11 +0000 (10:49 -0600)]
doucment that Py_SetPath copies its argument (closes #23110)
Serhiy Storchaka [Tue, 23 Dec 2014 14:28:28 +0000 (16:28 +0200)]
Issue #21793: Added http.HTTPStatus enums (i.e. HTTPStatus.OK,
HTTPStatus.NOT_FOUND). Patch by Demian Brecht.
Donald Stufft [Tue, 23 Dec 2014 14:19:45 +0000 (09:19 -0500)]
Merge pip and setuptools upgrade
Donald Stufft [Tue, 23 Dec 2014 14:18:38 +0000 (09:18 -0500)]
Upgrade pip to 6.0.2 and setuptools to 8.2.1
Victor Stinner [Mon, 22 Dec 2014 21:10:10 +0000 (22:10 +0100)]
Merge 3.4 (asyncio)
Victor Stinner [Mon, 22 Dec 2014 21:09:50 +0000 (22:09 +0100)]
asyncio doc: update also Queue docstrings
Victor Stinner [Mon, 22 Dec 2014 21:07:29 +0000 (22:07 +0100)]
Merge 3.4 (asyncio doc)
Victor Stinner [Mon, 22 Dec 2014 21:07:06 +0000 (22:07 +0100)]
asyncio doc: Fix doc of get and put methods of Queue
Benjamin Peterson [Mon, 22 Dec 2014 03:00:51 +0000 (21:00 -0600)]
merge 3.4 (#23093)
Benjamin Peterson [Mon, 22 Dec 2014 02:51:50 +0000 (20:51 -0600)]
allow more operations to work on detached streams (closes #23093)
Patch by Martin Panter.
Victor Stinner [Sun, 21 Dec 2014 00:16:38 +0000 (01:16 +0100)]
Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),
instead of reading /dev/urandom, to get pseudo-random bytes.
Victor Stinner [Sun, 21 Dec 2014 00:16:38 +0000 (01:16 +0100)]
Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),
instead of reading /dev/urandom, to get pseudo-random bytes.
Serhiy Storchaka [Sat, 20 Dec 2014 18:58:28 +0000 (20:58 +0200)]
Issue #19104: pprint now produces evaluable output for wrapped strings.
Serhiy Storchaka [Sat, 20 Dec 2014 18:57:15 +0000 (20:57 +0200)]
Issue #19104: pprint now produces evaluable output for wrapped strings.
Serhiy Storchaka [Sat, 20 Dec 2014 16:58:09 +0000 (18:58 +0200)]
Null merge
Serhiy Storchaka [Sat, 20 Dec 2014 16:53:01 +0000 (18:53 +0200)]
Issue #23071: "namereplace_errors" was added only in 3.5.
Serhiy Storchaka [Sat, 20 Dec 2014 15:46:05 +0000 (17:46 +0200)]
Issue #23071: Added missing names to codecs.__all__. Patch by Martin Panter.
Serhiy Storchaka [Sat, 20 Dec 2014 15:42:38 +0000 (17:42 +0200)]
Issue #23071: Added missing names to codecs.__all__. Patch by Martin Panter.
Barry Warsaw [Fri, 19 Dec 2014 16:21:56 +0000 (11:21 -0500)]
null merge.
Barry Warsaw [Fri, 19 Dec 2014 16:21:35 +0000 (11:21 -0500)]
Fix typo.
Barry Warsaw [Fri, 19 Dec 2014 16:21:10 +0000 (11:21 -0500)]
Trunk merge.
Barry Warsaw [Fri, 19 Dec 2014 16:20:16 +0000 (11:20 -0500)]
Fixed typo.