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 mshuffett
Recipients mshuffett
Date 2017-04-26.16:19:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493223585.29.0.982122563762.issue30177@psf.upfronthosting.co.za>
In-reply-to
Content
According to the documentation https://docs.python.org/3/library/pathlib.html#pathlib.Path.resolve
If strict is False, the path is resolved as far as possible and any remainder is appended without checking whether it exists.

The current behavior is not consistent with this, and only appends the first remainder.

For example:
If we have an empty '/tmp' directory
Path('/tmp/foo').resolve() and Path('/tmp/foo/bar').resolve() both result in Path('/tmp/foo') but Path('/tmp/foo/bar').resolve() should result in Path('/tmp/foo/bar')
History
Date User Action Args
2017-04-26 16:19:45mshuffettsetrecipients: + mshuffett
2017-04-26 16:19:45mshuffettsetmessageid: <1493223585.29.0.982122563762.issue30177@psf.upfronthosting.co.za>
2017-04-26 16:19:45mshuffettlinkissue30177 messages
2017-04-26 16:19:45mshuffettcreate