[IPython-dev] An idea: unique synthetic filenames
Tue Sep 23 13:57:16 CDT 2008
On Mon, Sep 22, 2008 at 04:23:35PM -0500, Robert Kern wrote:
> Currently, for each In, we compile the input to a code object with a fake
> filename like "<string>" or "<ipython console>". If we were to generate a unique
> fake filename for each input, say "<ipython console 10>" to correspond with
> In, we could then stuff the text into linecache. This will be used in
> tracebacks and other similar tools (like my line_profiler).
> Worth a shot?
Seems like a good idea to me.
More information about the IPython-dev