classification
Title: Users' directories information
Type: Stage:
Components: Library (Lib) Versions: Python 2.6
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: loewis, uzytkownik
Priority: normal Keywords:

Created on 2007-09-05 21:13 by uzytkownik, last changed 2007-09-06 17:59 by uzytkownik. This issue is now closed.

Messages (5)
msg55671 - (view) Author: Maciej Piechotka (uzytkownik) Date: 2007-09-05 21:13
User directories varies along systems. On unikses all user data is kept
in $HOME directory. Configuration is kept in dot-files. However on
others systems places are different.
Using predefined values would be most convinent.
msg55676 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-09-06 06:28
Can you please elaborate? What does that have to do with Python?
msg55688 - (view) Author: Maciej Piechotka (uzytkownik) Date: 2007-09-06 11:37
It would allow to write in python more cross platform applications
without writing it by hand and/or using special libraries.
Something like:

import sys
import os
import os.path

# ...
os.mkdir(os.path.join(sys.configdir(), ".myprogram"))
# ...
msg55692 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-09-06 13:56
I don't think a uniform access to "configuration information" is
possible, or even desirable. The requirements across applications and
systems are too diverse to make this feasible.

In any case, such a new feature should first be field-tested as a
"special library" in a number of applications, and on a number of
systems. Only then inclusion into the standard library could even be
considered.

Closing this as "won't fix".
msg55709 - (view) Author: Maciej Piechotka (uzytkownik) Date: 2007-09-06 17:59
As a 'special library' I meant for example QT(metioned at least on
#python channel but I can't find it in pyQT documentation) which is a
nonsense in pygtk app.
History
Date User Action Args
2007-09-06 17:59:30uzytkowniksetmessages: + msg55709
2007-09-06 13:56:43loewissetstatus: open -> closed
resolution: wont fix
messages: + msg55692
2007-09-06 11:37:27uzytkowniksetmessages: + msg55688
2007-09-06 06:28:18loewissetnosy: + loewis
messages: + msg55676
2007-09-05 21:13:08uzytkownikcreate