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 serhiy.storchaka
Recipients blokeley, brian.curtin, eric.araujo, pitrou, r.david.murray, rhettinger, santoso.wijaya, serhiy.storchaka, terry.reedy
Date 2012-12-02.10:51:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354445519.85.0.681547508965.issue11344@psf.upfronthosting.co.za>
In-reply-to
Content
splitpath() should be equivalent to followed code (but be non-recursive and more effective):

def splitpath(path):
    head, tail = split(path)
    if head == path:
        return [head]
    else:
        return splitpath(head) + [tail]
History
Date User Action Args
2012-12-02 10:52:00serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, terry.reedy, pitrou, eric.araujo, r.david.murray, brian.curtin, santoso.wijaya, blokeley
2012-12-02 10:51:59serhiy.storchakasetmessageid: <1354445519.85.0.681547508965.issue11344@psf.upfronthosting.co.za>
2012-12-02 10:51:59serhiy.storchakalinkissue11344 messages
2012-12-02 10:51:59serhiy.storchakacreate