[issue40525] zipapps execute symlinks as if they are code

Filipe Laíns report at bugs.python.org
Thu May 7 22:21:52 EDT 2020


Filipe Laíns <filipe.lains at gmail.com> added the comment:

I tracked this down to zipimporter. I have one untested patch, when I run python from my development tree for some reason the zipimport definition at Lib/zipimport.py is not used. I assume something weird is going on because of the frozen circular imports. I would appreaciate it if someone could explain how this works and how I get the correct zipimporter definition to be used.

----------
keywords: +patch
nosy: +FFY00
Added file: https://bugs.python.org/file49140/zipimporter-symlink.patch

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


More information about the Python-bugs-list mailing list