[issue18270] IDLE on OS X fails with Attribute Error if no initial shell and Tk out-of-date

2013-12-10 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch, Terry. I've pushed a slightly modified version for release in 2.7.7, 3.3.4, and 3.4.0. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <

[issue18270] IDLE on OS X fails with Attribute Error if no initial shell and Tk out-of-date

2013-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5becf8b612ee by Ned Deily in branch '2.7': Issue #18270: Prevent possible IDLE AttributeError on OS X when no initial http://hg.python.org/cpython/rev/5becf8b612ee New changeset 016c64e66a9e by Ned Deily in branch '3.3': Issue #18270: Prevent possib

[issue18270] IDLE on OS X fails with Attribute Error if no initial shell and Tk out-of-date

2013-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looking further at handling debug, startup, cmd, or script options. When any of these are set, enable_shell is also, so to reach here, shell must be true, so only the MAC test, the subject of this issue, needs protection. Smaller patch (fewer lines changed) at

[issue18270] IDLE on OS X fails with Attribute Error if no initial shell and Tk out-of-date

2013-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: No, but I recreated it from my description and attached it. But see next message. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file31135/18270-27.diff ___ Python tracker

[issue18270] IDLE on OS X fails with Attribute Error if no initial shell and Tk out-of-date

2013-08-02 Thread Ned Deily
Ned Deily added the comment: Terry, your patch did not get attached. Do you still have it? -- ___ Python tracker ___ ___ Python-bugs-

[issue18270] IDLE on OS X fails with Attribute Error if no initial shell and Tk out-of-date

2013-06-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 2.7.5, the offending line is 1558, not 1560. It is clearer to me as shell.interp.runcommand("print('%s')" % tkversionwarning) Amaury is correct about 1541, as seen in the if block itself, but I thing the shell test should be elevated to guard all the shell-d

[issue18270] IDLE on OS X fails with Attribute Error if no initial shell and Tk out-of-date

2013-06-20 Thread Ned Deily
Ned Deily added the comment: The problem here occurs when IDLE on OS X is launched without an initial shell window, either by setting the option in IDLE preferences or from the command line (/usr/local/bin/idle -e) *and* IDLE detects that the version of Tk in use is one of the suspect OS X ver