Issue 1111: Users' directories information (original) (raw)

Created on 2007-09-05 21:13 by uzytkownik, last changed 2022-04-11 14:56 by admin. 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
2022-04-11 14:56:26 admin set github: 45452
2007-09-06 17:59:30 uzytkownik set messages: +
2007-09-06 13:56:43 loewis set status: open -> closedresolution: wont fixmessages: +
2007-09-06 11:37:27 uzytkownik set messages: +
2007-09-06 06:28:18 loewis set nosy: + loewismessages: +
2007-09-05 21:13:08 uzytkownik create