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

Switch to using a context manager for disable_print #310

Merged
merged 2 commits into from Jan 19, 2024

Conversation

sequoiap
Copy link
Contributor

This restores print functionality after exiting the context manager. Fixes #309 where print inside an interactive environment is not restored after calling enable_print().

Copy link
Contributor

@joamatab joamatab left a comment

Choose a reason for hiding this comment

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

Thank you Sequoia!

@joamatab joamatab merged commit 5179816 into gdsfactory:main Jan 19, 2024
12 of 13 checks passed
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.

print function fails after enable_print
2 participants