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

Don't enable extension if sys.__stdout|err__ is None #44

Merged
merged 1 commit into from
Mar 30, 2021
Merged

Conversation

minrk
Copy link
Owner

@minrk minrk commented Mar 30, 2021

wurlitzer can't work when this happens, so warn on extension loading instead of enabling hooks that will raise on every execution.

closes #36

it won't work, but maybe shouldn't raise
@minrk minrk merged commit e583419 into master Mar 30, 2021
@minrk minrk deleted the warn-on-none branch March 30, 2021 09:33
@minrk minrk changed the title Don't enable extension if sys.__stdout|err__ is None Don't enable extension if sys.__stdout|err__ is None May 1, 2024
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.

sys.__stdout__ can be None
1 participant