[Python-bugs-list] [ python-Bugs-824371 ] ntpath.expandvars doesn't
expand Windows-style variables.
SourceForge.net
noreply at sourceforge.net
Wed Oct 15 16:32:55 EDT 2003
Bugs item #824371, was opened at 2003-10-15 16:32
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=824371&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeremy Fincher (jemfinch)
Assigned to: Nobody/Anonymous (nobody)
Summary: ntpath.expandvars doesn't expand Windows-style variables.
Initial Comment:
ntpath.expandvars is exactly the same as
posixpath.expandvars -- it only expands $vars. But in
windows, environment variables are represented by
%vars%, not $vars.
I can write a patch if necessary. Having read the
code, I noticed that it went to great lengths to do
what could quite easily be done with a regular
expression, so I assume using regular expressions isn't
kosher in the *path modules?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=824371&group_id=5470
More information about the Python-bugs-list
mailing list