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 vstinner
Recipients eryksun, paul.moore, shubha_bloodhound, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-10-22.23:18:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1571786315.13.0.58879445653.issue31074@roundup.psfhosted.org>
In-reply-to
Content
I got the same bug recently and I fixed it:

commit dec39716ca93ee2e8d9b94915ece33014eb58e9e
Author: Victor Stinner <vstinner@python.org>
Date:   Mon Sep 30 14:49:34 2019 +0200

    bpo-38322: Fix gotlandmark() of PC/getpathp.c (GH-16489)
    
    Write the filename into a temporary buffer instead of reusing prefix.
    The problem is that join() modifies prefix inplace. If prefix is not
    normalized, join() can make prefix shorter and so gotlandmark()
    does modify prefix instead of returning it unmodified.
History
Date User Action Args
2019-10-22 23:18:35vstinnersetrecipients: + vstinner, paul.moore, tim.golden, zach.ware, eryksun, steve.dower, shubha_bloodhound
2019-10-22 23:18:35vstinnersetmessageid: <1571786315.13.0.58879445653.issue31074@roundup.psfhosted.org>
2019-10-22 23:18:35vstinnerlinkissue31074 messages
2019-10-22 23:18:35vstinnercreate