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

Avoid crash when passing dict to dependencies #13946

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eyalitki
Copy link

While there are good type checks on the "dependencies" addition, they are located after a caching logic that assume the object is hashable. Ensure the caching logic will be skipped if the (probably invalid) object is not hashable.

Resolves #13539.

While there are good type checks on the "dependencies" addition,
they are located after a caching logic that assume the object
is hashable. Ensure the caching logic will be skipped if the
(probably invalid) object is not hashable.

Resolves mesonbuild#13539.

Signed-off-by: Eyal Itkin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Passing dict for library()'s dependencies arg results in an unhandled Python exception
1 participant