]>
granicus.if.org Git - python/log
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().
Zachary Ware [Mon, 2 Jun 2014 17:09:13 +0000 (12:09 -0500)]
Issue #21623: open pyproject.props with an explicit encoding
Serhiy Storchaka [Mon, 2 Jun 2014 13:51:44 +0000 (16:51 +0300)]
Issue #6181: Fixed errors in tkinter.Listbox docstrings.
Based on patch by Guilherme Polo.
Victor Stinner [Mon, 2 Jun 2014 12:41:51 +0000 (14:41 +0200)]
Issue #21636: Fix test_logging, skip UNIX stream (AF_UNIX) tests on Windows.
Patch written by Claudiu Popa.
Victor Stinner [Mon, 2 Jun 2014 12:16:44 +0000 (14:16 +0200)]
Issue #21634: Fix pystone micro-benchmark: use floor division instead of true
division to benchmark integers instead of floating point numbers. Set pystone
version to 1.2. Patch written by Lennart Regebro.
Ned Deily [Mon, 2 Jun 2014 08:05:29 +0000 (01:05 -0700)]
Issue #17095: Fix Modules/Setup *shared* support.
Original patch by Thomas Wouters.
Vinay Sajip [Sun, 1 Jun 2014 23:30:48 +0000 (00:30 +0100)]
Updated logging HOWTO section on optimization.
Gregory P. Smith [Sun, 1 Jun 2014 22:27:28 +0000 (15:27 -0700)]
Skip test_subprocess test_close_fds_when_max_fd_is_lowered on FreeBSD
when fdescfs is not mounted on /dev/fd.
Gregory P. Smith [Sun, 1 Jun 2014 22:15:44 +0000 (15:15 -0700)]
Attempt to fix the "too many open files" errors on several of the
buildbots that the new test_close_fds_when_max_fd_is_lowered test causes.
It now leaves 10 more low fd's available.
Gregory P. Smith [Sun, 1 Jun 2014 20:46:54 +0000 (13:46 -0700)]
Explicitly wait for the child instead of letting a destructor do it.
Gregory P. Smith [Sun, 1 Jun 2014 20:46:36 +0000 (13:46 -0700)]
Fix the comment to not refer to the removed end_fd parameter.
Gregory P. Smith [Sun, 1 Jun 2014 20:18:28 +0000 (13:18 -0700)]
Don't restrict ourselves to a "max" fd when closing fds before exec()
when we have a way to get an actual list of all open fds from the OS.
Fixes issue #21618: The subprocess module would ignore fds that were
inherited by the calling process and already higher than POSIX resource
limits would otherwise allow. On systems with a functioning /proc/self/fd
or /dev/fd interface the max is now ignored and all fds are closed.
Serhiy Storchaka [Sun, 1 Jun 2014 09:34:56 +0000 (12:34 +0300)]
Issue #21605: Added tests for Tkinter images.
Serhiy Storchaka [Sun, 1 Jun 2014 08:21:55 +0000 (11:21 +0300)]
Added missed calls of splitlist().
Terry Jan Reedy [Sun, 1 Jun 2014 04:30:34 +0000 (00:30 -0400)]
Issue #21477: Update htest docstring and remove extraneous differences between
2.7 and 3.4. Original patch by Saimadhav Heblikar.
Benjamin Peterson [Sat, 31 May 2014 20:16:49 +0000 (13:16 -0700)]
give the correct fixer name (closes #21604)
Ned Deily [Sat, 31 May 2014 06:46:19 +0000 (23:46 -0700)]
Issue #21572: Change license command to fallback to generic license URL.
Terry Jan Reedy [Fri, 30 May 2014 20:19:59 +0000 (16:19 -0400)]
Issue #21593: (from StackOverflow) minor doc clarification for re.search.
Vinay Sajip [Fri, 30 May 2014 17:59:27 +0000 (18:59 +0100)]
Issue #21608: Updated HTTPHandler documentation.
Serhiy Storchaka [Fri, 30 May 2014 12:54:35 +0000 (15:54 +0300)]
Test correct getXXX methods in Tkinter bigmem tests.
Tk.getint is just int, true Tk wrapper is available as Tk.tk.getint.
Serhiy Storchaka [Fri, 30 May 2014 11:24:03 +0000 (14:24 +0300)]
Issue #21552: Fixed possible integer overflow of too long string lengths in
the tkinter module on 64-bit platforms.
Serhiy Storchaka [Fri, 30 May 2014 11:07:38 +0000 (14:07 +0300)]
Add tests for getint, getdouble and getboolean methods of the tkapp object.
Gregory P. Smith [Fri, 30 May 2014 06:42:14 +0000 (23:42 -0700)]
Fix issue #14315: The zipfile module now ignores extra fields in the central
directory that are too short to be parsed instead of letting a struct.unpack
error bubble up as this "bad data" appears in many real world zip files in the
wild and is ignored by other zip tools.
Eric Snow [Thu, 29 May 2014 18:31:39 +0000 (12:31 -0600)]
Issue #21226: fix a ref leak.
Terry Jan Reedy [Thu, 29 May 2014 05:46:26 +0000 (01:46 -0400)]
Issue #21477: Add htests for GrepDialog, UndoDelegator, and configDialog.
Put instructions in a fixed size scrollable Text. Patch by Saimadhav Heblikar.
Victor Stinner [Wed, 28 May 2014 22:14:03 +0000 (00:14 +0200)]
Issue #21454: Fix asyncio.BaseEventLoop.connect_read_pipe doc
The function sets the the pipe to non-blocking mode.
Victor Stinner [Wed, 28 May 2014 22:04:57 +0000 (00:04 +0200)]
Issue #21376: document asyncio.TimeoutError
Serhiy Storchaka [Wed, 28 May 2014 15:49:52 +0000 (18:49 +0300)]
Restore performance of some dumb database methods (regression introduced by #19385).
Serhiy Storchaka [Wed, 28 May 2014 15:38:27 +0000 (18:38 +0300)]
Issue #21402: tkinter.ttk now works when default root window is not set.
Serhiy Storchaka [Wed, 28 May 2014 15:11:29 +0000 (18:11 +0300)]
Issue #21493: Added test for ntpath.expanduser(). Original patch by
Claudiu Popa.
Serhiy Storchaka [Wed, 28 May 2014 09:58:34 +0000 (12:58 +0300)]
Issue #10203: sqlite3.Row now truly supports sequence protocol. In particulr
it supports reverse() and negative indices. Original patch by Claudiu Popa.
Vinay Sajip [Wed, 28 May 2014 07:06:24 +0000 (08:06 +0100)]
Issue #18807: If copying (no symlinks) specified for a venv, then the python interpreter aliases (python, python3) are now created by copying rather than symlinking.
Andrew Svetlov [Tue, 27 May 2014 18:24:43 +0000 (21:24 +0300)]
Fix for raising exception not derived from BaseException in _SelectorSslTransport.resume_reading
Terry Jan Reedy [Tue, 27 May 2014 07:30:54 +0000 (03:30 -0400)]
Issue #21477: Add htests for Search and Replace dialogs.
Patch by Saimadhav Heblikar.
Raymond Hettinger [Tue, 27 May 2014 05:20:37 +0000 (22:20 -0700)]
Issue 21439: Minor issues in the reference manual.
(Contributed by Feliks Kluzniak.)
Benjamin Peterson [Mon, 26 May 2014 22:53:27 +0000 (15:53 -0700)]
a post 3.4.1 world
Benjamin Peterson [Mon, 26 May 2014 22:48:12 +0000 (15:48 -0700)]
grammar and sentence flow fix
Benjamin Peterson [Mon, 26 May 2014 22:45:14 +0000 (15:45 -0700)]
format reST directive in the usual way
Benjamin Peterson [Mon, 26 May 2014 22:42:29 +0000 (15:42 -0700)]
link to wikipedia description of cryptographic salt