[IPython-user] __file__ bug

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


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:


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.



More information about the IPython-user mailing list