-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Description
Hello, trying to upgrade from 0.2.6 to 0.3.6 and see a problem that i think we had before.
So, for 0.2.6 the paths behave like this re slashes at the end:
UPath("s3://bucket/key").path
>'bucket/key'
UPath("s3://bucket/key/").path
>'bucket/key'
(UPath("s3://bucket/") / "key/").path
>'bucket/key'
However, in 0.3.6 it is now:
UPath("s3://bucket/key").path
>'bucket/key'
UPath("s3://bucket/key/").path
>'bucket/key'
(UPath("s3://bucket/") / "key/").path
>'bucket/key/'
So the last one is different, even though the result should be the same as for the second one. What is the logic behind this change? Or is it a bug?
Metadata
Metadata
Assignees
Labels
bug 🐛Something isn't workingSomething isn't working