[IPython-dev] History
Robert Kern
robert.kern at gmail.com
Fri Feb 18 14:34:43 EST 2011
On 2/18/11 1:14 PM, Thomas Kluyver wrote:
> >Ordering multiple sessions:
> While it's worth some thought, let's not lose too much sleep over the order. As
> we've determined, if you want to go more than a few lines back in the history,
> you search it somehow, in which case order doesn't matter much.
Right. Just pick a simple rule that keeps sessions intact, say ordered by the
start time of the session. The only thing to avoid is interleaving inputs from
different sessions.
> (Robert/Brian) > Notebooks
> [Snip] OK, Robert's clarified now that he meant something more like a logbook
> than the UI option we've called a notebook.
>
> Robert: storing the output is a bit trickier. We can store the repr of it easily
> enough, which might be what you want. We could pickle output items and store
> them, but that could quickly make the database file very large.
I don't mean the actual objects, just whatever is given by the DisplayFormatter
system and the displayhook, i.e. whatever would get sent to a remote frontend.
I'm happy to have it be an extension functionality disabled by default, but I do
think that it should live in the same SQLite DB to get the references right.
> If you want to
> save a session with output, I believe you can use "%hist -of session.txt".
Not what I'm looking for, but that functionality could be more easily (and
efficiently) backed by the datastore I'm asking for.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the IPython-dev
mailing list