Message 379780 - Python tracker (original) (raw)
Message379780
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 . 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:45 | eryksun | set | recipients: + eryksun, paul.moore, tim.golden, zach.ware, serhiy.storchaka, steve.dower, nsiregar |
2020-10-27 17:15:45 | eryksun | set | messageid: 1603818945.93.0.600912597211.issue37609@roundup.psfhosted.org |
2020-10-27 17:15:45 | eryksun | link | issue37609 messages |
2020-10-27 17:15:45 | eryksun | create |