-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Update 'inactive_overload_cache' key #2092
Conversation
Instead of just the function name, use '__qualname__.name'.
@YannickJadoul @rwgk I was updating our fork, and forgot that we hadn't landed this (see linked issue for more deets). Is this a candidate for 2.6.0? |
Came across this when crafting: RobotLocomotion#47 |
This should probably use |
At the same time, it's still quite late to add, though? :-/ @henryiii? |
Also, what if the new class has exactly the same name as the old one? |
Also, also, the changes to the hash function are really wrong. You don't want to combine hashes with just an xor. |
We can work on it for 2.7 - I think it's too late for 2.6 for anything with a chance of breaking. |
Sounds good! We'll address this for release 2.7.0, not 2.6.0 - thanks! |
Per Slack convo w/ Betsy and @jamiesnape, I will re-open this as author (but maintain Betsy's authorship + traceability). Then I'll update it for latest master, and see if we can sneak it into future releases. |
Closed in lieu of superseding PR, #2772 |
Instead of just the function name, use
__qualname__.name
.Solves issue #1922
@wjakob