Pyinstaller: Make modulegraph non-recursive

Created on 2 Feb 2017  路  3Comments  路  Source: pyinstaller/pyinstaller

We have several issues hitting the maximum recursion depth of CPython, e.g. #2194, #2142.

So only solution solving the root cause is to change the modulegraph algorithm from recursive to non-recursive. Also see https://github.com/pyinstaller/pyinstaller/issues/1919#issuecomment-216016176

modulegraph

Most helpful comment

Still get error in PyInstaller 3.3. Was it fixed in that version?

Thx

All 3 comments

I will submit a PR that does this for Python 3. Something odd is happening with Python 2.7, and I cannot debug that because I don't use Python 2.7.

Associated PR is now #2428.

Still get error in PyInstaller 3.3. Was it fixed in that version?

Thx

Was this page helpful?
0 / 5 - 0 ratings