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
notebook %reset magic fails with StdinNotImplementedError #1268
Comments
Not a dupe; %reset shouldn't depend on stdin and should work in the notebook. So this is definitely a bug. |
Actually never mind: it's halting because reset tries to ask the user for confirmation. In the notebook, you can use it with the -f option to avoid the prompt. There's really no way of knowing in advance whether stdin will be called, and since the kernel is agnostic to which client is controlling it, I don't think there's more we can do about this one. Closing (the real issue being stdin in the notebook). |
Could magic_reset() not simply catch the Or if we don't want to make that the default, it could print out a message saying "Use %reset -f to confirm". I think this would annoy more people than it helped, though. |
On Sun, Jan 15, 2012 at 3:58 AM, Thomas
Actually that's not a bad idea: %reset would simply assume that if So I take my original point back, and I think Thomas' fix is both |
forgive me if this is a duplicate of the general issue of stdin not being implemented, but just wanted to report this bug on current git.
here's the trace:
The text was updated successfully, but these errors were encountered: