Terry Jan Reedy [Sat, 3 Oct 2015 03:22:54 +0000 (23:22 -0400)]
Issue #25224: README.txt is now an idlelib index for IDLE developers and
curious users. The previous user content is now in the IDLE doc and is
redundant. IDLE now means 'Integrated Development and Learning Environment'.
Victor Stinner [Thu, 1 Oct 2015 07:57:26 +0000 (09:57 +0200)]
Issue #25003: os.urandom() doesn't use getentropy() on Solaris because
getentropy() is blocking, whereas os.urandom() should not block. getentropy()
is supported since Solaris 11.3.
Terry Jan Reedy [Mon, 28 Sep 2015 02:46:12 +0000 (22:46 -0400)]
Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems. This also fixes a problem
with found items not highlighted on Windows. Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.
Terry Jan Reedy [Sat, 26 Sep 2015 02:22:48 +0000 (22:22 -0400)]
Issue #25173: Replace 'master' with 'parent' in tkinter.messagebox calls.
This associates the message box with the widget and is better for Mac OSX.
Patch by Mark Roseman.
Terry Jan Reedy [Fri, 25 Sep 2015 04:49:02 +0000 (00:49 -0400)]
Issue #25198: Idle doc viewer now uses user width and height setting.
The height is reduced by 3/4 to account for extra spacing between lines,
relative to an Idle editor, and extra tall header lines.
Terry Jan Reedy [Thu, 24 Sep 2015 21:31:54 +0000 (17:31 -0400)]
Issue #25198: In Idle doc viewer, fix indent of fixed-pitch <pre> text
by adding a new tag. Patch by Mark Roseman. Also give <pre> text a very
light blueish-gray background similar to that used by Sphinx html.
Terry Jan Reedy [Wed, 23 Sep 2015 02:59:35 +0000 (22:59 -0400)]
Issue #16893: Move idlelib.EditorWindow.HelpDialog deprecation warning
so it is not triggered on import. The problem is creation of a now-unused
instance "helpDialog = HelpDialog()", left for back compatibility.
So instead trigger the warning when that instance or another is used.
Terry Jan Reedy [Mon, 21 Sep 2015 05:07:54 +0000 (01:07 -0400)]
Move items from NEWS to idlelib/NEWS.txt. Standardize headers spacing: 2 lines
above "What's New and 0 lines above "Release date". Remove most old headers
for non-final releases (they currently do not get carried forward.
Terry Jan Reedy [Sun, 20 Sep 2015 23:55:44 +0000 (19:55 -0400)]
Issue #16893: Replace help.txt with idle.html for Idle doc display.
The new idlelib/idle.html is copied from Doc/build/html/idle.html.
It looks better than help.txt and will better document Idle as released.
The tkinter html viewer that works for this file was written by Rose Roseman.
The new code is in idlelib/help.py, a new file for help menu classes.
The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
Martin Panter [Sat, 12 Sep 2015 00:34:28 +0000 (00:34 +0000)]
Issue #16473: Fix byte transform codec documentation; test quotetabs=True
This changes the equivalent functions listed for the Base-64, hex and Quoted-
Printable codecs to reflect the functions actually used. Also mention and
test the "quotetabs" setting for Quoted-Printable encoding.
Martin Panter [Sat, 12 Sep 2015 02:20:06 +0000 (02:20 +0000)]
Remove and enable misplaced codecs tests ported from Python 3
Most of these tests are about blacklisted non-text codecs, which are not
relevant in Python 2. The only one remaining is TransformCodecTest.test_uu_
invalid().
Victor Stinner [Fri, 11 Sep 2015 10:42:13 +0000 (12:42 +0200)]
Issue #24684: socket.socket.getaddrinfo() now calls
PyUnicode_AsEncodedString() instead of calling the encode() method of the
host, to handle correctly custom unicode string with an encode() method which
doesn't return a byte string. The encoder of the IDNA codec is now called
directly instead of calling the encode() method of the string.
Don't encode unicode dirname in test_support.temp_cwd() if unicode file names
are supported by the filesystem. On Windows the encoding can convert some
characters to '?' that is not legal in file name.
Issue #24982: shutil.make_archive() with the "zip" format now adds entries
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
Issue #25018: Fixed testing shutil.make_archive() with relative base_name on
Windows. The test now makes sense on non-Windows. Added similar test for
zip format.