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

Fix crash with overload and callable object decorators #11630

Merged
merged 3 commits into from
Nov 28, 2021

Commits on Nov 27, 2021

  1. Fix crash with overload and callable object decorators

    Fixes the crash in python#8356, as identified by @pranavrajpal
    
    Note that we still don't support the singledispatch in that issue, since
    we get 'overloaded function has no attribute "register"', but that's
    much easier to work around than a crash.
    hauntsaninja committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    085b88f View commit details
    Browse the repository at this point in the history
  2. handle dumb decorators better

    hauntsaninja committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    e600b0e View commit details
    Browse the repository at this point in the history
  3. also fix 9967

    hauntsaninja committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    3f135c3 View commit details
    Browse the repository at this point in the history