Skip to content

eval.__get__(1) should be an inference error #2743

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

Open
temyurchenko opened this issue May 13, 2025 · 0 comments
Open

eval.__get__(1) should be an inference error #2743

temyurchenko opened this issue May 13, 2025 · 0 comments
Labels
Bug 🪳 Needs PR This issue is accepted, sufficiently specified and now needs an implementation

Comments

@temyurchenko
Copy link
Contributor

temyurchenko commented May 13, 2025

Right now, it infers to eval (the bound method of builtins) itself, which is wrong. Note that eval.__get()__ correctly resolves to an inference error.

Found while investigating #2672

@Pierre-Sassoulas Pierre-Sassoulas added Bug 🪳 Needs PR This issue is accepted, sufficiently specified and now needs an implementation labels May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🪳 Needs PR This issue is accepted, sufficiently specified and now needs an implementation
Projects
None yet
Development

No branches or pull requests

2 participants