[issue20443] __code__. co_filename should always be an absolute path

Gregory P. Smith report at bugs.python.org
Thu Oct 24 12:51:34 EDT 2019


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

I think sys.argv[0] is the important one as program logic often tends to use that as an input.

I'm honestly unsure of if this will be as much of a problem for .co_filename or sys.path[0].

----------

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


More information about the Python-bugs-list mailing list