[Python-ideas] Making code objects filename an absolute path.

Batuhan Taskaya isidentical at gmail.com
Fri May 24 14:51:03 EDT 2019


The bpo i referenced can explain it better. An example;

   def foo(): pass
   assert foo.__code__.co_filename = os.path.abspath(foo.__code__.co_filename)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20190524/3cc9139a/attachment.html>


More information about the Python-ideas mailing list