[issue15363] Idle/tkinter ~x.py 'save as' fails. closes idle

Roger Serwy report at bugs.python.org
Mon Jul 16 02:07:48 CEST 2012


Roger Serwy <roger.serwy at gmail.com> added the comment:

IDLE silently closing is due to issue13582.

On Linux (Ubuntu 11.04, Tk8.5) I can not specify "~template.py" for a filename for opening or saving a file. Clicking on either open or save produces no action. However, I can specify "~/template.py".

On Win7 I see there error Terry describes. This is due to "Tilde Substitution" described here: http://www.tcl.tk/man/tcl/TclCmd/filename.htm#M20

Attached is a patch against 3.3 that escapes the initial tilde on Windows. The patch should be identical against 3.2 and 2.7.

----------
keywords: +patch
Added file: http://bugs.python.org/file26390/tilde_escape.patch

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


More information about the Python-bugs-list mailing list