Pierre Habouzit <[EMAIL PROTECTED]> writes:

> On Mon, May 19, 2008 at 11:20:10PM +0000, Ben Finney wrote:
> > Floris Bruynooghe <[EMAIL PROTECTED]> writes:
> > > "/var/lib : Variable state information [...] State information
> > > is data that programs modify while they run, and that pertains
> > > to one specific host." [2]
> > 
> > Agreed. Complied-one-time-on-install Python library code is not
> > "variable state information"; rather, it is an unchanging (modulo
> > package-system changes) part of the system, so belongs in /usr
> > somewhere.
> 
>   pysupport puts a farmlink in /var/lib so that .pyc files that are
> /var material are in /var/lib.

What makes you think 'foo.pyc' is /var material? It's compiled once
when the package is installed, and shouldn't change thereafter. That
isn't "data that programs modify while they run", it's the binary form
of the program itself.

> The .py files live in /usr/share.

That's fine.

>   Note that the real issue here for real is that python isn't capable of
> using an alternate shadow path hierarchy to store .pyc files like e.g.
> fontconfig does. That's why pycentral/pysupport have to do really
> scabrous things in the first place.

Agreed, and thank you for a wonderful use of the word "scabrous" :-)

-- 
 \            "If you continue running Windows, your system may become |
  `\                 unstable."  -- Microsoft, Windows 95 BSOD message |
_o__)                                                                  |
Ben Finney


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to