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 eric.smith, eryksun, serhiy.storchaka, veky, zbysz
Date 2021-06-27.17:00:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624813226.89.0.48418557162.issue44452@roundup.psfhosted.org>
In-reply-to
Content
> I was thinking about about a case where paths are resolved relative 
> to a container root in a filesystem. 

I can see the need for generalized 'drive' support that sets an arbitrary path prefix as the 'drive'. For example, if "/var/tmp/instroot" is a 'drive', then joining it to "/some/path" returns "/var/tmp/instroot/some/path". However, subsequently joining that result to "/suffix" would return "/var/tmp/instroot/suffix". The "/some/path" part is replaced by "/suffix". This doesn't match your example to lstrip('/') from paths joined with the proposed `//` operator.
History
Date User Action Args
2021-06-27 17:00:26eryksunsetrecipients: + eryksun, eric.smith, zbysz, serhiy.storchaka, veky
2021-06-27 17:00:26eryksunsetmessageid: <1624813226.89.0.48418557162.issue44452@roundup.psfhosted.org>
2021-06-27 17:00:26eryksunlinkissue44452 messages
2021-06-27 17:00:26eryksuncreate