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

Nick Coghlan report at bugs.python.org
Mon Dec 30 23:56:03 EST 2019


Nick Coghlan <ncoghlan at gmail.com> added the comment:

With the sys.argv[0] change reverted, I think this overall issue is fixed now - code objects will get absolute paths, while sys.argv[0] will continue to reflect how __main__ was identified.

----------
priority:  -> normal
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list