Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: I think I found the relevant documentation: http://wiki.tcl.tk/1842 """ On Unix, when typing a filename without extension, the first extension belonging to the currently selected filetype will be appended to the filename. On Windows, this is not the case, but one can define a fixed extension with the -defaultextension option. To get the same behaviour on Unix, use -defaultextension {}. """
I tried to add "defaultextension=.py", (see attached patch) the problem is that now it seems impossible to create a file without an extension... ---------- keywords: +patch nosy: +amaury.forgeotdarc Added file: http://bugs.python.org/file13978/defaultextension.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4832> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com