Skip to content
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

Deprecate from_display_module #2624

Merged

Conversation

Starbuck5
Copy link
Member

For #2603

Making this work in an actually fool proof way would be a nightmare. Now that windows can have their own display surface management, there is no need for this function.

Why not just remove it? It's too widely used. I dislike this fact, but this "experimental api" (for this function) has enough users that I think it's worth giving it an actual deprecation and not just removing it.

@Starbuck5 Starbuck5 added the window pygame.Window label Dec 21, 2023
@Starbuck5 Starbuck5 requested a review from a team as a code owner December 21, 2023 08:35
@Starbuck5 Starbuck5 added the docs label Dec 21, 2023
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 for the PR 🎉

@ankith26 ankith26 added this to the 2.4.0 milestone Dec 21, 2023
Copy link
Member

@zoldalma999 zoldalma999 left a comment

Choose a reason for hiding this comment

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

Agreed on not just removing it, all current apps that use Window and surfaces together use this. But keeping this up must also be a nightmare, so it should go.

@zoldalma999 zoldalma999 merged commit 020f6d0 into pygame-community:main Dec 23, 2023
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs window pygame.Window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants