Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
93c52b03
Commit
93c52b03
authored
Oct 25, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #27025: Generated names for Tkinter widgets now start by the "!" prefix
for readability (was "`").
parent
1eecdb42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
Lib/tkinter/__init__.py
Lib/tkinter/__init__.py
+2
-2
Misc/NEWS
Misc/NEWS
+6
-0
No files found.
Lib/tkinter/__init__.py
View file @
93c52b03
...
...
@@ -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
...
...
Misc/NEWS
View file @
93c52b03
...
...
@@ -26,6 +26,9 @@ 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.
...
...
@@ -1339,6 +1342,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
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment