diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-25 09:46:46 +0300 | 
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-25 09:46:46 +0300 | 
| commit | e402312499a04032e998ef4e280e51f8bb1ebb9b (patch) | |
| tree | a5c01f9108c50386e61583c29aab4815ff0b4cc6 | |
| parent | 42bcbf76f7a03610e610e48866e6fe85f403f0b9 (diff) | |
| parent | b1f52879528283483b26a11b24b306c90db1169d (diff) | |
| download | cpython-git-e402312499a04032e998ef4e280e51f8bb1ebb9b.tar.gz | |
Issue #27025: Generated names for Tkinter widgets now start by the "!" prefix
for readability (was "`").
| -rw-r--r-- | Lib/tkinter/__init__.py | 4 | ||||
| -rw-r--r-- | Misc/NEWS | 28 | 
2 files changed, 19 insertions, 13 deletions
| diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py index 99ad2a7c01..25fe645a93 100644 --- a/Lib/tkinter/__init__.py +++ b/Lib/tkinter/__init__.py @@ -2261,9 +2261,9 @@ class BaseWidget(Misc):              count = master._last_child_ids.get(name, 0) + 1              master._last_child_ids[name] = count              if count == 1: -                name = '`%s' % (name,) +                name = '!%s' % (name,)              else: -                name = '`%s%d' % (name, count) +                name = '!%s%d' % (name, count)          self._name = name          if master._w=='.':              self._w = '.' + name @@ -19,17 +19,6 @@ Core and Builtins  - Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception    loss in PyTraceBack_Here(). -- Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addin -  a workaround to Tix library bug. - -- Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive. - -- Issue #25953: re.sub() now raises an error for invalid numerical group -  reference in replacement template even if the pattern is not found in -  the string.  Error message for invalid group reference now includes the -  group index and the position of the reference. -  Based on patch by SilentGhost. -  - Issue #28183: Optimize and cleanup dict iteration.  - Issue #26081: Added C implementation of asyncio.Future. @@ -105,6 +94,20 @@ Core and Builtins  Library  ------- +- Issue #27025: Generated names for Tkinter widgets now start by the "!" prefix +  for readability (was "`"). + +- Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addin +  a workaround to Tix library bug. + +- Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive. + +- Issue #25953: re.sub() now raises an error for invalid numerical group +  reference in replacement template even if the pattern is not found in +  the string.  Error message for invalid group reference now includes the +  group index and the position of the reference. +  Based on patch by SilentGhost. +  - Issue #28469: timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead    of 1, 10, 100,... for autoranging. @@ -1364,6 +1367,9 @@ Library    exposed on the API which are not implemented on GNU/Hurd. They would not    work at runtime anyway. +- Issue #27025: Generated names for Tkinter widgets are now more meanful +  and recognizirable. +  - Issue #25455: Fixed crashes in repr of recursive ElementTree.Element and    functools.partial objects. | 
