Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

depend: work around the potential None referer in get_co_using_ctypes #5663

Merged
merged 1 commit into from Mar 23, 2021

Commits on Mar 22, 2021

  1. 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.
    rokm committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    a5c6689 View commit details
    Browse the repository at this point in the history