[issue39769] compileall.compile_dir(..., ddir="<prefix>") omits the intermediate package paths when prepending the prefix

Gregory P. Smith report at bugs.python.org
Thu Feb 27 00:20:15 EST 2020


Gregory P. Smith <greg at krypto.org> added the comment:

This has probably been happening for many 3 releases.  I noticed it on 3.6 when investigating a problem with wrong paths in tracebacks coming from code which we used compileall.compile_dir(src_root, quiet=1, ddir="<prefix">) on.

I'm guessing ddir= (-d on the cli) isn't widely used?

----------
components: +Library (Lib)
stage:  -> needs patch
type:  -> behavior

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


More information about the Python-bugs-list mailing list