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 arhadthedev
Recipients John15321, arhadthedev
Date 2022-03-30.13:23:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648646610.44.0.142489397052.issue47161@roundup.psfhosted.org>
In-reply-to
Content
> But shouldn't it just work with `//` as a `/`? It seems like this is the behavior elsewhere.

It works elsewhere because empty directory names are impossible so can be dropped. But if `//` is placed in the beginning, it gets a special meaning that totally changes the whole path so its plain replacement would give a totally wrong one.

Roughly speaking, "//Library/Video" is `/Video` on a computer named `Library`.
History
Date User Action Args
2022-03-30 13:23:30arhadthedevsetrecipients: + arhadthedev, John15321
2022-03-30 13:23:30arhadthedevsetmessageid: <1648646610.44.0.142489397052.issue47161@roundup.psfhosted.org>
2022-03-30 13:23:30arhadthedevlinkissue47161 messages
2022-03-30 13:23:30arhadthedevcreate