[IPython-user] Deprecations galore
Ville M. Vainio
vivainio@gmail....
Thu May 24 12:12:38 CDT 2007
Inspired by recent cleanups and %r magic, I went off and kinda
deprecated bunch of magics. I moved them from Magic.py to
ipy_legacy.py. No worries, the default profile still imports
ipy_legacy but e.g. "sh" profile does not, in the interest of
providing leaner meaner IPython to those who are not slaves of (bad)
habits ;-)
Here they are in all their splendour:
[IPython\Extensions]|17> grep "def magic_" ipy_legacy.py
def magic_pdef(self, parameter_s='', namespaces=None):
def magic_pdoc(self, parameter_s='', namespaces=None):
def magic_psource(self, parameter_s='', namespaces=None):
def magic_pfile(self, parameter_s=''):
def magic_rehash(self, parameter_s = ''):
def magic_dhist(self, parameter_s=''):
def magic_Quit(self, parameter_s=''):
def magic_p(self, parameter_s=''):
def magic_r(self, parameter_s=''):
def magic_automagic(self, parameter_s = ''):
def magic_autocall(self, parameter_s = ''):
Rationale for each is in ipy_legacy.py in svn.
Also, I moved profiles away from UserConfig to Extensions, since they
are almost never edited anyway.
Yes, it's big change. And it's all good. But please try those magics
out on default profile, in case something broke.
Here's the grand changelist:
http://projects.scipy.org/ipython/ipython/changeset/2380
My network was down, so I didn't split it into smaller changes.
--
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
More information about the IPython-user
mailing list