[IPython-user] __file__ bug

Alexander Schmolck a.schmolck@gmx....
Wed Mar 28 18:55:02 CDT 2007


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.

cheers,

'as


More information about the IPython-user mailing list