-
Notifications
You must be signed in to change notification settings - Fork 8
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 results to different pipe #116
Conversation
I tried adding another pipe but all I/O stopped working... great :( First I tried Maybe I should just try getting custom pipes working with stdout/stdin first and then expand. |
6a144e5
to
cf38d95
Compare
dump got a error because the result_stream object is None ~ possibly because result_stream is only initialized if arepl_python_evaluator is executed directly. I tried moving the opening of the stream to the print_output function using I need to somehow have the stream be a global object shared with dump. |
Note that when I run the test I got:
Python-shell fails because this.stderr is true so it listens to data event of stderr and calls receiveStderr which calls recieveInternal which calls stderrParser but stderrParser is null due to binary mode. I'll have to either fix it or adapt my code. |
version is checked in frontend anyways
vscode upgraded node to v12 last year https://code.visualstudio.com/updates/v1_40#_electron-60-update
Here is an overview of what got changed by this pull request: Issues
======
+ Solved 2
- Added 2
Complexity increasing per file
==============================
- python/arepl_python_evaluator.py 2
- python/arepl_result_stream.py 1
See the complete overview on Codacy |
Other changes this PR introduces:
|
🎉 This PR is included in version 1.3.9 🎉 The release is available on: Your semantic-release bot 📦🚀 |
It simplifies the code if results come in on a different pipe and also that way prints don't interfere with the results.
To fix Almenon/AREPL-vscode#327