Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0002175: os.path.realpath broken in latest python update

$
0
0
os.path.realpath does not resolve symlinks correctly in the latest update.<br /> Consider the following path:<br /> path = '/basedir/a_symlink/file'<br /> where a_symlink is a symlink to a_relative/dir/<br /> <br /> os.path.realpath(path) should give:<br /> '/somebasedir/a_relative/dir/file'<br /> <br /> but instead it gives:<br /> '/current/work/directory/a_relative/dir/file'

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>