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.

Author mu_mind
Recipients mu_mind
Date 2015-09-05.22:05:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441490748.21.0.647656961559.issue25012@psf.upfronthosting.co.za>
In-reply-to
Content
There doesn't seem to be any helper in pathlib to expand a relative path to an absolute path *without* resolving symlinks.

For example, if I want to convert
  pathlib.Path('some/path')
to
  pathlib.Path('/full/path/to/some/path')
where some/path is a symlink, my best option seems to be
  pathlib.Path(os.path.abspath(str(pathlib.Path('some/path'))))
History
Date User Action Args
2015-09-05 22:05:48mu_mindsetrecipients: + mu_mind
2015-09-05 22:05:48mu_mindsetmessageid: <1441490748.21.0.647656961559.issue25012@psf.upfronthosting.co.za>
2015-09-05 22:05:48mu_mindlinkissue25012 messages
2015-09-05 22:05:47mu_mindcreate