[issue24765] Move .idlerc to %APPDATA%\IDLE on Windows

2015-10-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I do not consider the presence of .idlec in $HOME on Windows to be a problem in itself. There are numerous applications, unix-derived and otherwise, that do the same with config files. Very few, if any, have the issue of sharing between multiple

[issue24765] Move .idlerc to %APPDATA%\IDLE on Windows

2015-10-29 Thread eryksun
eryksun added the comment: On Windows, how about creating a junction (_winapi.CreateJunction in 3.5, or the shell's mklink /j) from ~\.idlerc to %APPDATA%\idle? If ~\.idlerc already exists, it could be moved to %APPDATA%\idle before creating the junction. New code would directly use

[issue24765] Move .idlerc to %APPDATA%\IDLE on Windows

2015-10-28 Thread Mark Roseman
Mark Roseman added the comment: Further to Terry's backwards compatibility issues (also discussed in #8231). Storing things in the "correct" location (%APPDATA% on Windows, and Application Support on OS X) would presumably be the "right" thing to do if backwards compatibility weren't an

[issue24765] Move .idlerc to %APPDATA%\IDLE on Windows

2015-08-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: And if the older version is still present, as 2.7 will be for years, copy back to .idlerc. To me, having two copies of the directory, one in the 'wrong' place, is worse than one copy in the wrong place. -- ___

[issue24765] Move .idlerc to %APPDATA%\IDLE on Windows

2015-08-07 Thread jan parowka
jan parowka added the comment: fiddling with the entry bar the right way and adding exactly 'AppDate\' to the existing path You can type in '%APPDATA%' in the path bar, run dialog, or even start menu, and it will take you to the current user's Application Data folder. It works from XP

[issue24765] Move .idlerc to %APPDATA%\IDLE on Windows

2015-08-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Two negative factors. 1. Users may edit the user config files 'by hand'. They occasionally must edit them to fix problems. Burying them in a *hidden* directory (invisible in Explorer) will make editing much harder, *especially for beginners*. Even as a

[issue24765] Move .idlerc to %APPDATA%\IDLE on Windows

2015-07-31 Thread Martin Panter
Martin Panter added the comment: See also Issue 7175, although I think that is more about low-level Python configuration, rather than application-level configuration like Idle. -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org

[issue24765] Move .idlerc to %APPDATA%\IDLE on Windows

2015-07-31 Thread jan parowka
New submission from jan parowka: IDLE shouldn't pollute user's home directory on Windows, standard location for config files is %APPDATA%\App, which resolves to C:\Users\user\AppData\Roaming\App in Vista upwards and somewhere in Documents and Settings under XP. -- components: IDLE

[issue24765] Move .idlerc to %APPDATA%\IDLE on Windows

2015-07-31 Thread eryksun
eryksun added the comment: On Windows, using the shell's [Known Folders API][1] is preferred. For Python 3.6+, an extension module could wrap SHGetKnownFolderPath and provide a dict of KNOWNFOLDERID values such as FOLDERID_RoamingAppData. On Linux, there's the [XDG Base Directory

[issue24765] Move .idlerc to %APPDATA%\IDLE on Windows

2015-07-31 Thread jan parowka
jan parowka added the comment: Mac Developer Library mentions Library/Application Support/App as a preferred directory to store configuration files for an application, gotten via a call to NSSearchPathForDirectoriesInDomains or NSFileManager with NSApplicationSupportDirectory path key and