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

True silent in OctaveEngine.eval #232

Open
yasirroni opened this issue Mar 26, 2023 · 2 comments
Open

True silent in OctaveEngine.eval #232

yasirroni opened this issue Mar 26, 2023 · 2 comments

Comments

@yasirroni
Copy link

yasirroni commented Mar 26, 2023

This is not an issue, but just asking for clarification or asking for feature.

I'm reading octave_kernel and planning to make the kernel execute or evaluate a code in octave, but without expecting a resp.

The code in

def eval(self, code, timeout=None, silent=False):
seems accept silent arguments, and that make stream_handler and line_handler to be None. But, it seems that some data still passed to resp.

Is it possible to make resp contain nothing, except meta information such as error or success? It is like skipping an ans from octave and not asking the ans value. It might be useful to reduce computation time or if ans contains big string .

@blink1073
Copy link
Contributor

Makes sense to me, would you like to submit a PR?

@yasirroni
Copy link
Author

I would like to, but after reading this repo, I think I need to learn meta_kernel, or even submit PR there first (?) and I'm afraid I can't make it.

Let this issue open for now then.

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

No branches or pull requests

2 participants