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

Feat: try except for importing sys.stdout.buffer #151

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

ldevillez
Copy link
Collaborator

Description

If we import svg2tikz in Pyzo it will fails as because Pyzo replace sys.stdout.buffer. In this case it is not used so it can be redefined (pyzo/pyzo#911)

Fixes #144

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Test suite runned

Checklist:

  • My code follows the style guidelines of this project (black/pylint)
  • I have updated the changelog with the corresponding changes
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@ldevillez ldevillez linked an issue Oct 6, 2023 that may be closed by this pull request
@ldevillez ldevillez merged commit cf37221 into master Oct 6, 2023
4 checks passed
@ldevillez ldevillez deleted the 144-importing-module-fails-in-pyzo branch November 17, 2023 14:24
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.

Importing module fails in Pyzo
1 participant