Skip to content

Conversation

Starbuck5
Copy link
Member

This removes the unused math C API, and switches to the new PyModule_AddType instead of PyType_Ready + PyModule_AddObjectRef.

@Starbuck5 Starbuck5 requested a review from a team as a code owner June 1, 2025 06:59
@Starbuck5 Starbuck5 added Code quality/robustness Code quality and resilience to changes math pygame.math labels Jun 1, 2025
Copy link
Member

@damusss damusss left a comment

Choose a reason for hiding this comment

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

I like this cleaning a lot :) C API should only exist when it is actually used. Thanks

Copy link
Member

@MightyJosip MightyJosip left a comment

Choose a reason for hiding this comment

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

Good change

Copy link
Member

@ankith26 ankith26 left a comment

Choose a reason for hiding this comment

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

LGTM thanks! ⭐

@ankith26 ankith26 added this to the 2.5.5 milestone Jun 1, 2025
@ankith26 ankith26 merged commit 4b6303a into pygame-community:main Jun 3, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code quality/robustness Code quality and resilience to changes math pygame.math
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants