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 eryksun
Recipients davin, eryksun, giampaolo.rodola, pitrou, vstinner
Date 2019-02-26.02:19:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551147554.82.0.222537533133.issue36102@roundup.psfhosted.org>
In-reply-to
Content
> Given that this requirement is not universal and because a leading 
> slash controls other behaviors on platforms like Windows

Forward slash has no special meaning anywhere in the names of NT objects, such as memory Section objects (aka file-mapping objects) and registry Key objects. Only the file API translates forward slash to backslash, and that's only implemented for the sake of DOS compatibility in a few core functions that normalize and translate DOS paths.

Maybe you're thinking of the "Global\\" and "Session\\" prefixes for named kernel objects, which require a backslash since the name is really a handle-relative NT path. The session's object directory contains object symbolic links named "Global" and "Session". A name such as "Global\spam" resolves to "spam" in the global object directory, but "Global/spam", with forward slash, is just a regular name in the local directory.
History
Date User Action Args
2019-02-26 02:19:14eryksunsetrecipients: + eryksun, pitrou, vstinner, giampaolo.rodola, davin
2019-02-26 02:19:14eryksunsetmessageid: <1551147554.82.0.222537533133.issue36102@roundup.psfhosted.org>
2019-02-26 02:19:14eryksunlinkissue36102 messages
2019-02-26 02:19:14eryksuncreate