On 02/08/2010 14:34, Ronald Oussoren wrote:


On 02 Aug, 2010,at 01:00 PM, Michael Foord <fuzzy...@voidspace.org.uk> wrote:

> The only apple one that is actually used is the .CFUserTextEncoding
> file, I have an .Xcode in my home as well but that is empty and last
> updated in 2007. AFAIK current versions of Xcode store preferences in
> ~/Library/Preferences. Most of the other ones are ports of unix tools
> and store junk in the standard unix location for storing
> configuration. Try edit one without resorting to the command-line

The configuration files we are discussing are for command line tools -
so I don't think that having to resort to the command line is a
disadvantage at all. If users don't / can't use the command line then
they *won't* want to edit these files anyway.
Not being comfortable at the command-line is not the same as not wanting to edit the global configuration of unittest or distutils.

Anyway, does that mean that the configuration should move if I create a patch for IDLE that allows you the manage the unittest configuration through a GUI?

Nope, as I doubt for *most* users it will be the primary way of editing the file.


If they are used to the command line then ~/.python32/distutils.cfg is
going to be a very natural place for them.
That location isn't natural for me. If we invent a new location for python-related configuration file we might as well do it properly and follow platform conventions.


But you yourself said that it *isn't* normal to have files we expect the user to edit in the location you suggested - and a glance on my system is that use ~/.app files is a *very* common convention on the Mac.


Michael
The MacOSX conventions are described here <http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPFileSystem/BPFileSystem.html#//apple_ref/doc/uid/10000185-SW1>.

Macosx-is-not-a-crappy-linux-ly yours,

  Ronald


--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog

READ CAREFULLY. By accepting and reading this email you agree, on behalf of your 
employer, to release me from all obligations and waivers arising from any and all 
NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, 
confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS 
AGREEMENTS") that I have entered into with your employer, its partners, licensors, 
agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. 
You further represent that you have the authority to release me from any BOGUS AGREEMENTS 
on behalf of your employer.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to