]>
granicus.if.org Git - python/log
Victor Stinner [Fri, 13 Jun 2014 12:58:55 +0000 (14:58 +0200)]
Merge 3.4 (null merge)
Victor Stinner [Fri, 13 Jun 2014 12:58:48 +0000 (14:58 +0200)]
Issue #16136: VMSError is done, bye bye VMS
Victor Stinner [Fri, 13 Jun 2014 12:55:47 +0000 (14:55 +0200)]
Issue #16136: VMSError is done, bye bye VMS
Antoine Pitrou [Thu, 12 Jun 2014 23:41:30 +0000 (19:41 -0400)]
Issue #21711: support for "site-python" directories has now been removed from the site module (it was deprecated in 3.4).
Vinay Sajip [Thu, 12 Jun 2014 22:38:16 +0000 (23:38 +0100)]
Issue #21709: Merged update from 3.4.
Vinay Sajip [Thu, 12 Jun 2014 22:36:33 +0000 (23:36 +0100)]
Issue #21709: Improved implementation to cover the frozen module case.
Victor Stinner [Thu, 12 Jun 2014 16:39:42 +0000 (18:39 +0200)]
(Merge 3.4) asyncio: Tulip issue 173: Enhance repr(Handle) and repr(Task)
repr(Handle) is shorter for function: "foo" instead of "<function foo at
0x...>". It now also includes the source of the callback, filename and line
number where it was defined, if available.
repr(Task) now also includes the current position in the code, filename and
line number, if available. If the coroutine (generator) is done, the line
number is omitted and "done" is added.
Victor Stinner [Thu, 12 Jun 2014 16:39:26 +0000 (18:39 +0200)]
asyncio: Tulip issue 173: Enhance repr(Handle) and repr(Task)
repr(Handle) is shorter for function: "foo" instead of "<function foo at
0x...>". It now also includes the source of the callback, filename and line
number where it was defined, if available.
repr(Task) now also includes the current position in the code, filename and
line number, if available. If the coroutine (generator) is done, the line
number is omitted and "done" is added.
Terry Jan Reedy [Thu, 12 Jun 2014 05:03:35 +0000 (01:03 -0400)]
Merge with 3.4
Terry Jan Reedy [Thu, 12 Jun 2014 05:03:08 +0000 (01:03 -0400)]
Issue #12387: Add missing upper(lower)case versions of default Windows key
bindings for Idle so Caps Lock does not disable them. Patch by Roger Serwy.
R David Murray [Wed, 11 Jun 2014 21:09:43 +0000 (17:09 -0400)]
Suppress a couple more DeprecationWarnings in the test suite.
Zachary Ware [Wed, 11 Jun 2014 20:28:31 +0000 (15:28 -0500)]
Closes #21713: Merge with 3.4
Zachary Ware [Wed, 11 Jun 2014 20:27:04 +0000 (15:27 -0500)]
Issue #21713: Fix typo in a comment. Found by Joseph Shen.
R David Murray [Wed, 11 Jun 2014 20:25:05 +0000 (16:25 -0400)]
Eliminate DeprecationWarning in test_concurrent_futures.
R David Murray [Wed, 11 Jun 2014 20:10:10 +0000 (16:10 -0400)]
#14758: Fix the fix (fix getaddrinfo in mock_socket)
I forgot to run all the affected tests when I fixed smtpd.
Zachary Ware [Wed, 11 Jun 2014 20:02:25 +0000 (15:02 -0500)]
Fix doc build warning
R David Murray [Wed, 11 Jun 2014 19:17:50 +0000 (15:17 -0400)]
#14758: Need to specify the desired socket type in the getaddrinfo call.
This worked by accident on Linux because the SOCK_STREAM was returned
first, but on the FreeBSD the SOCK_DGRAM is first in the list.
R David Murray [Wed, 11 Jun 2014 18:40:13 +0000 (14:40 -0400)]
#19840: Add copy_function to shutil.move.
Patch by Claudiu Popa.
R David Murray [Wed, 11 Jun 2014 17:48:58 +0000 (13:48 -0400)]
#14758: add IPv6 support to smtpd.
Patch by Milan Oberkirch.
R David Murray [Wed, 11 Jun 2014 16:27:40 +0000 (12:27 -0400)]
#19662: Eliminate warnings in other test modules that use smtpd.
Eventually these will want to convert to decode_data=False, I think.
R David Murray [Wed, 11 Jun 2014 15:18:08 +0000 (11:18 -0400)]
#19662: add decode_data to smtpd so you can get at DATA in bytes form.
Otherwise smtpd is restricted to 7bit clean data, since even if the
incoming data is actually utf-8, it will often break things to decode
it before parsing the message.
Patch by Maciej Szulik, with some adjustments (mostly the warning
support).
Senthil Kumaran [Wed, 11 Jun 2014 13:19:47 +0000 (06:19 -0700)]
merge from 3.4
Senthil Kumaran [Wed, 11 Jun 2014 13:19:21 +0000 (06:19 -0700)]
#21693 - Fix the broken link for pylons project.
Larry Hastings [Wed, 11 Jun 2014 11:36:09 +0000 (04:36 -0700)]
Issue #21629: Merge from 3.4.
Larry Hastings [Wed, 11 Jun 2014 11:31:29 +0000 (04:31 -0700)]
Issue #21629: Fix Argument Clinic's "--converters" feature.
Vinay Sajip [Wed, 11 Jun 2014 07:04:16 +0000 (08:04 +0100)]
Closes #21709: Merged fix from 3.4.
Vinay Sajip [Wed, 11 Jun 2014 07:01:32 +0000 (08:01 +0100)]
Issue #21709: Remove references to __file__ when part of a frozen application.
Serhiy Storchaka [Wed, 11 Jun 2014 04:19:39 +0000 (07:19 +0300)]
PyErr_NormalizeException doesn't like being called with an exception set
(issues #21677, #21310).
Serhiy Storchaka [Wed, 11 Jun 2014 04:18:53 +0000 (07:18 +0300)]
PyErr_NormalizeException doesn't like being called with an exception set
(issues #21677, #21310).
Giampaolo Rodola' [Wed, 11 Jun 2014 01:54:30 +0000 (03:54 +0200)]
fix issue #17552: add socket.sendfile() method allowing to send a file over a socket by using high-performance os.sendfile() on UNIX. Patch by Giampaolo Rodola'·
Serhiy Storchaka [Tue, 10 Jun 2014 18:16:00 +0000 (21:16 +0300)]
Issue #18039: dbm.dump.open() now always creates a new database when the
flag has the value 'n'. Patch by Claudiu Popa.
Zachary Ware [Tue, 10 Jun 2014 17:08:20 +0000 (12:08 -0500)]
Issue #21688: Merge with 3.4
Zachary Ware [Tue, 10 Jun 2014 17:07:45 +0000 (12:07 -0500)]
Issue #21688: Give informative error message when hhc.exe cannot be found.
Initial patch by Olive Kilburn.
Victor Stinner [Tue, 10 Jun 2014 09:16:18 +0000 (11:16 +0200)]
(Merge 3.4) Issue #21596: asyncio.wait(): mention that the sequence of futures
must not be empty.
Victor Stinner [Tue, 10 Jun 2014 09:16:05 +0000 (11:16 +0200)]
Issue #21596: asyncio.wait(): mention that the sequence of futures must not
be empty.
Victor Stinner [Tue, 10 Jun 2014 08:26:38 +0000 (10:26 +0200)]
Merge 3.4
Victor Stinner [Tue, 10 Jun 2014 08:23:10 +0000 (10:23 +0200)]
Issue #21326: Add a new is_closed() method to asyncio.BaseEventLoop
Add BaseEventLoop._closed attribute and use it to check if the event loop was
closed or not, instead of checking different attributes in each subclass of
BaseEventLoop.
run_forever() and run_until_complete() methods now raise a RuntimeError('Event loop is
closed') exception if the event loop was closed.
BaseProactorEventLoop.close() now also cancels "accept futures".
Victor Stinner [Tue, 10 Jun 2014 07:21:07 +0000 (09:21 +0200)]
(Merge 3.4) Issue #21700: Fix asyncio doc, add DatagramProtocol
Victor Stinner [Tue, 10 Jun 2014 07:19:26 +0000 (09:19 +0200)]
Issue #21700: Fix asyncio doc, add DatagramProtocol
Terry Jan Reedy [Tue, 10 Jun 2014 06:49:54 +0000 (02:49 -0400)]
Merge with 3.4
Terry Jan Reedy [Tue, 10 Jun 2014 06:49:35 +0000 (02:49 -0400)]
Issue #21695: Catch AttributeError created when user closes grep output window
while still being written to. With no console, this closed Idle.
Also add missing import and a few other changes.
R David Murray [Mon, 9 Jun 2014 20:41:27 +0000 (16:41 -0400)]
Merge: #20903: clarify what happens when an smtp connection timeout occurs.
R David Murray [Mon, 9 Jun 2014 20:41:06 +0000 (16:41 -0400)]
#20903: clarify what happens when an smtp connection timeout occurs.
Patch by Milan Oberkirch.
Serhiy Storchaka [Mon, 9 Jun 2014 10:35:43 +0000 (13:35 +0300)]
Issue #21310: Fixed possible resource leak in failed open().
Serhiy Storchaka [Mon, 9 Jun 2014 10:32:34 +0000 (13:32 +0300)]
Issue #21310: Fixed possible resource leak in failed open().
Kushal Das [Mon, 9 Jun 2014 08:15:56 +0000 (13:45 +0530)]
Closes #21256: Printout of keyword args in deterministic order in mock calls.
Printout of keyword args should be in deterministic order in
a mock function call. This will help to write better doctests.
Serhiy Storchaka [Mon, 9 Jun 2014 06:15:42 +0000 (09:15 +0300)]
Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods.
Serhiy Storchaka [Mon, 9 Jun 2014 06:13:04 +0000 (09:13 +0300)]
Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods.
Nick Coghlan [Mon, 9 Jun 2014 03:30:33 +0000 (13:30 +1000)]
Issue #21569: merge from 3.4
Nick Coghlan [Mon, 9 Jun 2014 03:14:54 +0000 (13:14 +1000)]
Issue #21569: Fix incorrect cross reference
Victor Stinner [Sun, 8 Jun 2014 22:05:47 +0000 (00:05 +0200)]
Issue #21515: Fix typo in a comment, thanks Arfrever for the report
Zachary Ware [Sun, 8 Jun 2014 19:43:08 +0000 (14:43 -0500)]
Merge with 3.4
Zachary Ware [Sun, 8 Jun 2014 19:28:13 +0000 (14:28 -0500)]
Issue #21683: Add Tix build to the Windows buildbot scripts.
Terry Jan Reedy [Sun, 8 Jun 2014 18:57:42 +0000 (14:57 -0400)]
Merge with 3.4 whitespace
Terry Jan Reedy [Sun, 8 Jun 2014 18:57:24 +0000 (14:57 -0400)]
whitespace
Terry Jan Reedy [Sun, 8 Jun 2014 18:49:30 +0000 (14:49 -0400)]
Merge with 3.4
Terry Jan Reedy [Sun, 8 Jun 2014 18:49:07 +0000 (14:49 -0400)]
Merge heads.
Terry Jan Reedy [Sun, 8 Jun 2014 18:47:26 +0000 (14:47 -0400)]
Issue #21682: Replace EditorWindow with mock to eliminate memory leaks.
Patch by Saimadhav Heblikar. (2 head merge)
Benjamin Peterson [Sun, 8 Jun 2014 06:18:12 +0000 (23:18 -0700)]
backout
0fb7789b5eeb for test breakage (#20578)
Benjamin Peterson [Sun, 8 Jun 2014 03:17:29 +0000 (20:17 -0700)]
merge 3.4 (#11709)
Benjamin Peterson [Sun, 8 Jun 2014 03:14:26 +0000 (20:14 -0700)]
make sure the builtin help function doesn't fail when sys.stdin is not a valid file (closes #11709)
Original patch by Amaury Forgeot d'Arc with a test by bdettmer.
Benjamin Peterson [Sun, 8 Jun 2014 03:06:48 +0000 (20:06 -0700)]
add BufferedIOBase.readinto1 (closes #20578)
Patch by Nikolaus Rath.
Benjamin Peterson [Sun, 8 Jun 2014 00:55:53 +0000 (17:55 -0700)]
merge 3.4 (#12063)
Benjamin Peterson [Sun, 8 Jun 2014 00:47:41 +0000 (17:47 -0700)]
document TokenError and unclosed expression behavior (closes #12063)
Patch by Amandine Lee.
Benjamin Peterson [Sat, 7 Jun 2014 23:47:15 +0000 (16:47 -0700)]
merge 3.4 (#13223)
Benjamin Peterson [Sat, 7 Jun 2014 23:44:00 +0000 (16:44 -0700)]
don't remove self from example code in the HTML output (closes #13223)
Patch by Víctor Terrón.
Benjamin Peterson [Sat, 7 Jun 2014 22:09:36 +0000 (15:09 -0700)]
merge 3.4 (#21463)
Benjamin Peterson [Sat, 7 Jun 2014 22:08:04 +0000 (15:08 -0700)]
in ftp cache pruning, avoid changing the size of a dict while iterating over it (closes #21463)
Patch by Skyler Leigh Amador.
Benjamin Peterson [Sat, 7 Jun 2014 20:51:51 +0000 (13:51 -0700)]
merge 3.4 (#10503)
Benjamin Peterson [Sat, 7 Jun 2014 20:50:34 +0000 (13:50 -0700)]
specify that getuid() returns the real uid (closes #10503)
Patch by εσχατοκυριος.
Benjamin Peterson [Sat, 7 Jun 2014 19:48:09 +0000 (12:48 -0700)]
merge 3.4 (#21404)
Benjamin Peterson [Sat, 7 Jun 2014 19:45:37 +0000 (12:45 -0700)]
document the compress_level argument to tarfile.open (closes #21404)
Patch by Katherine Busch.
Benjamin Peterson [Sat, 7 Jun 2014 19:39:51 +0000 (12:39 -0700)]
merge 3.4 (#21642)
Benjamin Peterson [Sat, 7 Jun 2014 19:36:39 +0000 (12:36 -0700)]
allow the keyword else immediately after (no space) an integer (closes #21642)
Nick Coghlan [Sat, 7 Jun 2014 14:00:13 +0000 (00:00 +1000)]
Merge issue #21569 from 3.4
Nick Coghlan [Sat, 7 Jun 2014 13:43:00 +0000 (23:43 +1000)]
Issue #21569: sync Python 2.7 What's New with 2.7 version
Nick Coghlan [Sat, 7 Jun 2014 13:22:06 +0000 (23:22 +1000)]
Merge issue #21667 from 3.4
Nick Coghlan [Sat, 7 Jun 2014 13:21:14 +0000 (23:21 +1000)]
Issue #21667: Clarify string data model description
Terry Jan Reedy [Sat, 7 Jun 2014 08:28:16 +0000 (04:28 -0400)]
Merge with 3.4
Terry Jan Reedy [Sat, 7 Jun 2014 08:27:50 +0000 (04:27 -0400)]
Issue #21682: Replace EditorWindow with mock to eliminate memory leaks.
Patch by Saimadhav Heblikar.
Terry Jan Reedy [Fri, 6 Jun 2014 21:43:37 +0000 (17:43 -0400)]
Merge with 3.4
Terry Jan Reedy [Fri, 6 Jun 2014 21:43:19 +0000 (17:43 -0400)]
Issue #18910: test_textView - since all tests require 'gui', make root global.
Subclass TextViewer to add mock methods instead of monkey-patching it.
Zachary Ware [Fri, 6 Jun 2014 14:14:33 +0000 (09:14 -0500)]
Merge quote quashing.
Zachary Ware [Fri, 6 Jun 2014 14:13:18 +0000 (09:13 -0500)]
Quash extraneous quote.
Zachary Ware [Fri, 6 Jun 2014 06:27:34 +0000 (01:27 -0500)]
Issue #21671: Merge with 3.4
Zachary Ware [Fri, 6 Jun 2014 06:23:53 +0000 (01:23 -0500)]
Issue #21671, CVE-2014-0224: Update the Windows build to openssl-1.0.1h
R David Murray [Thu, 5 Jun 2014 19:32:34 +0000 (15:32 -0400)]
Merge #21662: fix typo, improve sentence flow
R David Murray [Thu, 5 Jun 2014 19:31:56 +0000 (15:31 -0400)]
#21662: fix typo, improve sentence flow
Patch by Steve Dougherty.
R David Murray [Thu, 5 Jun 2014 19:17:01 +0000 (15:17 -0400)]
Merge: #21653: fix doc for return type of sqlite3.Row.keys().
R David Murray [Thu, 5 Jun 2014 19:16:38 +0000 (15:16 -0400)]
#21653: fix doc for return type of sqlite3.Row.keys().
Zachary Ware [Thu, 5 Jun 2014 18:41:36 +0000 (13:41 -0500)]
Closes #21661: Merge typo fix.
Zachary Ware [Thu, 5 Jun 2014 18:41:06 +0000 (13:41 -0500)]
Issue #21661: Fix typo.
Zachary Ware [Thu, 5 Jun 2014 17:00:51 +0000 (12:00 -0500)]
Revert Tools/buildbot/external-common.bat to normal (with updated versions).
Zachary Ware [Thu, 5 Jun 2014 17:00:28 +0000 (12:00 -0500)]
Revert Tools/buildbot/external-common.bat to normal (with updated versions).
Zachary Ware [Thu, 5 Jun 2014 16:56:58 +0000 (11:56 -0500)]
Force a clean pull-and-build of Tcl/Tk on Windows buildbots.
Zachary Ware [Thu, 5 Jun 2014 16:56:36 +0000 (11:56 -0500)]
Force a clean pull-and-build of Tcl/Tk on Windows buildbots.
Zachary Ware [Thu, 5 Jun 2014 16:53:44 +0000 (11:53 -0500)]
Issue #21665: Don't use 'OPTS=noxp' when compiling Tk.
That option had been for Win2k compatibility (which was dropped with
Python 3.3) and makes default ttk ugly on post-Win2k systems.
Zachary Ware [Thu, 5 Jun 2014 16:44:22 +0000 (11:44 -0500)]
Clean up Tcl/Tk building in the Windows buildbot scripts.
- Nix the 'noxp' option, it was for Win2k compatibility (which was dropped
with Python 3.3) and made default ttk ugly on post-Win2k systems (#21665)
- Use 'OPTS=symbols' instead of 'DEBUG=1'; symbols is the official method
- Use core, shell, dlls, install-binaries, and install-libraries targets
instead of all and install to avoid trying to 1) build packages that don't
work with MSVC 10+ and 2) install unnecessary bits and pieces.
Victor Stinner [Thu, 5 Jun 2014 12:27:45 +0000 (14:27 +0200)]
Issue #21515: tempfile.TemporaryFile now uses os.O_TMPFILE flag is available
Victor Stinner [Thu, 5 Jun 2014 10:07:14 +0000 (12:07 +0200)]
(Merge 3.4) Tulip issue 83, Python issue #21252: Fill some XXX docstrings in asyncio