New submission from Brett Cannon <br...@python.org>:

The question on how best to get an absolute path from a pathlib.Path object 
keeps coming up (see https://bugs.python.org/issue29688, 
https://discuss.python.org/t/add-absolute-name-to-pathlib-path/2882/, and 
https://discuss.python.org/t/pathlib-absolute-vs-resolve/2573 as examples).

As pointed out across those posts, getting the absolute path is surprisingly 
subtle and varied depending on your needs. As such we should probably add a 
section somewhere in the pathlib docs explaining the various ways and why you 
would choose one over the other.

----------
assignee: docs@python
components: Documentation
messages: 358638
nosy: brett.cannon, docs@python
priority: normal
severity: normal
stage: needs patch
status: open
title: Document various options for getting the absolute path from pathlib.Path 
objects
type: enhancement

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39090>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to