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

Allow clean silencing of support prompt #559

merged 1 commit into from Oct 16, 2018


None yet
2 participants
Copy link

Bottersnike commented Oct 15, 2018

As nice as the prompt is, there are some situations where it's really not appropriate. At current, the best way to silence it is something like

import io, sys
stdout = sys.stdout
sys.stdout = io.StringIO()
import pygame
sys.stdout = stdout
del stdout, io, sys

This patch would allow the user to define the PYGAME_HIDE_SUPPORT_PROMPT environment variable in which case importing pygame wouldn't print the extra two lines.


This comment has been minimized.

Copy link

illume commented Oct 15, 2018



@illume illume closed this Oct 15, 2018

@illume illume reopened this Oct 16, 2018

@illume illume merged commit 165bf99 into pygame:master Oct 16, 2018

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build is in progress
continuous-integration/appveyor/pr AppVeyor build succeeded

This comment has been minimized.

Copy link

illume commented Oct 16, 2018

Thanks, and sorry.

@illume illume referenced this pull request Oct 16, 2018


1.9.5 release notes. #561

4 of 4 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.