Author d.ragusa
Recipients bowiechen, d.ragusa, eryksun, pitrou
Date 2020-04-28.03:52:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAHsu_9UApsnRzvgCoKiq2RTv_hMwF0O-T9bpZY20yGTNn_X=9w@mail.gmail.com>
In-reply-to <1587585021.43.0.391857493828.issue40358@roundup.psfhosted.org>
Content
Yeah, you're right, there's no access to the filesystem and the result
is generated assuming the paths are already resolved.
`strict` seems to be an appropriate name for the option, thanks.

I've looked into the test suite, it helped a lot especially with
Windows paths, they were more complicated than I though.
I've duplicated the tests to verify that it still function as before
and I've added some tests for values that would raise an exception. It
works.
I'm not overly fond of the way I check for unrelated paths, but I
couldn't think of something more elegant.

Any input is appreciated.
Files
File name Uploaded
relative_to.patch d.ragusa, 2020-04-28.03:52:45
History
Date User Action Args
2020-04-28 03:52:45d.ragusasetrecipients: + d.ragusa, pitrou, eryksun, bowiechen
2020-04-28 03:52:45d.ragusalinkissue40358 messages
2020-04-28 03:52:45d.ragusacreate