Skip to content

Clarify behavior of resolve_path#546

Merged
untitaker merged 1 commit into
pallets:masterfrom
buckket:buckket-resolve-path
Mar 30, 2016
Merged

Clarify behavior of resolve_path#546
untitaker merged 1 commit into
pallets:masterfrom
buckket:buckket-resolve-path

Conversation

@buckket
Copy link
Copy Markdown
Contributor

@buckket buckket commented Mar 30, 2016

'resolve_path' suggests, that it will also call os.path.expanduser(), while in fact it does not.
Avoid confusion by stating this in the docstring of :class:Path.

Comment thread click/types.py Outdated
before the value is passed onwards. This means
that it's absolute and symlinks are resolved.
that it's absolute and symlinks are resolved. It
will not expand a tilde-prefix.

This comment was marked as off-topic.

'resolve_path' suggests, that it will also call os.path.expanduser(), while in fact it does not.
Avoid confusion by stating this in the docstring of :class:`Path`.
@buckket
Copy link
Copy Markdown
Contributor Author

buckket commented Mar 30, 2016

Clarified the clarification.

@untitaker untitaker merged commit 7047fcf into pallets:master Mar 30, 2016
@untitaker untitaker removed the waiting label Mar 30, 2016
@untitaker
Copy link
Copy Markdown
Contributor

Excellent, thanks!

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants