-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
fix statement-end detection in qtconsole #22
Comments
The QtConsole uses an InputSplitter to determine whether the current input block is complete and should imply execute here. The long-term fix (hopefully this Fall) is to add a message for this, so frontends can query the kernel for this information rather than all frontends having to know about all kernel languages. The short-term workarounds are:
We can probably add a simple switch in IPython that lets you skip input-checking with a flag rather than a patch to the frontend. |
Fall seems awfully far away – is there some dependency or release policy that prevents this being done sooner? |
Fall means it will probably be implemented by Fall, just a question of time. Le dimanche 28 juillet 2013, Stefan Karpinski a écrit :
|
It might be next week if you live on master, I just think it will miss the 1.0 cutoff since it's technically a new feature. |
Fair enough. A feature freeze is a feature freeze. |
For instance... ipython/ipython#3814 |
We'll try to add the ability to disable autoexec for 1.0 (we really love you guys), but changing the message spec for 1.0 might be a lot. |
That seems like a reasonable compromise – thanks! |
Closing for now, since this is a reasonable interim solution pending spec updates. |
No, there has been no progress on extending the statement parsing in frontends. A proposal has been made to add a message for querying the kernel, since that's where this knowledge actually resides. |
Currently, the
qtconsole
front-end is broken because it is using a Python heuristic for detecting whether the statement is ended (i.e. whether starts a new line in the same cell or completes the cell and requests execution).@fperez mentioned this issue, but I forget where he said it had to be fixed. (Somewhere in the front end, though, not in the back-end kernel.)
The text was updated successfully, but these errors were encountered: