Victor Stinner [Wed, 22 Jan 2014 11:26:01 +0000 (12:26 +0100)]
asyncio: Cleanup logging in BaseEventLoop._run_once()
logger.log() is now responsible to format the timeout. It might be faster if
the log is disabled for DEBUG level, but it's also more readable and fix
an issue with Python 2.6 in the Trollius project.
Larry Hastings [Wed, 22 Jan 2014 11:05:49 +0000 (03:05 -0800)]
Two minor Argument Clinic bugfixes: use the name of the class in the
docstring for __new__ and __init__, and always use "goto exit" instead of
returning "NULL" for failure to parse (as _new__ and __init__ return ints).
Terry Jan Reedy [Wed, 22 Jan 2014 02:12:24 +0000 (21:12 -0500)]
Issue #20818: Remove code from idlelib.CallTipWindow.showtip that is now
completely redundant. After 16638 patch, CallTips.get_argspec trims over-long
signature strings as well as docstring lines.
Terry Jan Reedy [Wed, 22 Jan 2014 01:45:17 +0000 (20:45 -0500)]
Issue #16638: Include up to 5 docstring header lines (before first blank) in
Idle calltips. This is needed for builtins, such bytes (which is why 5).
Based on patch by Serhiy Storchaka.
Serhiy Storchaka [Tue, 21 Jan 2014 20:29:47 +0000 (22:29 +0200)]
Issue #2382: SyntaxError cursor "^" now is written at correct position in most
cases when multibyte characters are in line (before "^"). This still not
works correctly with wide East Asian characters.
Serhiy Storchaka [Tue, 21 Jan 2014 20:26:52 +0000 (22:26 +0200)]
Issue #2382: SyntaxError cursor "^" now is written at correct position in most
cases when multibyte characters are in line (before "^"). This still not
works correctly with wide East Asian characters.
Victor Stinner [Tue, 21 Jan 2014 20:00:47 +0000 (21:00 +0100)]
Issue #20311: EpollSelector now also rounds the timeout towards zero, as
PollSelector.
This change is not really required in Python 3.4, since select.epoll.poll() now
rounds also correctly the timeout. But Guido van Rossum prefers to have exactly
the same selectors.py file in CPython and Tulip projects: "it's not harmful".
Zachary Ware [Tue, 21 Jan 2014 19:49:22 +0000 (13:49 -0600)]
Issue #20301: Mention the correct KEY_* value as the default
for 'access' in winreg.DeleteKeyEx. Already correct in the docs
function signature and docstring. Noticed by Justin Foo.
Terry Jan Reedy [Tue, 21 Jan 2014 08:10:01 +0000 (03:10 -0500)]
Issue #16655: Explain why Idle's test_calltips has 'fragile' tests of builtins.
Pending Clinic/inspect changes will probably require change to this file.
Victor Stinner [Tue, 21 Jan 2014 00:48:28 +0000 (01:48 +0100)]
Issue #20311: selector.PollSelector.select() now rounds the timeout away from
zero, instead of rounding towards zero. For example, a timeout of one
microsecond is now rounded to one millisecond, instead of being rounded to
zero.
Move also a test in test_epoll which was moved by my previous merge.
Victor Stinner [Tue, 21 Jan 2014 00:42:11 +0000 (01:42 +0100)]
(Merge 3.3) Issue #20311: select.epoll.poll() now rounds the timeout away from
zero, instead of rounding towards zero. For example, a timeout of one
microsecond is now rounded to one millisecond, instead of being rounded to
zero.
Victor Stinner [Tue, 21 Jan 2014 00:41:00 +0000 (01:41 +0100)]
Issue #20311: select.epoll.poll() now rounds the timeout away from zero,
instead of rounding towards zero. For example, a timeout of one microsecond is
now rounded to one millisecond, instead of being rounded to zero.
Victor Stinner [Mon, 20 Jan 2014 22:56:40 +0000 (23:56 +0100)]
Close #20275: Optimize BaseEventLoop._run_once()
Logger.log() is "slow", logger.isEnabledFor() is faster and the logger is
disabled in most cases. A microbenchmark executing 100,000 dummy tasks is 22%
faster with this change.
Serhiy Storchaka [Mon, 20 Jan 2014 19:35:06 +0000 (21:35 +0200)]
Issue #20315: Removed support for backward compatibility with early 2.x versions.
Removed backward compatibility alias curses.window.nooutrefresh which should
be removed in 2.3.
R David Murray [Sat, 18 Jan 2014 19:56:10 +0000 (14:56 -0500)]
#19855: restore use of LC_ALL, not LC_MESSAGES
I didn't realize LC_ALL was an override, and I should have. I tried to
make a test, but it is not clear that the LC variables actually affect
the strings that uuid is using to parse the command output.
Zachary Ware [Fri, 17 Jan 2014 21:23:42 +0000 (15:23 -0600)]
Issue #20265: Updated some parts of the Using Windows document.
Includes:
-mention cx_Freeze instead of py2exe (at least until py2exe supports Python 3)
-update ActivePython link
-Remove mention of platforms that were never supported by Python 3 (Win9x, DOS)