[Python-Dev] [Python-3000] Reminder: last alphas next Wednesday 07-May-2008

Georg Brandl g.brandl at gmx.net
Fri May 2 05:18:03 CEST 2008


Guido van Rossum schrieb:
> On Thu, May 1, 2008 at 5:03 PM,  <glyph at divmod.com> wrote:
>> On 11:45 pm, guido at python.org wrote:
>>
>> > I like this, except one issue: I really don't like the .local
>> > directory. I don't see any compelling reason why this needs to be
>> > ~/.local/lib/ -- IMO it should just be ~/lib/. There's no need to hide
>> > it from view, especially since the user is expected to manage this
>> > explicitly.
>> >
>>
>>  I've previously given a spirited defense of ~/.local on this list (
>> http://mail.python.org/pipermail/python-dev/2008-January/076173.html ) among
>> other places.
>>
>>  Briefly, "lib" is not the only directory participating in this convention;
>> you've also got the full complement of other stuff that might go into an
>> installation like /usr/local.  So, while "lib" might annoy me a little, "bin
>> etc games include lib lib32 man sbin share src" is going to get ugly pretty
>> fast, especially if this is what comes up in Finder or Nautilus or Explorer
>> every time I open a window.
> 
> Unless I misread the PEP, there's only going to be a lib subdirectory.
> Python packages don't put stuff in other places AFAIK.

Maybe. But when I install other software in my homedir, I install it to
~/.local, precisely to avoid what Glyph said about getting the full set
of subdirs, and it would be nice for Python to fit into this scheme.

> On the Mac, the default Finder window is not your home directory but
> your Desktop, which is a subdirectory thereof with a markedly public
> name. In fact, OS X has a whole bunch of reserved names in your home
> directory, and none of them start with a dot. The rule seems to be
> that if it contains stuff that the user cares about, it doesn't start
> with a dot.

That's not my rule, and it seems that at least Barry and Glyph agree.

Georg


-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-Dev mailing list