[IPython-dev] Missing Import in pspersistence.py
Hans Meine
hans_meine at gmx.net
Sat Apr 15 10:18:45 EDT 2006
Hi!
I could not start IPython because I got crash log; The reason is a missing
import of sys in pspersistence.py:
--- IPython/Extensions/pspersistence.py (Revision 1265)
+++ IPython/Extensions/pspersistence.py (Arbeitskopie)
@@ -12,7 +12,7 @@
import pickleshare
-import inspect,pickle,os,textwrap
+import inspect,pickle,os,sys,textwrap
from IPython.FakeModule import FakeModule
def restore_aliases(self):
BTW: Isn't the %store per-profile, analoguous to the history?
(I use to store objects of classes defined in extension modules loaded by the
profile, but the error conceiled by the above crash was that it was trying to
load these when starting w/o profile.)
Greetings and a happy easter!
Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20060415/4a566749/attachment.sig>
More information about the IPython-dev
mailing list