Out of curiosity, when is the path "set up to include the working directory"? I thought that was Python's default behaviour, but apparently not?<br>Antony<br><br><div class="gmail_quote">2012/7/30 Thomas Kluyver <span dir="ltr"><<a href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 30 July 2012 09:03, Antony Lee <<a href="mailto:antony.lee@berkeley.edu">antony.lee@berkeley.edu</a>> wrote:<br>
> Is that behaviour a bug, or documented somewhere?<br>
<br>
</div>It looks like a bug, and I think it's specific to numpy.<br>
<br>
Something in the startup of IPython must be importing numpy before it<br>
sets up the path to include the working directory, so it gets the<br>
system copy instead of the local copy. That will also be slowing down<br>
startup.<br>
<br>
A look in sys.modules suggests that we're also loading simplejson,<br>
paramiko, multiprocessing and unittest, none of which I think we need<br>
for regular use. I'll investigate.<br>
<br>
Thomas<br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</blockquote></div><br>