A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/025623.html below:

[Python-Dev] PEP 292, Simpler String Substitutions

[Python-Dev] PEP 292, Simpler String SubstitutionsFredrik Lundh fredrik@pythonware.com
Wed, 19 Jun 2002 22:29:20 +0200
Tim Peters wrote:

> [Andrew Kuchling]
> > +1 on /F's suggestion of recycling the os.path.expandvars() code.
> 
> -1 on that part:  os.path.expandvars() is an ill-defined mess (the core has
> more than one of them, varying by platform, and what they do differs in
> platform-irrelevant ways).  +1 on making Barry fix expandvars <wink>:

I'm pretty sure my plan was to change *path.expandvars to

    def expandvars(string):
        return string.expandvars(string, os.environ)

(and I've already sent SRE-based expandvars code to barry,
so all he has to do is to check it in ;-)

</F>





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4