This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 'realpath' function missing from os.path
Type: Stage:
Components: Library (Lib) Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: macquigg, nnorwitz
Priority: normal Keywords:

Created on 2002-12-28 01:50 by macquigg, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Messages (4)
msg13694 - (view) Author: David MacQuigg (macquigg) Date: 2002-12-28 01:50
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.Lib/posixpath.py
All the other functions appear normally.
msg13695 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-01-03 18:06
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. :-)
msg13696 - (view) Author: David MacQuigg (macquigg) Date: 2003-01-03 18:25
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.
msg13697 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-01-10 23:50
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
History
Date User Action Args
2022-04-10 16:06:03adminsetgithub: 37656
2002-12-28 01:50:59macquiggcreate