This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients cheryl.sabella, terry.reedy
Date 2017-05-31.06:05:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
1. I prefer to not deal with ttk styles yet, unless forced, and we don't seem to be here.
2. Yes, I wanted to get rid of that useless frame as part of refactoring.
3. 'self.x = x = expr' is a semi-common idiom.  A local name is nice when there are multiple local references to the object.  Dereferencing a local name is faster than an attribute, though it may not be enough to worry about unless there is a loop.  No having so many 'self.' prefixes makes the code less cluttered and probably easier to read. The attribute is obviously needed to (directly) refer to the widget outside the method, whether in other methods of the class or outside functions such as in tests. You have probably noticed expression statements, like "Widget(parent, opt=val).grid(...), where no Python binding is kept.
Date User Action Args
2017-05-31 06:05:25terry.reedysetrecipients: + terry.reedy, cheryl.sabella
2017-05-31 06:05:25terry.reedysetmessageid: <>
2017-05-31 06:05:25terry.reedylinkissue30495 messages
2017-05-31 06:05:25terry.reedycreate