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

Make BypassStdoutInterpreter compatible with EmPy 4.x #664

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Sep 6, 2024

Nothing much really changes here, but EmPy 4.x does some confusing things with the output option when useProxy is False, which we must set (in a separate change) to deal with stdout getting flushed/closed/etc.

In addition to keeping EmPy from modifying sys.stdout, this change also aligns the behavior of EmPy 4.x with 3.x with regard to the output option. IMO this is a bug in 4.x, but I don't really have the energy to figure out how to report it.

@cottsay cottsay added the enhancement New feature or request label Sep 6, 2024
@cottsay cottsay added this to the 0.17.2 milestone Sep 6, 2024
@cottsay cottsay self-assigned this Sep 6, 2024
Copy link

codecov bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.35%. Comparing base (090e650) to head (414beda).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #664   +/-   ##
=======================================
  Coverage   87.35%   87.35%           
=======================================
  Files          67       67           
  Lines        3914     3914           
  Branches      776      776           
=======================================
  Hits         3419     3419           
  Misses        391      391           
  Partials      104      104           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cottsay cottsay merged commit 927af5e into master Sep 10, 2024
36 checks passed
@cottsay cottsay deleted the cottsay/empy-stdout-bypass branch September 10, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants