-
Notifications
You must be signed in to change notification settings - Fork 770
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
Left-hand operands are fellback to right-hand ones for type mismatching #1107
Conversation
And I changed right hand methods to use |
Sigh, coverage decreased after I added some tests... 😓 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 thanks, looks great to me! Just got a few suggestions to tidy things up a little.
Regarding the coverage, yeah that's a little annoying isn't it. I wonder if we can configure codecov to ignore changes < 1% ? Or maybe it's possible to figure out why codecov thinks the coverage has changed. Either way, it's not a problem and we can merge anyway (after making changes for any suggestions you like) 😄
Also, needs a CHANGELOG entry 😉
acc48b8
to
e44c85b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really great! Feel free to take on or ignore any of these minor ideas as you like before merging 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
&self, | ||
mut implemented_protocols: HashSet<String>, | ||
) -> impl Iterator<Item = &'static str> { | ||
self.slot_setters.iter().filter_map(move |setter| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one, this implementation is really elegant!
Supposedly resolved by PyO3#1107
Supposedly resolved by PyO3#1107 Fix a typo in the subsection header.
Fixes #844.
Include some other refactorings:
SlotSetter
is refactored not to haveskipped_setters
field.py_ternary_num_func
macros are removed since they are just called once.#[macro_export]
for macros inclass/macros.rs
are removed.