[Patches] [ python-Patches-677890 ] add optional CWD argument to os.path.abspath()

SourceForge.net noreply@sourceforge.net
Wed, 05 Feb 2003 10:09:18 -0800


Patches item #677890, was opened at 2003-01-30 20:23
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=677890&group_id=5470

Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg Klanderman (gregklanderman)
Assigned to: Nobody/Anonymous (nobody)
Summary: add optional CWD argument to os.path.abspath()

Initial Comment:
I would like to add an optional second argument to
os.path.abspath() to allow specifying the directory
with respect to which the path should be made
absolute.  This would be much like the optional second
argument of the expand-file-name function in emacs:

(expand-file-name NAME &optional DEFAULT-DIRECTORY)

The patch is against python 2.2.2.  I am running RH 6.3
linux 
but that should not matter.

thanks
Greg Klanderman
gak@klanderman.net


----------------------------------------------------------------------

>Comment By: Greg Klanderman (gregklanderman)
Date: 2003-02-05 13:09

Message:
Logged In: YES 
user_id=698972

i can submit a patch for those other versions of abspath. 
but i'd rather know whether there is support for this change
before doing that.



----------------------------------------------------------------------

Comment By: Brett Cannon (bcannon)
Date: 2003-02-05 05:16

Message:
Logged In: YES 
user_id=357491

And don't forget riscospath.py found in the plat-risc directory in Lib in the source distribution.  =)

----------------------------------------------------------------------

Comment By: Brett Cannon (bcannon)
Date: 2003-02-05 05:06

Message:
Logged In: YES 
user_id=357491

What about ntpath.py and os2emxpath.py?

----------------------------------------------------------------------

Comment By: Greg Klanderman (gregklanderman)
Date: 2003-01-30 20:28

Message:
Logged In: YES 
user_id=698972

sorry, trying again to attach the patch..

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=677890&group_id=5470