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

implement saved history for consoles #47

Open
stevengj opened this issue Aug 13, 2013 · 0 comments
Open

implement saved history for consoles #47

stevengj opened this issue Aug 13, 2013 · 0 comments

Comments

@stevengj
Copy link
Member

The notebook doesn't seem to use the history_request mechanism yet, but it is used in the qtconsole. Currently, we have a stub implementation that saves no history, but it would be good to implement a saved-history file if people are going to use the console.

I was thinking of using an implementation and file format similar to what @loladiro is experimenting with in his REPL.jl module. On the other hand, IPython uses an SQLite database, which seems like overkill for a sequential list of strings but I guess is nicer if multiple processes want to write history?

IPython technically requests the text/plain output from the history too, as @minrk explained in ipython/ipython#3806. I'm not sure why, though—it doesn't seem like qtconsole and I was thinking of just saving the input strings and sending empty output strings to IPython.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant