]>
granicus.if.org Git - python/log
Victor Stinner [Tue, 17 Jun 2014 21:36:21 +0000 (23:36 +0200)]
Issue #21723: asyncio.Queue: support any type of number (ex: float) for the
maximum size. Patch written by Vajrasky Kok.
Terry Jan Reedy [Tue, 17 Jun 2014 20:35:20 +0000 (16:35 -0400)]
Issue #21694: Add unittest for ParenMatch. Patch by Saimadhav Heblikar.
Benjamin Peterson [Tue, 17 Jun 2014 16:44:55 +0000 (09:44 -0700)]
add Ammar Brohi for running ssllab's test on python.org and reporting a problem
Benjamin Peterson [Tue, 17 Jun 2014 07:34:46 +0000 (00:34 -0700)]
revert tstate_delete_common, since it's pretty much wrong
Benjamin Peterson [Tue, 17 Jun 2014 06:49:02 +0000 (23:49 -0700)]
remove extra call to tstate_delete_common (merge artifact)
Benjamin Peterson [Tue, 17 Jun 2014 06:16:31 +0000 (23:16 -0700)]
merge 3.3
Benjamin Peterson [Tue, 17 Jun 2014 06:16:06 +0000 (23:16 -0700)]
merge 3.2
Benjamin Peterson [Tue, 17 Jun 2014 06:15:50 +0000 (23:15 -0700)]
expect the correct platform-dependent linesep
Benjamin Peterson [Tue, 17 Jun 2014 06:07:49 +0000 (23:07 -0700)]
avoid a deadlock with the interpreter head lock and the GIL during finalization
Benjamin Peterson [Tue, 17 Jun 2014 05:59:07 +0000 (22:59 -0700)]
check if the thread is finalizing after retaking the GIL
Terry Jan Reedy [Mon, 16 Jun 2014 23:24:29 +0000 (19:24 -0400)]
Add Idle news entries.
Terry Jan Reedy [Mon, 16 Jun 2014 23:01:01 +0000 (19:01 -0400)]
Issue #21686: add unittest for idlelib.HyperParser. Original patch by Saimadhav
Heblikar. Correct a minor 3.x bug in HyperParser discovered by testing.
Victor Stinner [Mon, 16 Jun 2014 22:26:36 +0000 (00:26 +0200)]
asyncio: Task.__repr__() now also handles CoroWrapper
Victor Stinner [Mon, 16 Jun 2014 20:48:43 +0000 (22:48 +0200)]
Issue #21773: Fix TestStdLib.test_pydoc() of test_enum. Patch written by
Claudiu Popa.
The print_diffs() function was not defined, using the assertEqual() is more
reliable.
Zachary Ware [Mon, 16 Jun 2014 16:13:01 +0000 (11:13 -0500)]
Fix typo reported by Jesse W on docs@
Victor Stinner [Mon, 16 Jun 2014 15:11:05 +0000 (17:11 +0200)]
Sync asyncio with Tulip: Fix test_tasks for Python 3.5
On Python 3.5, generator now gets their name from the function, no more from
the code. So we get the expected "notmuch" name instead of the generic "coro"
name.
Nick Coghlan [Mon, 16 Jun 2014 09:48:02 +0000 (19:48 +1000)]
Issue #21669: Special case print & exec syntax errors
Terry Jan Reedy [Mon, 16 Jun 2014 07:31:00 +0000 (03:31 -0400)]
Issue #21559: Add alternative (historical) reason for OverflowError.
Terry Jan Reedy [Mon, 16 Jun 2014 07:05:37 +0000 (03:05 -0400)]
Issue #19362: Tweek len() doc and docstring to expand the indicated range of
arguments. Original patch by Gareth Rees.
Terry Jan Reedy [Mon, 16 Jun 2014 06:40:24 +0000 (02:40 -0400)]
whitespace
Terry Jan Reedy [Mon, 16 Jun 2014 06:33:35 +0000 (02:33 -0400)]
Issue #21686: idlelib/HyperParser.py - Update docstrings and comments and
replace \ line contiuation. Tested against nearly done test_hyperparser.py.
Benjamin Peterson [Mon, 16 Jun 2014 03:51:12 +0000 (20:51 -0700)]
clarify when the list of subdirectories is read (closes #13779)
Gregory P. Smith [Mon, 16 Jun 2014 03:16:01 +0000 (20:16 -0700)]
fix a BytesWarning in my previous commit.
Gregory P. Smith [Mon, 16 Jun 2014 00:51:04 +0000 (17:51 -0700)]
Isolate the subprocess test_close_fds_when_max_fd_is_lowered test so
that the rlimit calls happens in a child process rather than the
TestCase process to attempt to fix the gentoo buildbot's "Too many
open files" error.
Raymond Hettinger [Sun, 15 Jun 2014 21:48:19 +0000 (14:48 -0700)]
Issue #21774: Fix incorrect variable in xml.dom.minidom
Benjamin Peterson [Sun, 15 Jun 2014 01:51:34 +0000 (18:51 -0700)]
document IOBase.__del__'s behavior (closes #21764)
Patch from Nikolaus Rath.
Benjamin Peterson [Sun, 15 Jun 2014 01:41:13 +0000 (18:41 -0700)]
merge 3.3 (#21766)
Benjamin Peterson [Sun, 15 Jun 2014 01:40:10 +0000 (18:40 -0700)]
merge 3.2 (#21766)
Benjamin Peterson [Sun, 15 Jun 2014 01:36:29 +0000 (18:36 -0700)]
url unquote the path before checking if it refers to a CGI script (closes #21766)
Vinay Sajip [Sat, 14 Jun 2014 09:22:05 +0000 (10:22 +0100)]
Issue #21742: Set stream to None after closing.
Vinay Sajip [Sat, 14 Jun 2014 08:26:26 +0000 (09:26 +0100)]
Issue #21752: Documented change to behaviour of logging.getLevelName().
Terry Jan Reedy [Fri, 13 Jun 2014 19:20:45 +0000 (15:20 -0400)]
Issue #21730: Add no-thread skip in test_socket. Patch by Berker Peksag.
Terry Jan Reedy [Fri, 13 Jun 2014 18:57:51 +0000 (14:57 -0400)]
Issue #21726: Remove unnecessary and contextually wrong line.
Zachary Ware [Fri, 13 Jun 2014 18:44:39 +0000 (13:44 -0500)]
Issue #19493: Refactor ctypes test package.
Skipped tests are now marked as skipped, formerly commented-out or
renamed-so-it-doesn't-look-like-a-test tests are uncommented, properly named,
and unconditionally skipped, some tests that simply didn't run before
are now able to run, and a few are split into multiple methods instead of
skipping via 'return' in the middle of a method. Also, a couple of unused
files are removed completely.
Terry Jan Reedy [Fri, 13 Jun 2014 18:23:43 +0000 (14:23 -0400)]
Issue #20043: Add direct test for _thread.
Zachary Ware [Fri, 13 Jun 2014 14:43:15 +0000 (09:43 -0500)]
Per Martin [1], PGO is no longer used for official releases.
[1] https://mail.python.org/pipermail/python-dev/2014-June/135018.html
Zachary Ware [Fri, 13 Jun 2014 14:38:50 +0000 (09:38 -0500)]
Issue #21745: Mention VS2010 SP1 as a solution for LNK1123 errors
Victor Stinner [Fri, 13 Jun 2014 12:58:48 +0000 (14:58 +0200)]
Issue #16136: VMSError is done, bye bye VMS
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: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: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.
Zachary Ware [Wed, 11 Jun 2014 20:27:04 +0000 (15:27 -0500)]
Issue #21713: Fix typo in a comment. Found by Joseph Shen.
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:31:29 +0000 (04:31 -0700)]
Issue #21629: Fix Argument Clinic's "--converters" feature.
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:18:53 +0000 (07:18 +0300)]
PyErr_NormalizeException doesn't like being called with an exception set
(issues #21677, #21310).
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: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: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:19:26 +0000 (09:19 +0200)]
Issue #21700: Fix asyncio doc, add DatagramProtocol
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: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:32:34 +0000 (13:32 +0300)]
Issue #21310: Fixed possible resource leak in failed open().
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:14:54 +0000 (13:14 +1000)]
Issue #21569: Fix incorrect cross reference
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:24 +0000 (14:57 -0400)]
whitespace
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 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 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: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: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:50:34 +0000 (13:50 -0700)]
specify that getuid() returns the real uid (closes #10503)
Patch by εσχατοκυριος.
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:36:39 +0000 (12:36 -0700)]
allow the keyword else immediately after (no space) an integer (closes #21642)
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:21:14 +0000 (23:21 +1000)]
Issue #21667: Clarify string data model description
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: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:13:18 +0000 (09:13 -0500)]
Quash extraneous quote.
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:31:56 +0000 (15:31 -0400)]
#21662: fix typo, improve sentence flow
Patch by Steve Dougherty.
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:06 +0000 (13:41 -0500)]
Issue #21661: Fix typo.
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:36 +0000 (11:56 -0500)]
Force a clean pull-and-build of Tcl/Tk on Windows buildbots.
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 10:06:44 +0000 (12:06 +0200)]
Tulip issue 83, Python issue #21252: Fill some XXX docstrings in asyncio
Vinay Sajip [Thu, 5 Jun 2014 08:31:20 +0000 (09:31 +0100)]
Issue #21663: Fixed error caused by trying to create an existing directory.
Terry Jan Reedy [Thu, 5 Jun 2014 07:54:02 +0000 (03:54 -0400)]
whitespace
Terry Jan Reedy [Thu, 5 Jun 2014 07:38:34 +0000 (03:38 -0400)]
Issue #18910: Add unittest for textView. Patch by Phil Webster.
Terry Jan Reedy [Thu, 5 Jun 2014 01:01:08 +0000 (21:01 -0400)]
Merge heads.
Terry Jan Reedy [Thu, 5 Jun 2014 00:50:59 +0000 (20:50 -0400)]
Issue #18292: Idle - test AutoExpand. Patch by Saihadhav Heblikar.
Barry Warsaw [Wed, 4 Jun 2014 18:11:46 +0000 (14:11 -0400)]
Don't chmod() if path is a symlink.
Terry Jan Reedy [Wed, 4 Jun 2014 00:54:21 +0000 (20:54 -0400)]
Issue #18409: Idle: add unittest for AutoComplete. Patch by Phil Webster.
Victor Stinner [Tue, 3 Jun 2014 22:42:04 +0000 (00:42 +0200)]
Fix asyncio tests on Windows: wait for the subprocess exit
Before, regrtest failed to remove the temporary test directory because the
process was still running in this directory.
Victor Stinner [Tue, 3 Jun 2014 22:23:26 +0000 (00:23 +0200)]
Issue #21651: Fix ResourceWarning when running asyncio tests on Windows.
Patch written by Claudiu Popa.
Victor Stinner [Tue, 3 Jun 2014 22:18:41 +0000 (00:18 +0200)]
cleanup test_asyncio/test_base_events.py: cm variable was unused
Victor Stinner [Tue, 3 Jun 2014 22:12:28 +0000 (00:12 +0200)]
Issue #21119: asyncio: Make sure that socketpair() close sockets on error
Close the listening socket if sock.bind() raises an exception.
Victor Stinner [Tue, 3 Jun 2014 22:11:52 +0000 (00:11 +0200)]
Issue #21119: asyncio now closes sockets on errors
Fix ResourceWarning: create_connection(), create_datagram_endpoint() and
create_unix_server() methods of event loop now close the newly created socket
on error.
Vinay Sajip [Tue, 3 Jun 2014 15:47:51 +0000 (16:47 +0100)]
Issue #21643: Updated test and fixed logic bug in lib64 symlink creation.
Zachary Ware [Tue, 3 Jun 2014 14:32:40 +0000 (09:32 -0500)]
Issue #21439: Fix a couple of typos.
Senthil Kumaran [Tue, 3 Jun 2014 14:24:54 +0000 (07:24 -0700)]
Fix issue #21641: Close the socket before raising the SMTPResponseException. Fixes the ResourceWarning in the test run.
Patch by Claudiu.Popa.
Senthil Kumaran [Tue, 3 Jun 2014 05:58:13 +0000 (22:58 -0700)]
Update references to Python docs in the sidebar index.
Patch contributed by Auke Willem Oosterhoff.
Terry Jan Reedy [Tue, 3 Jun 2014 00:42:56 +0000 (20:42 -0400)]
Issue 21533: Dicts take iterables, not iterators. Patch by Wolfgang Maier.
Victor Stinner [Mon, 2 Jun 2014 21:06:46 +0000 (23:06 +0200)]
Issue #21601: Document asyncio.Task.cancel(). Initial patch written by Vajrasky
Kok.
Zachary Ware [Mon, 2 Jun 2014 21:01:29 +0000 (16:01 -0500)]
Issue #18492: Allow all resources when tests are not run by regrtest.py.
This changeset also includes cleanup allowed by this behavior change.
Victor Stinner [Mon, 2 Jun 2014 19:36:59 +0000 (21:36 +0200)]
Issue #21639: Add a test to check that PyMem_Malloc(0) with tracemalloc enabled
does not crash.
Victor Stinner [Mon, 2 Jun 2014 19:29:07 +0000 (21:29 +0200)]
Issue #21639: Fix name of _testcapi test functions
Serhiy Storchaka [Mon, 2 Jun 2014 18:31:07 +0000 (21:31 +0300)]
Issue #6181: Fixed minor bugs in tkinter.Listbox methods:
bbox(), curselection() and get().