]>
granicus.if.org Git - python/log
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.
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:14:36 +0000 (09:14 +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.
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.
Serhiy Storchaka [Tue, 2 Dec 2014 21:39:56 +0000 (23:39 +0200)]
Issue #17401: Output the closefd attribute as boolean.
Victor Stinner [Tue, 2 Dec 2014 17:01:07 +0000 (18:01 +0100)]
Merge 3.4 (asyncio doc)
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:57 +0000 (17:52 +0100)]
Merge 3.4 (asyncio 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:31:10 +0000 (11:31 -0500)]
Merge 3.4.
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:26:14 +0000 (09:26 +0200)]
Issue #20335: bytes constructor now raises TypeError when encoding or errors
is specified with non-string argument. Based on patch by Renaud Blanch.
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.
Serhiy Storchaka [Tue, 2 Dec 2014 07:13:10 +0000 (09:13 +0200)]
Moved Misc/NEWS entry to right section.
Antoine Pitrou [Mon, 1 Dec 2014 23:20:03 +0000 (00:20 +0100)]
Fix uninitialized variable after #22676.
Barry Warsaw [Mon, 1 Dec 2014 23:17:29 +0000 (18:17 -0500)]
Trunk merge.
Barry Warsaw [Mon, 1 Dec 2014 23:16:12 +0000 (18:16 -0500)]
Merge 3.4.
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:52:43 +0000 (17:52 -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: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.
Terry Jan Reedy [Mon, 1 Dec 2014 22:16:43 +0000 (17:16 -0500)]
Remove spurious header in middle of Library section.
I suspect this was leftover from a merge conflict resolution.
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 22:08:53 +0000 (17:08 -0500)]
Merge with 3.4
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:54 +0000 (18:56 +0200)]
Issue #22975: Close block at right place.
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:30:14 +0000 (18:30 +0200)]
Removed duplicated words in in comments and docs.
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:10:12 +0000 (13:10 +0200)]
Issue #21032. Fixed socket leak if HTTPConnection.getresponse() fails.
Original patch by Martin Panter.
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 10:47:16 +0000 (12:47 +0200)]
Fixed issue number in Misc/NEWS for issue #22407.
Serhiy Storchaka [Mon, 1 Dec 2014 09:50:07 +0000 (11:50 +0200)]
Issue #21032: Deprecated the use of re.LOCALE flag with str patterns or
re.ASCII. It was newer worked.
Serhiy Storchaka [Mon, 1 Dec 2014 09:25:21 +0000 (11:25 +0200)]
Removed unused function linecol() (added in issue #22578 by mistake).
Serhiy Storchaka [Mon, 1 Dec 2014 09:08:27 +0000 (11:08 +0200)]
Issue #22838: All test_re tests now work with unittest test discovery.
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:51:37 +0000 (10:51 +0200)]
Issue #22924: Scripts gprof2html.py and highlight.py now use html.escape()
instead of deperecated cgi.escape(). Original patch by Raymond Hettinger.
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.
Serhiy Storchaka [Sun, 30 Nov 2014 18:39:04 +0000 (20:39 +0200)]
Issue #22902: The "ip" command is now used on Linux to determine MAC address
in uuid.getnode(). Pach by Bruno Cauet.
Benjamin Peterson [Sun, 30 Nov 2014 16:51:16 +0000 (11:51 -0500)]
merge 3.4 (#9179)
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:23 +0000 (23:38 -0500)]
merge 3.4
Benjamin Peterson [Sun, 30 Nov 2014 04:38:17 +0000 (23:38 -0500)]
context is keyword-only
Benjamin Peterson [Sun, 30 Nov 2014 04:34:30 +0000 (23:34 -0500)]
merge 3.4 (#22960)
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:38 +0000 (15:56 +0100)]
Close issue #22895: fix test failure introduced by the fix for issue #22462.
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:22:15 +0000 (15:22 -0800)]
Issue #16113: Also remove test_case_sha3_224_huge
Ned Deily [Fri, 28 Nov 2014 23:21:12 +0000 (15:21 -0800)]
Issue #16113: Also remove test_case_sha3_224_huge
Raymond Hettinger [Fri, 28 Nov 2014 22:52:14 +0000 (14:52 -0800)]
Minor code cleanup.
Victor Stinner [Fri, 28 Nov 2014 21:42:06 +0000 (22:42 +0100)]
Issue #22685, asyncio: resume_reading() must also be called in test_pause_reading()
Victor Stinner [Fri, 28 Nov 2014 21:37:16 +0000 (22:37 +0100)]
Issue #22685, asyncio: mock also resume_reading in test_pause_reading()