- Issue #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.
-
Documentation
-------------
mapping such that any type with a __getitem__ can be used on the right hand
side.
-Library
--------
+IDLE
+----
- Issue #17625: In IDLE, close the replace dialog after it is used.
+Tests
+-----
+
- Issue #17531: Fix tests that thought group and user ids were always the int
type. Also, always allow -1 as a valid group and user id.
- Issue #15604: Update uses of PyObject_IsTrue() to check for and handle
errors correctly. Patch by Serhiy Storchaka.
-- Issue #15041: Update "see also" list in tkinter documentation.
-
- Issue #14579: Fix error handling bug in the utf-16 decoder. Patch by
Serhiy Storchaka.
- Issue #12718: Fix interaction with winpdb overriding __import__ by setting
importer attribute on BaseConfigurator instance.
-
+
- Issue #17521: Corrected non-enabling of logger following two calls to
fileConfig().
- Issue #6975: os.path.realpath() now correctly resolves multiple nested
symlinks on POSIX platforms.
-- Issue #17156: pygettext.py now correctly escapes non-ascii characters.
-
- Issue #7358: cStringIO.StringIO now supports writing to and reading from
a stream larger than 2 GiB on 64-bit systems.
-- IDLE was displaying spurious SystemExit tracebacks when running scripts
- that terminated by raising SystemExit (i.e. unittest and turtledemo).
-
- Issue #10355: In SpooledTemporaryFile class mode and name properties and
xreadlines method now work for unrolled files. encoding and newlines
properties now removed as they have no sense and always produced
- Issue #17051: Fix a memory leak in os.path.isdir() on Windows. Patch by
Robert Xiao.
-- Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
- interface and support all mandatory methods and properties.
-
- Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.
- Issue #9720: zipfile now writes correct local headers for files larger than
4 GiB.
-- Issue #16829: IDLE printing no longer fails if there are spaces or other
- special characters in the file path.
-
- Issue #13899: \A, \Z, and \B now correctly match the A, Z, and B literals
when used inside character classes (e.g. '[\A]'). Patch by Matthew Barnett.
- Issue #16828: Fix error incorrectly raised by bz2.compress(''). Patch by
Martin Packman.
-- Issue #16819: IDLE method completion now correctly works for unicode literals.
-
- Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.
- Issue #10527: make multiprocessing use poll() instead of select() if available.
- Issue #12065: connect_ex() on an SSL socket now returns the original errno
when the socket's timeout expires (it used to return None).
-- Issue #16504: IDLE now catches SyntaxErrors raised by tokenizer. Patch by
- Roger Serwy.
-
-- Issue #16702: test_urllib2_localnet tests now correctly ignores proxies for
- localhost tests.
-
- Issue #16713: Fix the parsing of tel url with params using urlparse module.
- Issue #16443: Add docstrings to regular expression match objects.
list() calls aren't added to filter(), map(), and zip() which are directly
passed enumerate().
-- Issue #16476: Fix json.tool to avoid including trailing whitespace.
-
- Issue #1160: Fix compiling large regular expressions on UCS2 builds.
Patch by Serhiy Storchaka.
- Issue #16152: fix tokenize to ignore whitespace at the end of the code when
no newline is found. Patch by Ned Batchelder.
-- Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
- Patch by Todd Rovito.
-
- Issue #16230: Fix a crash in select.select() when one the lists changes
size while iterated on. Patch by Serhiy Storchaka.
- Issue #15424: Add a __sizeof__ implementation for array objects.
Patch by Ludwig Hähne.
-- Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog
- ended with '\'. Patch by Roger Serwy.
-
- Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo()
emulation code. Patch by Philipp Hagemeister.
-- Issue #9803: Don't close IDLE on saving if breakpoint is open.
- Patch by Roger Serwy.
-
- Issue #12288: Consider '0' and '0.0' as valid initialvalue
for tkinter SimpleDialog.
- Issue #12157: Make pool.map() empty iterables correctly. Initial
patch by mouad.
-- Issue #14958: Change IDLE systax highlighting to recognize all string and byte
- literals currently supported in Python 2.7.
-
-- Issue #14962: Update text coloring in IDLE shell window after changing
- options. Patch by Roger Serwy.
-
-- Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu.
-
-- Issue #12510: Attempting to get invalid tooltip no longer closes Idle.
- Original patch by Roger Serwy.
-
-- Issue #10365: File open dialog now works instead of crashing
- even when parent window is closed. Patch by Roger Serwy.
-
-- Issue #14876: Use user-selected font for highlight configuration.
- Patch by Roger Serwy.
-
- Issue #14036: Add an additional check to validate that port in urlparse does
not go in illegal range and returns None.
returned. This avoids crashing the server loop when a signal is received.
Patch by Jerzy Kozera.
-- Issue #14409: IDLE now properly executes commands in the Shell window
- when it cannot read the normal config files on startup and
- has to use the built-in default key bindings.
- There was previously a bug in one of the defaults.
-
- Issue #10340: asyncore - properly handle EINVAL in dispatcher constructor on
OSX; avoid to call handle_connect in case of a disconnected socket which
was not meant to connect.
- Issue #12757: Fix the skipping of doctests when python is run with -OO so
that it works in unittest's verbose mode as well as non-verbose mode.
-- Issue #3573: IDLE hangs when passing invalid command line args
- (directory(ies) instead of file(s)) (Patch by Guilherme Polo)
-
- Issue #13694: asynchronous connect in asyncore.dispatcher does not set addr
attribute.
- Issue #11199: Fix the with urllib which hangs on particular ftp urls.
-- Issue #5219: Prevent event handler cascade in IDLE.
-
- Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under
Windows when the child process has already exited.
- Issue #2945: Make the distutils upload command aware of bdist_rpm products.
-- Issue #13447: Add a test file to host regression tests for bugs in the
- scripts found in the Tools directory.
-
- Issue #6884: Fix long-standing bugs with MANIFEST.in parsing in distutils
on Windows.
and problematic Apple llvm-gcc compiler. If original compiler
is not available, use clang instead by default.
+IDLE
+----
+
+- IDLE was displaying spurious SystemExit tracebacks when running scripts
+ that terminated by raising SystemExit (i.e. unittest and turtledemo).
+
+- Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase
+ interface and support all mandatory methods and properties.
+
+- Issue #16829: IDLE printing no longer fails if there are spaces or other
+ special characters in the file path.
+
+- Issue #16819: IDLE method completion now correctly works for unicode literals.
+
+- Issue #16504: IDLE now catches SyntaxErrors raised by tokenizer. Patch by
+ Roger Serwy.
+
+- Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
+ Patch by Todd Rovito.
+
+- Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog
+ ended with '\'. Patch by Roger Serwy.
+
+- Issue #9803: Don't close IDLE on saving if breakpoint is open.
+ Patch by Roger Serwy.
+
+- Issue #14958: Change IDLE systax highlighting to recognize all string and byte
+ literals currently supported in Python 2.7.
+
+- Issue #14962: Update text coloring in IDLE shell window after changing
+ options. Patch by Roger Serwy.
+
+- Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu.
+
+- Issue #12510: Attempting to get invalid tooltip no longer closes IDLE.
+ Original patch by Roger Serwy.
+
+- Issue #10365: File open dialog now works instead of crashing
+ even when parent window is closed. Patch by Roger Serwy.
+
+- Issue #14876: Use user-selected font for highlight configuration.
+ Patch by Roger Serwy.
+
+- Issue #14409: IDLE now properly executes commands in the Shell window
+ when it cannot read the normal config files on startup and
+ has to use the built-in default key bindings.
+ There was previously a bug in one of the defaults.
+
+- Issue #3573: IDLE hangs when passing invalid command line args
+ (directory(ies) instead of file(s)) (Patch by Guilherme Polo)
+
+- Issue #5219: Prevent event handler cascade in IDLE.
+
Tests
-----
+- Issue #16702: test_urllib2_localnet tests now correctly ignores proxies for
+ localhost tests.
+
+- Issue #13447: Add a test file to host regression tests for bugs in the
+ scripts found in the Tools directory.
+
- Issue #11420: make test suite pass with -B/DONTWRITEBYTECODE set.
Initial patch by Thomas Wouters.
Tools/Demos
-----------
+- Issue #17156: pygettext.py now correctly escapes non-ascii characters.
+
- Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py. Now
pindent.py works with a "with" statement. pindent.py no longer produces
improper indentation. pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line.
+- Issue #16476: Fix json.tool to avoid including trailing whitespace.
+
- Issue #13301: use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py
Patch by Serhiy Storchaka.
Documentation
-------------
+- Issue #15041: Update "see also" list in tkinter documentation.
+
- Issue #17412: update 2.7 Doc/make.bat to also use sphinx-1.0.7.
- Issue #17047: remove doubled words in docs and docstrings
- Issue #10811: Fix recursive usage of cursors. Instead of crashing,
raise a ProgrammingError now.
-- Issue #10881: Fix test_site failures with OS X framework builds.
-
-- Issue #964437 Make IDLE help window non-modal.
- Patch by Guilherme Polo and Roger Serwy.
-
-- Issue #13933: IDLE auto-complete did not work with some imported
- module, like hashlib. (Patch by Roger Serwy)
-
-- Issue #13901: Prevent test_distutils failures on OS X with --enable-shared.
-
- Issue #13676: Handle strings with embedded zeros correctly in sqlite3.
-- Issue #13506: Add '' to path for IDLE Shell when started and restarted with Restart Shell.
- Original patches by Marco Scataglini and Roger Serwy.
-
- Issue #13806: The size check in audioop decompression functions was too
strict and could reject valid compressed data. Patch by Oleg Plakhotnyuk.
- Issue #8035: urllib: Fix a bug where the client could remain stuck after a
redirection or an error.
-- Issue #4625: If IDLE cannot write to its recent file or breakpoint
- files, display a message popup and continue rather than crash.
- (original patch by Roger Serwy)
-
- tarfile.py: Correctly detect bzip2 compressed streams with blocksizes
other than 900k.
node when it is the only child of an element. Initial patch by Dan
Kenigsberg.
-- Issue #8793: Prevent IDLE crash when given strings with invalid hex escape
- sequences.
-
- Issues #1745761, #755670, #13357, #12629, #1200313: HTMLParser now correctly
handles non-valid attributes, including adjacent and unquoted attributes.
- Issue #10817: Fix urlretrieve function to raise ContentTooShortError even
when reporthook is None. Patch by Jyrki Pulliainen.
-- Issue #13296: Fix IDLE to clear compile __future__ flags on shell restart.
- (Patch by Roger Serwy)
-
- Issue #7334: close source files on ElementTree.parse and iterparse.
- Issue #13232: logging: Improved logging of exceptions in the presence of
signature. Without this, architectures where sizeof void* != sizeof int are
broken. Patch given by Hallvard B Furuseth.
+IDLE
+----
+
+- Issue #964437 Make IDLE help window non-modal.
+ Patch by Guilherme Polo and Roger Serwy.
+
+- Issue #13933: IDLE auto-complete did not work with some imported
+ module, like hashlib. (Patch by Roger Serwy)
+
+- Issue #13506: Add '' to path for IDLE Shell when started and restarted with Restart Shell.
+ Original patches by Marco Scataglini and Roger Serwy.
+
+- Issue #4625: If IDLE cannot write to its recent file or breakpoint
+ files, display a message popup and continue rather than crash.
+ (original patch by Roger Serwy)
+
+- Issue #8793: Prevent IDLE crash when given strings with invalid hex escape
+ sequences.
+
+- Issue #13296: Fix IDLE to clear compile __future__ flags on shell restart.
+ (Patch by Roger Serwy)
+
Build
-----
- Issue #11689: Fix a variable scoping error in an sqlite3 test.
Initial patch by Torsten Landschoff.
+- Issue #10881: Fix test_site failures with OS X framework builds.
+
+- Issue #13901: Prevent test_distutils failures on OS X with --enable-shared.
+
- Issue #13304: Skip test case if user site-packages disabled (-s or
PYTHONNOUSERSITE). (Patch by Carl Meyer)
Library
-------
-- Issue #12590: IDLE editor window now always displays the first line
- when opening a long file. With Tk 8.5, the first line was hidden.
-
- Issue #12161: Cause StringIO.getvalue() to raise a ValueError when used on a
closed StringIO instance.
- Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore
to be able to unload the module.
-- Issue #11088: don't crash when using F5 to run a script in IDLE on MacOSX
- with Tk 8.5.
-
- Issue #10154, #10090: change the normalization of UTF-8 to "UTF-8" instead
of "UTF8" in the locale module as the latter is not supported MacOSX and OpenBSD.
- Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional.
-- Issue #11164: Remove obsolete allnodes test from minidom test.
-
- Issue #11927: SMTP_SSL now uses port 465 by default as documented. Patch
by Kasun Herath.
- Issue #8275: Fix passing of callback arguments with ctypes under Win64.
Patch by Stan Mihai.
-- Issue #10940: Workaround an IDLE hang on Mac OS X 10.6 when using the
- menu accelerators for Open Module, Go to Line, and New Indent Width.
- The accelerators still work but no longer appear in the menu items.
-
-- Issue #10907: Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5, rather
- than the currently problematic Apple-supplied one, when running with the
- 64-/32-bit installer variant.
-
-- Issue #11052: Correct IDLE menu accelerators on Mac OS X for Save
- commands.
-
- Issue #10949: Improved robustness of rotating file handlers.
- Issue #10955: Fix a potential crash when trying to mmap() a file past its
- Issue #10898: Allow compiling the posix module when the C library defines
a symbol named FSTAT.
-- Issue #6075: IDLE on Mac OS X now works with both Carbon AquaTk and
- Cocoa AquaTk.
-
- Issue #10916: mmap should not segfault when a file is mapped using 0 as
length and a non-zero offset, and an attempt to read past the end of file
is made (IndexError is raised instead). Patch by Ross Lagerwall.
- Issue #6791: Limit header line length (to 65535 bytes) in http.client,
to avoid denial of services from the other party.
-- Issue #10404: Use ctl-button-1 on OSX for the context menu in Idle.
-
- Issue #9907: Fix tab handling on OSX when using editline by calling
rl_initialize first, then setting our custom defaults, then reading .editrc.
- Issue #10695: passing the port as a string value to telnetlib no longer
causes debug mode to fail.
-- Issue #10107: Warn about unsaved files in IDLE on OSX.
-
-- Issue #10406: Enable Rstrip IDLE extension on OSX (just like on other
- platforms).
-
- Issue #10478: Reentrant calls inside buffered IO objects (for example by
way of a signal handler) now raise a RuntimeError instead of freezing the
current process.
- Issue #678250: Make mmap flush a noop on ACCESS_READ and ACCESS_COPY.
+IDLE
+----
+
+- Issue #11718: IDLE's open module dialog couldn't find the __init__.py
+ file in a package.
+
+- Issue #12590: IDLE editor window now always displays the first line
+ when opening a long file. With Tk 8.5, the first line was hidden.
+
+- Issue #11088: don't crash when using F5 to run a script in IDLE on MacOSX
+ with Tk 8.5.
+
+- Issue #10940: Workaround an IDLE hang on Mac OS X 10.6 when using the
+ menu accelerators for Open Module, Go to Line, and New Indent Width.
+ The accelerators still work but no longer appear in the menu items.
+
+- Issue #10907: Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5, rather
+ than the currently problematic Apple-supplied one, when running with the
+ 64-/32-bit installer variant.
+
+- Issue #11052: Correct IDLE menu accelerators on Mac OS X for Save
+ commands.
+
+- Issue #6075: IDLE on Mac OS X now works with both Carbon AquaTk and
+ Cocoa AquaTk.
+
+- Issue #10404: Use ctl-button-1 on OSX for the context menu in Idle.
+
+- Issue #10107: Warn about unsaved files in IDLE on OSX.
+
+- Issue #10406: Enable Rstrip IDLE extension on OSX (just like on other
+ platforms).
+
Build
-----
- Issue #1099: Fix the build on MacOSX when building a framework with pydebug
using GCC 4.0.
-IDLE
-----
-
-- Issue #11718: IDLE's open module dialog couldn't find the __init__.py
- file in a package.
-
Tests
-----
+- Issue #11164: Remove obsolete allnodes test from minidom test.
+
- Issue #12205: Fix test_subprocess failure due to uninstalled test data.
- Issue #5723: Improve json tests to be executed with and without accelerations.
- Issue #4493: urllib2 adds '/' in front of path components which does not
start with '/. Common behavior exhibited by browsers and other clients.
-- Issue #6378: idle.bat now runs with the appropriate Python version rather than
- the system default. Patch by Sridhar Ratnakumar.
-
- Issue #10407: Fix one NameError in distutils.
- Issue #10198: fix duplicate header written to wave files when writeframes()
- Issue #5111: IPv6 Host in the Header is wrapped inside [ ]. Patch by Chandru.
+IDLE
+----
+
+- Issue #6378: idle.bat now runs with the appropriate Python version rather than
+ the system default. Patch by Sridhar Ratnakumar.
+
Build
-----
- Issue #6048: Now Distutils uses the tarfile module in archive_util.
-- Issue #5150: IDLE's format menu now has an option to strip trailing
- whitespace.
-
- Issue #6121: pydoc now ignores leading and trailing spaces in the argument to
the 'help' function.
- Windows locale mapping updated to Vista.
+IDLE
+----
+
+- Issue #5150: IDLE's format menu now has an option to strip trailing
+ whitespace.
+
+- Issue #5847: Remove -n switch on "Edit with IDLE" menu item.
+
Tools/Demos
-----------
- Issue #6094: Build correctly with Subversion 1.7.
-- Issue #5847: Remove -n switch on "Edit with IDLE" menu item.
-
- Issue #5726: Make Modules/ld_so_aix return the actual exit code of the linker,
rather than always exit successfully. Patch by Floris Bruynooghe.
Allows the demo2 function to be executed on its own instead of only
when the module is run as a script.
-- Bug #813342: Start the IDLE subprocess with -Qnew if the parent is
- started with that option.
-
- Bug #1565150: Fix subsecond processing for os.utime on Windows.
- Support for MSVC 8 was added to bdist_wininst.
- Bug #1531862: Do not close standard file descriptors in subprocess.
-- idle: Honor the "Cancel" action in the save dialog (Debian bug
- #299092).
-
- Fix utf-8-sig incremental decoder, which didn't recognise a BOM when
the first chunk fed to the decoder started with a BOM, but was
longer than 3 bytes.
- The sqlite3 module was updated to pysqlite 2.4.1.
+IDLE
+----
+
+- Bug #813342: Start the IDLE subprocess with -Qnew if the parent is
+ started with that option.
+
+- IDLE: Honor the "Cancel" action in the save dialog (Debian bug
+ #299092).
+
Tests
-----