]>
granicus.if.org Git - python/log
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:48:46 +0000 (23:48 -0500)]
Issue #23184: delete unused idlelib file.
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.
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 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 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.
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 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:45 +0000 (01:22 +0100)]
Issue #23140, asyncio: Simplify the unit test
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:03:58 +0000 (01:03 +0100)]
Issue #23046: Expose the BaseEventLoop class in the asyncio namespace
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: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: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: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: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:04 +0000 (00:36 -0800)]
fix issue23157 - time_hashlib hadn't been ported to Python 3.
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:45:55 +0000 (00:45 -0800)]
Add missing URL link to Modernize docs.
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: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:03 +0000 (15:17 -0600)]
update docs for #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)
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:15 +0000 (22:14 -0600)]
use a proper m-dash
Berker Peksag [Sun, 28 Dec 2014 16:48:33 +0000 (18:48 +0200)]
Issue #23125: Update nose project page link.
Reported by Damien Marié.
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
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.
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 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:02 +0000 (16:07 -0600)]
update correct French examples (#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:49:11 +0000 (10:49 -0600)]
doucment that Py_SetPath copies its argument (closes #23110)
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:09:50 +0000 (22:09 +0100)]
asyncio doc: update also Queue docstrings
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 02:51:50 +0000 (20:51 -0600)]
allow more operations to work on detached streams (closes #23093)
Patch by Martin Panter.
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:53:01 +0000 (18:53 +0200)]
Issue #23071: "namereplace_errors" was added only in 3.5.
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:35 +0000 (11:21 -0500)]
Fix typo.
Barry Warsaw [Fri, 19 Dec 2014 16:20:00 +0000 (11:20 -0500)]
Fix typo.
Victor Stinner [Fri, 19 Dec 2014 16:10:44 +0000 (17:10 +0100)]
asyncio: IocpProactor.wait_for_handle() test now also checks the result of the
future
Victor Stinner [Thu, 18 Dec 2014 22:47:27 +0000 (23:47 +0100)]
asyncio: sync with Tulip
* Fix a race condition in BaseSubprocessTransport._try_finish().
If the process exited before the _post_init() method was called, scheduling
the call to _call_connection_lost() with call_soon() is wrong:
connection_made() must be called before connection_lost().
Reuse the BaseSubprocessTransport._call() method to schedule the call to
_call_connection_lost() to ensure that connection_made() and
connection_lost() are called in the correct order.
* Add repr(PipeHandle)
* Fix typo
Victor Stinner [Thu, 18 Dec 2014 11:29:53 +0000 (12:29 +0100)]
asyncio: sync with Tulip
Victor Stinner [Thu, 18 Dec 2014 00:20:10 +0000 (01:20 +0100)]
Issue #23074: asyncio.get_event_loop() now raises an exception if the thread
has no event loop even if assertions are disabled.
Berker Peksag [Wed, 17 Dec 2014 12:56:47 +0000 (14:56 +0200)]
Issue #23070: Fix a comment in the tutorial.
"Python" has 6 characters, not 7.
Reported by Ross Burnett.
Raymond Hettinger [Wed, 17 Dec 2014 02:16:57 +0000 (18:16 -0800)]
Issue #23049: Pure python equivalent shouldn't imply more exactitude than is really there.
Serhiy Storchaka [Tue, 16 Dec 2014 17:39:08 +0000 (19:39 +0200)]
Issue #15513: Added a __sizeof__ implementation for pickle classes.
Serhiy Storchaka [Tue, 16 Dec 2014 16:00:56 +0000 (18:00 +0200)]
Issue #19858: pickletools.optimize() now aware of the MEMOIZE opcode, can
produce more compact result and no longer produces invalid output if input
data contains MEMOIZE opcodes together with PUT or BINPUT opcodes.
Terry Jan Reedy [Tue, 16 Dec 2014 08:21:26 +0000 (03:21 -0500)]
Issue #20577: move configuration of FormatParagraph extension to new extension
configuration dialog. Patch by Tal Einat.
Victor Stinner [Mon, 15 Dec 2014 16:50:55 +0000 (17:50 +0100)]
asyncio doc: call_soon() does not call immediatly the callback. Patch written
by Martin Panter.
Benjamin Peterson [Mon, 15 Dec 2014 15:04:13 +0000 (10:04 -0500)]
remove extra ssl imports (closes #23053)
Patch from Jan Matejek.
Serhiy Storchaka [Mon, 15 Dec 2014 12:03:42 +0000 (14:03 +0200)]
Issue #22777: Test pickling with all protocols.
Serhiy Storchaka [Mon, 15 Dec 2014 10:03:44 +0000 (12:03 +0200)]
Issue #23015: Improved testing of the uuid module.
Benjamin Peterson [Mon, 15 Dec 2014 05:00:23 +0000 (00:00 -0500)]
use autoconf macro to check for pkg-config (closes #15506)
Serhiy Storchaka [Sun, 14 Dec 2014 08:53:00 +0000 (10:53 +0200)]
Fixed a typo in a comment (issue #23016).
Benjamin Peterson [Sat, 13 Dec 2014 21:13:24 +0000 (16:13 -0500)]
make sure server threads get cleaned up
Benjamin Peterson [Sat, 13 Dec 2014 21:06:19 +0000 (16:06 -0500)]
pop the loop block even for infinite while loops (closes #23048)
Serhiy Storchaka [Sat, 13 Dec 2014 19:50:49 +0000 (21:50 +0200)]
Issue #22823: Use set literals in lib2to3.
Berker Peksag [Sat, 13 Dec 2014 13:48:22 +0000 (15:48 +0200)]
Issue #23047: Fix typo in pyporting.rst.
Patch by Chaitanya agrawal.
Ned Deily [Sat, 13 Dec 2014 08:17:46 +0000 (00:17 -0800)]
Issue #17128: Use private version of OpenSSL for 3.x OS X 10.5+ installers.
Among other issues, the Apple-supplied 0.9.7 libs for the 10.5 ABI cannot
verify newer SHA-256 certs as now used by python.org services. Document
in the installer ReadMe some of the certificate management issues that
users now need to be more concerned with due to PEP 476's enabling cert
verification by default. For now, continue to use the Apple-supplied
0.9.8 libs for the 10.6+ installer since they use Apple private APIs to
verify certificates using the system- and user-managed CA keychain stores.
Brett Cannon [Fri, 12 Dec 2014 20:13:43 +0000 (15:13 -0500)]
Address some comments from Nick Coghlan
Benjamin Peterson [Fri, 12 Dec 2014 14:56:33 +0000 (09:56 -0500)]
remove reference to dead irc channel (closes #23038)
Victor Stinner [Fri, 12 Dec 2014 12:17:41 +0000 (13:17 +0100)]
Issue #18028: Fix aliasing issue in READ_TIMESTAMP() of ceval.c on x86_64,
when Python is configure with --with-tsc. Patch written by Christian Heimes.
Victor Stinner [Fri, 12 Dec 2014 11:57:35 +0000 (12:57 +0100)]
test_selectors: Tolerate 2.0 seconds instead of 1.6 sec for very slow buildbots
Victor Stinner [Fri, 12 Dec 2014 11:27:08 +0000 (12:27 +0100)]
Issue #22935: Fix test_ssl when the SSLv3 protocol is not supported
Victor Stinner [Fri, 12 Dec 2014 11:23:09 +0000 (12:23 +0100)]
Issue #22935: Fix ssl module when SSLv3 protocol is not supported
Raymond Hettinger [Fri, 12 Dec 2014 07:56:32 +0000 (23:56 -0800)]
Issue 23005: Fix typos
Serhiy Storchaka [Fri, 12 Dec 2014 07:29:15 +0000 (09:29 +0200)]
Issue #22095: Fixed HTTPConnection.set_tunnel with default port. The port
value in the host header was set to "None". Patch by Demian Brecht.
Victor Stinner [Thu, 11 Dec 2014 22:30:17 +0000 (23:30 +0100)]
asyncio, tulip issue 209: Fix subprocess for close_fds=False on Python 3.3
Mark the write end of the stdin pipe as non-inheritable.
Victor Stinner [Thu, 11 Dec 2014 21:23:19 +0000 (22:23 +0100)]
asyncio, tulip issue 202: Add unit test of pause/resume writing for proactor
socket transport
Terry Jan Reedy [Thu, 11 Dec 2014 10:33:36 +0000 (05:33 -0500)]
Issue 22823: Use set literal in idlelib.
Serhiy Storchaka [Thu, 11 Dec 2014 08:30:21 +0000 (10:30 +0200)]
Issue #22823: Fixed an output of sets in examples.
Terry Jan Reedy [Wed, 10 Dec 2014 23:49:58 +0000 (18:49 -0500)]
whitespace
Terry Jan Reedy [Wed, 10 Dec 2014 23:48:23 +0000 (18:48 -0500)]
Issue #23006 whitespace
Terry Jan Reedy [Wed, 10 Dec 2014 23:38:19 +0000 (18:38 -0500)]
Issue #23006: Improve the documentation and indexing of dict.__missing__.
Add an entry in the language datamodel special methods section.
Revise and index its discussion in the stdtypes mapping/dict section.
Serhiy Storchaka [Wed, 10 Dec 2014 20:59:55 +0000 (22:59 +0200)]
Issue #23016: A warning no longer produces AttributeError when the program
is run with pythonw.exe.
Benjamin Peterson [Wed, 10 Dec 2014 16:04:17 +0000 (11:04 -0500)]
fix path to patchlevel.py
R David Murray [Wed, 10 Dec 2014 14:51:01 +0000 (09:51 -0500)]
#22918: Drop obsolete mention of 'keys' in datamodel __iter__ docs.
Patch by Chaitanya Agrawal.
Berker Peksag [Wed, 10 Dec 2014 00:50:32 +0000 (02:50 +0200)]
Issue #21775: shutil.copytree(): fix crash when copying to VFAT
An exception handler assumed that that OSError objects always have a
'winerror' attribute. That is not the case, so the exception handler
itself raised AttributeError when run on Linux (and, presumably, any
other non-Windows OS).
Patch by Greg Ward.
Berker Peksag [Tue, 9 Dec 2014 23:47:02 +0000 (01:47 +0200)]
Issue #12602: Add missing cross-references to runpy and using/cmdline docs.
Patch by Éric Araujo.
Yury Selivanov [Mon, 8 Dec 2014 23:00:25 +0000 (18:00 -0500)]
inspect: Fix getsource() to load updated source of reloaded module
Issue #
1218234 . Initial patch by Berker Peksag.
Yury Selivanov [Mon, 8 Dec 2014 17:39:50 +0000 (12:39 -0500)]
NEWS: Remove duplicate entry
Yury Selivanov [Mon, 8 Dec 2014 17:34:06 +0000 (12:34 -0500)]
NEWS: Add news entry for issue #23009.
Yury Selivanov [Mon, 8 Dec 2014 17:30:10 +0000 (12:30 -0500)]
selectors: Fix typo in comment.
Yury Selivanov [Mon, 8 Dec 2014 17:21:58 +0000 (12:21 -0500)]
selectors: Make sure EpollSelecrtor.select() works when no FD is registered.
Closes issue #23009.
Benjamin Peterson [Sun, 7 Dec 2014 22:26:38 +0000 (17:26 -0500)]
fix reference by adding module name
Benjamin Peterson [Sun, 7 Dec 2014 18:46:02 +0000 (13:46 -0500)]
use context's check_hostname attribute rather than the HTTPSHandler check_hostname parameter
Benjamin Peterson [Sun, 7 Dec 2014 18:18:25 +0000 (13:18 -0500)]
HTTPSConnection: prefer the context's check_hostname attribute over the constructor parameter (#22959)
Benjamin Peterson [Sat, 6 Dec 2014 16:36:32 +0000 (11:36 -0500)]
note that sslv3 may not be available
Benjamin Peterson [Sat, 6 Dec 2014 02:59:35 +0000 (21:59 -0500)]
allow ssl module to compile if openssl doesn't support SSL 3 (closes #22935)
Patch by Kurt Roeckx.
Terry Jan Reedy [Sat, 6 Dec 2014 01:49:32 +0000 (20:49 -0500)]
Update idlelib/NEWS.txt.