[IPython-dev] access to __file__

Fernando Perez Fernando.Perez at colorado.edu
Wed Jan 18 00:32:44 CST 2006


Fernando Perez wrote:
> Vivian De Smedt wrote:
> 
>>Fernando,
>>
>>I use the svn version of IPython and I notice a small difference between
>>python brol.py and IPython run brol.py.
>>
>>It seems that IPython run brol.py do not have access to the special
>>__file__ attribute of the brol.py module.
> 
> 
> Confirmed bug, I'll try to clear it this weekend.

Fixed, will commit shortly.

Note that the bug had been present already in 0.6.15 and before, you just 
hadn't seen it (nor had I).

Thanks for the report,

f




More information about the IPython-dev mailing list