]>
granicus.if.org Git - python/log
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.
Benjamin Peterson [Sat, 6 Dec 2014 01:34:56 +0000 (20:34 -0500)]
merge 3.3 (#16043)
Benjamin Peterson [Sat, 6 Dec 2014 01:30:54 +0000 (20:30 -0500)]
merge 3.2 (#16043)
Terry Jan Reedy [Sat, 6 Dec 2014 01:25:30 +0000 (20:25 -0500)]
Issue #16893: Update Idle doc chapter to match current Idle and add new
information.
Benjamin Peterson [Sat, 6 Dec 2014 01:15:15 +0000 (20:15 -0500)]
add a default limit for the amount of data xmlrpclib.gzip_decode will return (closes #16043)
Brett Cannon [Fri, 5 Dec 2014 23:11:05 +0000 (18:11 -0500)]
Fix a bad link
Serhiy Storchaka [Fri, 5 Dec 2014 20:25:22 +0000 (22:25 +0200)]
Issue #22581: Use more "bytes-like object" throughout the docs and comments.
Brett Cannon [Fri, 5 Dec 2014 15:56:12 +0000 (10:56 -0500)]
Issue #22914: Update the Python 2/3 porting HOWTO to describe a more
automated process.
Victor Stinner [Fri, 5 Dec 2014 09:17:10 +0000 (10:17 +0100)]
Issue #22599: Enhance tokenize.open() to be able to call it during Python
finalization.
Before the module kept a reference to the builtins module, but the module
attributes are cleared during Python finalization. Instead, keep directly a
reference to the open() function.
This enhancement is not perfect, calling tokenize.open() can still fail if
called very late during Python finalization. Usually, the function is called
by the linecache module which is called to display a traceback or emit a
warning.
Terry Jan Reedy [Fri, 5 Dec 2014 07:43:07 +0000 (02:43 -0500)]
Edit Menus section of Idle doc. Make menu entries match current Idle in order
and case. Edit some of the explanatory sentences and end all with a period.
Yury Selivanov [Fri, 5 Dec 2014 03:47:44 +0000 (22:47 -0500)]
docs.inspect: Fix BoundArguments example. Issue #22998.
Victor Stinner [Fri, 5 Dec 2014 00:44:10 +0000 (01:44 +0100)]
Closes #22429, asyncio: Fix EventLoop.run_until_complete(), don't stop the
event loop if a BaseException is raised, because the event loop is already
stopped.
Victor Stinner [Fri, 5 Dec 2014 00:43:42 +0000 (01:43 +0100)]
Issue #22922: Fix ProactorEventLoop.close()
Call _stop_accept_futures() before sestting the _closed attribute, otherwise
call_soon() raises an error.
Victor Stinner [Thu, 4 Dec 2014 22:07:47 +0000 (23:07 +0100)]
Closes #22922: More EventLoop methods fail if the loop is closed. Initial patch
written by Torsten Landschoff.
create_task(), call_at(), call_soon(), call_soon_threadsafe() and
run_in_executor() now raise an error if the event loop is closed.
Victor Stinner [Thu, 4 Dec 2014 22:06:13 +0000 (23:06 +0100)]
Issue #22685: Fix test_pause_reading() of asyncio test_subprocess
* mock also resume_reading()
* ensure that resume_reading() is called
Victor Stinner [Thu, 4 Dec 2014 22:00:13 +0000 (23:00 +0100)]
asyncio: Initialize more Future and Task attributes in the class definition to
avoid attribute errors in destructors.
Terry Jan Reedy [Thu, 4 Dec 2014 06:26:04 +0000 (01:26 -0500)]
Issue #3068: Document the new Configure Extensions dialog and menu entry.
Terry Jan Reedy [Thu, 4 Dec 2014 05:54:59 +0000 (00:54 -0500)]
Issue #16893: For Idle doc, move index entries, copy no-subprocess section
from idlelib/help.txt, add 'C' comment, and remove obsolete ^Z comment
Original patch by Zach Ware.
Antoine Pitrou [Wed, 3 Dec 2014 19:00:56 +0000 (20:00 +0100)]
Fix #22987: update the compatibility matrix for a SSLv23 client.
Serhiy Storchaka [Wed, 3 Dec 2014 07:11:57 +0000 (09:11 +0200)]
Issue #14099: ZipFile.open() no longer reopen the underlying file. Objects
returned by ZipFile.open() can now operate independently of the ZipFile even
if the ZipFile was created by passing in a file-like object as the first
argument to the constructor.
Victor Stinner [Tue, 2 Dec 2014 16:57:04 +0000 (17:57 +0100)]
Closes #22475: asyncio doc, fix Task.get_stack() doc
Victor Stinner [Tue, 2 Dec 2014 16:52:45 +0000 (17:52 +0100)]
Close #22473: asyncio doc: rephrase Future with run_forever() example
Barry Warsaw [Tue, 2 Dec 2014 16:30:43 +0000 (11:30 -0500)]
Fix the test to use an os.sep agnostic test. Hopefully this will fix the
Windows buildbots. Found by Jeremy Kloth.
Serhiy Storchaka [Tue, 2 Dec 2014 07:24:06 +0000 (09:24 +0200)]
Issue #20335: bytes constructor now raises TypeError when encoding or errors
is specified with non-string argument. Based on patch by Renaud Blanch.
Barry Warsaw [Mon, 1 Dec 2014 23:15:26 +0000 (18:15 -0500)]
Make this change a little more robust for up-merging.
Barry Warsaw [Mon, 1 Dec 2014 22:23:55 +0000 (17:23 -0500)]
- Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile is
asked to compile a source file containing multiple dots in the source file
name.
Barry Warsaw [Mon, 1 Dec 2014 22:10:10 +0000 (17:10 -0500)]
- Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile is
asked to compile a source file containing multiple dots in the source file
name.
Terry Jan Reedy [Mon, 1 Dec 2014 21:59:09 +0000 (16:59 -0500)]
Add NEWS items for Idle patches and a turtledemo patch.
Serhiy Storchaka [Mon, 1 Dec 2014 16:56:28 +0000 (18:56 +0200)]
Issue #22975: Close block at right place.
Serhiy Storchaka [Mon, 1 Dec 2014 16:28:43 +0000 (18:28 +0200)]
Removed duplicated words in in comments and docs.
Serhiy Storchaka [Mon, 1 Dec 2014 11:07:45 +0000 (13:07 +0200)]
Issue #21032. Fixed socket leak if HTTPConnection.getresponse() fails.
Original patch by Martin Panter.
Serhiy Storchaka [Mon, 1 Dec 2014 09:06:45 +0000 (11:06 +0200)]
Issue #22838: All test_re tests now work with unittest test discovery.
Serhiy Storchaka [Mon, 1 Dec 2014 08:50:33 +0000 (10:50 +0200)]
Issue #22924: Scripts gprof2html.py and highlight.py now use html.escape()
instead of deperecated cgi.escape(). Original patch by Raymond Hettinger.
Benjamin Peterson [Sun, 30 Nov 2014 16:49:00 +0000 (11:49 -0500)]
backout
9fcf4008b626 (#9179) for further consideration
Benjamin Peterson [Sun, 30 Nov 2014 04:38:17 +0000 (23:38 -0500)]
context is keyword-only
Benjamin Peterson [Sun, 30 Nov 2014 04:32:57 +0000 (23:32 -0500)]
add context parameter to xmlrpclib.ServerProxy (#22960)
Patch by Alex Gaynor.
Antoine Pitrou [Sat, 29 Nov 2014 14:56:07 +0000 (15:56 +0100)]
Close issue #22895: fix test failure introduced by the fix for issue #22462.
Ned Deily [Fri, 28 Nov 2014 23:21:12 +0000 (15:21 -0800)]
Issue #16113: Also remove test_case_sha3_224_huge
Victor Stinner [Fri, 28 Nov 2014 17:02:03 +0000 (18:02 +0100)]
Issue #22685: Debug test_pause_reading() on FreeBSD
Victor Stinner [Fri, 28 Nov 2014 16:45:41 +0000 (17:45 +0100)]
Closes #22348: Rephrase asyncio.StreamWriter.drain() documentation
Patch written by Martin Richard.
Victor Stinner [Fri, 28 Nov 2014 12:58:28 +0000 (13:58 +0100)]
asyncio doc: reformat event loop policy doc
Victor Stinner [Fri, 28 Nov 2014 12:15:41 +0000 (13:15 +0100)]
asyncio doc: explain how to pass keywords to callbacks (functools.partial)
Benjamin Peterson [Fri, 28 Nov 2014 02:39:02 +0000 (20:39 -0600)]
give a nice message when installer is launched w/o admin rights (closes #16561)
Serhiy Storchaka [Thu, 27 Nov 2014 22:48:46 +0000 (00:48 +0200)]
Issue #21280: Fixed a bug in shutil.make_archive() when create an archive of
current directory in current directory.
Serhiy Storchaka [Thu, 27 Nov 2014 22:09:29 +0000 (00:09 +0200)]
Issue #22314: pydoc now works when the LINES environment variable is set.
Serhiy Storchaka [Thu, 27 Nov 2014 20:13:16 +0000 (22:13 +0200)]
Issue #22915: SAX parser now supports files opened with file descriptor or
bytes path.
Serhiy Storchaka [Thu, 27 Nov 2014 17:41:47 +0000 (19:41 +0200)]
Issue #21514: The documentation of the json module now refers to new JSON RFC
7159 instead of obsoleted RFC 4627.
Serhiy Storchaka [Thu, 27 Nov 2014 15:45:44 +0000 (17:45 +0200)]
Issue #22609: Revert changes in UserDict. They conflicted with existing tests.
Serhiy Storchaka [Thu, 27 Nov 2014 14:25:51 +0000 (16:25 +0200)]
Issue #22609: Constructors and update methods of mapping classes in the
collections module now accept the self keyword argument.
Zachary Ware [Thu, 27 Nov 2014 05:44:25 +0000 (23:44 -0600)]
pydoc: Add a note about setting PAGER to affect console output pagination.
Suggested by James Lowden on docs@.
Ethan Furman [Thu, 27 Nov 2014 05:15:35 +0000 (21:15 -0800)]
(3.4) Issue22780: reword NotImplemented docs to emphasise should
Benjamin Peterson [Thu, 27 Nov 2014 05:03:11 +0000 (23:03 -0600)]
remove tautological condition (closes #22954)
Zachary Ware [Thu, 27 Nov 2014 04:57:35 +0000 (22:57 -0600)]
pydoc: Remove mention of '-g' command line option, document its removal.
Benjamin Peterson [Wed, 26 Nov 2014 20:35:56 +0000 (14:35 -0600)]
use skipUnless
Benjamin Peterson [Tue, 25 Nov 2014 21:43:58 +0000 (15:43 -0600)]
handle errors without a reason attribute
Benjamin Peterson [Tue, 25 Nov 2014 21:16:55 +0000 (15:16 -0600)]
don't fail tests when www.python.org can't be validated by the system
Victor Stinner [Tue, 25 Nov 2014 16:20:33 +0000 (17:20 +0100)]
Closes #22685, asyncio: Set the transport of stdout and stderr StreamReader
objects in the SubprocessStreamProtocol. It allows to pause the transport to
not buffer too much stdout or stderr data.
Berker Peksag [Mon, 24 Nov 2014 21:46:30 +0000 (23:46 +0200)]
Issue #20351: Add examples for csv.DictReader and csv.DictWriter.
Patch by Charles-Axel Dein.
Benjamin Peterson [Mon, 24 Nov 2014 02:36:44 +0000 (20:36 -0600)]
add context parameter to HTTPHandler (closes #22788)
Benjamin Peterson [Mon, 24 Nov 2014 02:15:31 +0000 (20:15 -0600)]
add NEWS note for #22921
Benjamin Peterson [Mon, 24 Nov 2014 02:09:31 +0000 (20:09 -0600)]
correct versionchanged version
Benjamin Peterson [Sun, 23 Nov 2014 23:04:34 +0000 (17:04 -0600)]
don't require OpenSSL SNI to pass hostname to ssl functions (#22921)
Patch by Donald Stufft.
Benjamin Peterson [Sun, 23 Nov 2014 17:43:33 +0000 (11:43 -0600)]
document that cadefault does nothing now
Antoine Pitrou [Sun, 23 Nov 2014 14:55:11 +0000 (15:55 +0100)]
Issue #22894: TestCase.subTest() would cause the test suite to be stopped when in failfast mode, even in the absence of failures.
Benjamin Peterson [Wed, 5 Nov 2014 16:29:39 +0000 (11:29 -0500)]
merge 3.2
Benjamin Peterson [Wed, 5 Nov 2014 16:27:14 +0000 (11:27 -0500)]
use pythontest.net for url fragment test
Benjamin Peterson [Mon, 3 Nov 2014 20:11:53 +0000 (15:11 -0500)]
merge 3.2
Benjamin Peterson [Mon, 3 Nov 2014 20:10:47 +0000 (15:10 -0500)]
move idna test domain to pythontest.net
Benjamin Peterson [Sun, 19 Oct 2014 14:47:49 +0000 (10:47 -0400)]
make plural s lowercase
Antoine Pitrou [Fri, 17 Oct 2014 17:28:30 +0000 (19:28 +0200)]
Issue #22638: SSLv3 is now disabled throughout the standard library.
It can still be enabled by instantiating a SSLContext manually.
Ned Deily [Sat, 22 Nov 2014 22:20:30 +0000 (14:20 -0800)]
Add downloads page link to OS X installer README screens.
Serhiy Storchaka [Fri, 21 Nov 2014 19:55:39 +0000 (21:55 +0200)]
Issue #17293: socket.gethostbyname() can raise an exception of FreeBSD.
Victor Stinner [Thu, 20 Nov 2014 23:23:27 +0000 (00:23 +0100)]
asyncio: BaseSelectorEventLoop.close() now closes the self-pipe before calling
the parent close() method. If the event loop is already closed, the self-pipe
is not unregistered from the selector.
Victor Stinner [Thu, 20 Nov 2014 14:03:52 +0000 (15:03 +0100)]
asyncio: Coroutine objects are now rejected with a TypeError by the following
functions:
* add_signal_handler()
* call_at()
* call_later()
* call_soon()
* call_soon_threadsafe()
* run_in_executor()
Fix also the error message of add_signal_handler() (fix the name of the
function).