[IPython-dev] IPython with Py3k

Fernando Perez fperez.net at gmail.com
Wed Sep 15 16:49:05 EDT 2010

On Wed, Sep 15, 2010 at 1:04 PM, Thomas Kluyver <takowl at gmail.com> wrote:
> Thanks, that's great, and I've fixed it now. It was unpacking the exception
> into variables, which is no longer possible in Python 3. I think this will
> be compatible with Python 2.6, so I may put it back into ipy3-preparation at
> some point. One question: the code describes stuffing the filename into the
> exception '(because Python's parser always uses "<string>" when reading from
> a string)'. In what context is this used? Disabling it doesn't seem to make
> any difference in the cases I've tried, but have I overlooked something?

It may matter when running code from scripts, via %run.  You can try
that...  Sorry to be a little vague, I just don't recall precisely
what it could be, and that's the price we pay for not having written
years ago a unit test that would validate that feature.



More information about the IPython-dev mailing list