]>
granicus.if.org Git - python/log
Victor Stinner [Fri, 12 Dec 2014 12:19:48 +0000 (13:19 +0100)]
Merge 3.4 (ceval.c)
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:58:45 +0000 (12:58 +0100)]
Merge 3.4 (test_selectors)
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:27 +0000 (12:27 +0100)]
Merge 3.4 (ssl)
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:59 +0000 (12:23 +0100)]
Issue #22935: Fix test_ssl when the SSLv3 protocol is not supported
Victor Stinner [Fri, 12 Dec 2014 11:23:29 +0000 (12:23 +0100)]
Merge 3.4 (ssl)
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:53 +0000 (23:56 -0800)]
merge
Raymond Hettinger [Fri, 12 Dec 2014 07:56:32 +0000 (23:56 -0800)]
Issue 23005: Fix typos
Serhiy Storchaka [Fri, 12 Dec 2014 07:30:18 +0000 (09:30 +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.
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:31 +0000 (23:30 +0100)]
Merge 3.4 (asyncio)
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:25:49 +0000 (22:25 +0100)]
Issue #22823: Fix typo in unittest/mock.py
Victor Stinner [Thu, 11 Dec 2014 21:23:28 +0000 (22:23 +0100)]
Merge 3.4 (asyncio)
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:49 +0000 (05:33 -0500)]
Merge with 3.4
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:42 +0000 (10:30 +0200)]
Null merge
Serhiy Storchaka [Thu, 11 Dec 2014 08:30:21 +0000 (10:30 +0200)]
Issue #22823: Fixed an output of sets in examples.
Serhiy Storchaka [Thu, 11 Dec 2014 08:28:14 +0000 (10:28 +0200)]
Issue #22823: Use set literals instead of creating a set from a list.
Fixed an output of sets in examples.
Terry Jan Reedy [Wed, 10 Dec 2014 23:50:13 +0000 (18:50 -0500)]
Merge with 3.4
Terry Jan Reedy [Wed, 10 Dec 2014 23:49:58 +0000 (18:49 -0500)]
whitespace
Terry Jan Reedy [Wed, 10 Dec 2014 23:49:02 +0000 (18:49 -0500)]
Merge with 3.4
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:39:45 +0000 (18:39 -0500)]
Merge 3.4
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 21:04:47 +0000 (23:04 +0200)]
Issue #23016: A warning no longer produces an AttributeError when the program
is run with pythonw.exe.
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:05:35 +0000 (11:05 -0500)]
merge 3.4
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:27 +0000 (09:51 -0500)]
Merge: #22918: Drop obsolete mention of 'keys' in datamodel __iter__ docs.
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:51:36 +0000 (02:51 +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 [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 [Wed, 10 Dec 2014 00:34:11 +0000 (02:34 +0200)]
Issue #17554: Print "fetching <url> ..." messages only in verbose mode.
Patch by Ezio Melotti.
Berker Peksag [Tue, 9 Dec 2014 23:47:50 +0000 (01:47 +0200)]
Issue #12602: Add missing cross-references to runpy and using/cmdline docs.
Patch by Éric Araujo.
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:01:15 +0000 (18:01 -0500)]
null merge with 3.4
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 21:05:34 +0000 (16:05 -0500)]
inspect: Fix getsource() to load updated source of reloaded module
Issue #
1218234 . Initial patch by Berker Peksag.
Yury Selivanov [Mon, 8 Dec 2014 20:00:05 +0000 (15:00 -0500)]
Issue #21740: Support wrapped callables in pydoc. Patch by Claudiu Popa.
Yury Selivanov [Mon, 8 Dec 2014 17:40:53 +0000 (12:40 -0500)]
null merge with 3.4.
Yury Selivanov [Mon, 8 Dec 2014 17:39:50 +0000 (12:39 -0500)]
NEWS: Remove duplicate entry
Yury Selivanov [Mon, 8 Dec 2014 17:37:47 +0000 (12:37 -0500)]
NEWS: Add news entry for issue #23009.
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:28 +0000 (12:30 -0500)]
selectors: Fix typo in comment.
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:22:33 +0000 (12:22 -0500)]
selectors: Make sure EpollSelecrtor.select() works when no FD is registered.
Closes issue #23009.
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:43 +0000 (17:26 -0500)]
merge 3.4
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:47:39 +0000 (13:47 -0500)]
merge 3.4
Benjamin Peterson [Sun, 7 Dec 2014 18:47:34 +0000 (13:47 -0500)]
merge 3.4 (#22959)
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)
Antoine Pitrou [Sun, 7 Dec 2014 00:28:27 +0000 (01:28 +0100)]
Issue #22696: Add function :func:`sys.is_finalizing` to know about interpreter shutdown.
Benjamin Peterson [Sat, 6 Dec 2014 16:37:18 +0000 (11:37 -0500)]
merge 3.4
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 03:11:33 +0000 (22:11 -0500)]
merge 3.4 (#22935)
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:51:08 +0000 (20:51 -0500)]
Update idlelib/NEWS.txt.
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:36:07 +0000 (20:36 -0500)]
merge 3.4 (#16043)
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:26:23 +0000 (20:26 -0500)]
Merge with 3.4.
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:15 +0000 (18:11 -0500)]
Merge with 3.4
Brett Cannon [Fri, 5 Dec 2014 23:11:05 +0000 (18:11 -0500)]
Fix a bad link
Victor Stinner [Fri, 5 Dec 2014 21:51:51 +0000 (22:51 +0100)]
Issue #9647: os.confstr() ensures that the second call to confstr() returns the
same length.
Serhiy Storchaka [Fri, 5 Dec 2014 20:28:27 +0000 (22:28 +0200)]
Merge heads
Serhiy Storchaka [Fri, 5 Dec 2014 20:26:10 +0000 (22:26 +0200)]
Issue #22581: Use more "bytes-like object" throughout the docs and comments.
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 20:17:31 +0000 (15:17 -0500)]
Issue #22394: Add a 'venv' command to Doc/Makefile.
This will create a venv using the interpreter specified by the PYTHON
variable for the Makefile that also install Sphinx. Typical usage is
expected to be:
cd Doc
make venv PYTHON=../python
make html PYTHON=venv/bin/python3
Brett Cannon [Fri, 5 Dec 2014 16:01:30 +0000 (11:01 -0500)]
Merge with 3.4
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:18:30 +0000 (10:18 +0100)]
(Merge 3.4) 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.
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:29 +0000 (02:43 -0500)]
Merge with 3.4. Edit Menus section of Idle doc.
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.
Terry Jan Reedy [Fri, 5 Dec 2014 04:29:07 +0000 (23:29 -0500)]
Merge from 3.4 after patch separately committed as
697adefaba6b .
Yury Selivanov [Fri, 5 Dec 2014 03:48:47 +0000 (22:48 -0500)]
docs.inspect: Fix BoundArguments example. Issue #22998.
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:31 +0000 (01:44 +0100)]
Merge 3.4 (asyncio)
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 [Fri, 5 Dec 2014 00:25:21 +0000 (01:25 +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:08:37 +0000 (23:08 +0100)]
Merge 3.4 (asyncio)
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:35 +0000 (01:26 -0500)]
Merge with 3.4
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:55:16 +0000 (00:55 -0500)]
Merge with 3.4
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:03:11 +0000 (20:03 +0100)]
Fix #22987: update the compatibility matrix for a SSLv23 client.