[Python-Dev] Fixing #7175: a standard location for Python config files

Éric Araujo merwok at netwok.org
Thu Aug 12 04:58:23 CEST 2010


> PEP 370 already specifies a directory for Python config files:
> 
>> user data directory
>>
>>     Usually the parent directory of the user site directory.
>>     It's meant for Python version specific data like config
>>     files, docs, images and translations.

Thanks for pointing that. However, I have to disagree with the PEP here:
config files are not data files. Considering the FHS or the XDG Base
Directory specifications, there is a precedent in distinguishing user
config (edited by the user through a text editor or settings graphical
window), program data (state) and cache (files for speedups that can
safely be deleted).

Regards



More information about the Python-Dev mailing list