[New-bugs-announce] [issue22065] Update turtledemo menu creation

Terry J. Reedy report at bugs.python.org
Fri Jul 25 09:45:42 CEST 2014


New submission from Terry J. Reedy:

On #22061, Serhiy Storchaka posted turtledemo_menu.patch, which is unrelated to that issue. Issues in that patch.
* It mistakenly includes the tkinter_restore_empty_methods.patch that does belongs to 22061.
* It will not apply any more, especially to 3.4 as it is now.
* Removing the gridding of the Menu seems like a mistake, or else the rest of the grid code should be revised.  I will test this.

Serhiy claims the patch "replaces obsolete and non-working menu creation code by modernized code. Now menu should be correctly displayed on MacOS."

'Obsolete' is correct' The current code uses Menubutton, "obsolete since Tk8.0". Updating, even for 2.7, would probably be a good idea.

As for 'non-working': the current code works on Windows, but I have no idea on Linux or Mac. Can either of you comment?  I certainly would want an updated patch tested on more than Windows.

----------
assignee: terry.reedy
messages: 223927
nosy: Lita.Cho, ned.deily, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: Update turtledemo menu creation
type: behavior
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22065>
_______________________________________


More information about the New-bugs-announce mailing list