You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi pydeps team, thanks for implementing this great tool!
When using the tool to examine python source files, we noticed sometimes a compiled pyc file would be automatically generated for the all python files inside the same directory. For example pyyaml.
python version is 3.8 and pydeps version is v1.12.20.
Is this expected behavior due to checking import-opcodes in python bytecodes for imports? But it does not happen for all python source file directory, so far we only find pyyaml filepath having the issue. What's the reason for that? Cam we disable the auto-generation of compiled python file?
Thanks for looking into this!
The text was updated successfully, but these errors were encountered:
Hey @thebjorn, I think the compiled .pyc for yaml created when yaml is imported in pydeps. Somehow python module loader fails to compile to the system python directory(like /usr/local/lib/python3.8/dist-packages/yaml/) but the current yaml directory( like /tmp/testDir/yaml/)
So the issue is not about compiled .pyc got created when finding imports, but it's created in the wrong directory.
Hi pydeps team, thanks for implementing this great tool!
When using the tool to examine python source files, we noticed sometimes a compiled pyc file would be automatically generated for the all python files inside the same directory. For example pyyaml.
python version is 3.8 and pydeps version is v1.12.20.
Is this expected behavior due to checking import-opcodes in python bytecodes for imports? But it does not happen for all python source file directory, so far we only find pyyaml filepath having the issue. What's the reason for that? Cam we disable the auto-generation of compiled python file?
Thanks for looking into this!
The text was updated successfully, but these errors were encountered: