[Python-bugs-list] [ python-Bugs-659228 ] 'realpath' function missing from os.path

SourceForge.net noreply@sourceforge.net
Fri, 10 Jan 2003 15:50:57 -0800


Bugs item #659228, was opened at 2002-12-27 20:50
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=659228&group_id=5470

Category: Python Library
Group: Python 2.2.2
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: David MacQuigg (macquigg)
Assigned to: Neal Norwitz (nnorwitz)
Summary: 'realpath' function missing from os.path

Initial Comment:
The 'realpath()' function does not appear when you import all functions:
from os.path import *
Looks like this due to the name 'realpath' being missing from the '__all__' list in
.../Python-2.2.2/Lib/posixpath.py
All the other functions appear normally.

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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-01-10 18:50

Message:
Logged In: YES 
user_id=33168

2.2.3 backport checked in as:
 macpath.py 1.31.10.1
 ntpath.py 1.44.8.2
 dospath.py 1.25.10.1
 posixpath.py 1.46.10.2


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

Comment By: David MacQuigg (macquigg)
Date: 2003-01-03 13:25

Message:
Logged In: YES 
user_id=676422

Seems like a safe backport to me.  I can't imagine any code depending on 'realpath' being *missing* from the list 
functions.

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

Comment By: Neal Norwitz (nnorwitz)
Date: 2003-01-03 13:06

Message:
Logged In: YES 
user_id=33168

Checked in as:
 macpath.py 1.43
 ntpath.py 1.54
 os2emxpath.py 1.9
 posixpath.py 1.57

I have a question about if this should be backported, so I'm
leaving this open for now.  I think it should be backported.
 It is an API change, but only to correct the bug. :-)

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

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