[Python-ideas] PYTHONUSERBASES (plural!)

Larry Hastings larry at hastings.org
Wed Apr 22 06:58:51 CEST 2009


Ben Finney wrote:
> I like the described feature.
>   

You vote +1 then?

> Adding a new variable whose meaning entirely obsoletes the existing one
> with confusingly similar names, especially since the existing one is
> itself so new, seems sub-optimal.
>
> Instead of adding another variable, I would prefer the meaning of the
> existing ‘PYTHONUSERBASE’ altered to do this.

I don't think we should break PYTHONUSERBASE.  Also, PYTHONUSERBASES has 
slightly different semantics; PYTHONUSERBASE has a default value 
(~/.local on UNIX for instance), wheras my proposed variable has a no-op 
default.

I'm open to suggestions for an alternate name.  However, the flipside to 
"confusingly similar" would be "confusingly different".  PYTHONUSERBASES 
is very similar to PYTHONUSERBASE except that it supports more than one, 
so giving it a different name seemed natural to me.


/larry/



More information about the Python-ideas mailing list