Skip to content

Conversation

@MarcoGorelli
Copy link
Member

these classes aren't needed the methods they like _add_arithmetic_ops are just runtime tricks which serve no static typing purpose

  • Closes #xxxx (Replace xxxx with the Github issue number)
  • Tests added (Please use assert_type() to assert the type of any return value)
  • If I used AI to develop this pull request, I prompted it to follow AGENTS.md.

@MarcoGorelli MarcoGorelli marked this pull request as ready for review December 22, 2025 12:35
Copy link
Contributor

@cmp0xff cmp0xff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR removes class ExtensionScalarOpsMixin and class ExtensionOpsMixin. There are more that can be removed (PandasArray, for example, I believe), but the PR does what it claims.

Thank you @MarcoGorelli !

@cmp0xff cmp0xff merged commit 54fb603 into pandas-dev:main Dec 22, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants