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 <>
I got the same bug recently and I fixed it:

commit dec39716ca93ee2e8d9b94915ece33014eb58e9e
Author: Victor Stinner <>
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.
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: <>
2019-10-22 23:18:35vstinnerlinkissue31074 messages
2019-10-22 23:18:35vstinnercreate