Patches item #1574252, was opened at 2006-10-09 21:45
Message generated for change (Comment added) made by josiahcarlson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1574252&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Chip Norkus (doubleyewdee)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add %var% support to ntpath.expandvars
Initial Comment:
NT variables are passed around as %var% instead of
$var or ${var}. Providing support for this gives a
seamless user experience for NT users using Python.
E.g. os.path.expandvars('%TEMP%') now does what is
expected on NT.
I updated the docstring, could not find any tests or
documentation references in svn for this portion of
code.
----------------------------------------------------------------------
Comment By: Josiah Carlson (josiahcarlson)
Date: 2006-10-22 10:49
Message:
Logged In: YES
user_id=341410
I believe that there are two changes that are desireable;
the functionality offered in this patch (expansion of %VAR%
environment variables), and ~user\subpath expansion.
Recursive re-application of variable expansion shouldn't
occur. I can merge the two patches that adds the
functionality to ntpath.expanduser and ntpath.expandvars .
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2006-10-22 07:36
Message:
Logged In: YES
user_id=21627
josiahcarlson, can you propose a strategy to resolve this all?
----------------------------------------------------------------------
Comment By: Josiah Carlson (josiahcarlson)
Date: 2006-10-16 15:47
Message:
Logged In: YES
user_id=341410
See also: http://python.org/sf/796219 and
http://python.org/sf/957650
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1574252&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches