Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
depend: work around the potential None referer in get_co_using_ctypes
If `ctypes` is (manually) added to hidden imports under python 3.7, one of `referers` entries processed in `get_co_using_ctypes()` method of `PyiModuleGraph` ends up being None. This in turn causes error when its `identifier` property is accessed, causing pyinstaller#3825. Work around the problem by explicitly skipping `None` entries. Fixes pyinstaller#3825.
- Loading branch information