[IPython-user] __file__ bug

Fernando Perez fperez.net@gmail....
Wed Mar 28 19:02:44 CDT 2007

On 29 Mar 2007 00:55:02 +0100, Alexander Schmolck <a.schmolck@gmx.net> wrote:
> Hi,
> ipython has the unfortunate behavior to lie about the ``__file__`` that's
> being ``run`` (apparently to work around some bug in an older python
> version?), google found this:
> <http://lists.ipython.scipy.org/pipermail/ipython-dev/2006-June/002255.html>
> any news on the issue or possible workarounds?
> I've no idea how else to code and then ``run`` a unitest that needs to know
> its own directory, but if there's another simple way to achieve that I'd be
> all ears.

Can you try SVN?  I recently fixed this...



More information about the IPython-user mailing list