-
Notifications
You must be signed in to change notification settings - Fork 915
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 Cython typo preventing proper inheritance #15978
Fix Cython typo preventing proper inheritance #15978
Conversation
@etseidl you've gotta love this fix :) No CRTP or even templating required to produce the error. |
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!
OMG @vyasr, thanks for seeing what my too-close-to-the-problem eyes couldn't! 😅 |
Honestly I didn't see it easily either, I had to reduce down to a MWE before I noticed the typo. Cython's choice of error was... not helpful. |
/merge |
Description
#15831 added new inheritance patterns to the Parquet options classes, but mirroring them perfectly in Cython proved problematic due to what appeared to be issues with Cython parsing of CRTP and inheritance. A deeper investigation revealed that the underlying issue was cython/cython#6238. This PR applies the appropriate fix.
Checklist