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 eryksun, nsiregar, paul.moore, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2020-10-27.17:15:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603818945.93.0.600912597211.issue37609@roundup.psfhosted.org>
In-reply-to
Content
I'm attaching a rewrite of splitdrive() from msg352355. This version uses an internal _next() function to get the indices of the next path component, ignoring repeated separators. It also flattens the nested structure of the previous implementation by adding multiple return statements.
History
Date User Action Args
2020-10-27 17:15:45eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, serhiy.storchaka, steve.dower, nsiregar
2020-10-27 17:15:45eryksunsetmessageid: <1603818945.93.0.600912597211.issue37609@roundup.psfhosted.org>
2020-10-27 17:15:45eryksunlinkissue37609 messages
2020-10-27 17:15:45eryksuncreate