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
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
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
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.
--
___
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
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
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
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
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
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
10 matches
Mail list logo