[issue31074] Startup failure if executable is a \\?\ path on Windows

STINNER Victor report at bugs.python.org
Tue Oct 22 19:18:35 EDT 2019


STINNER Victor <vstinner at python.org> added the comment:

I got the same bug recently and I fixed it:

commit dec39716ca93ee2e8d9b94915ece33014eb58e9e
Author: Victor Stinner <vstinner at 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.

----------
nosy: +vstinner
resolution:  -> fixed
stage: test needed -> resolved
status: open -> closed
superseder:  -> Azure Pipelines: appx tests fail: init_fs_encoding: failed to get the Python codec of the filesystem encoding

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31074>
_______________________________________


More information about the Python-bugs-list mailing list