##// END OF EJS Templates
deprecate ipmagic, ipalias and ipsystem
vivainio -
Show More
@@ -6,7 +6,7 b' Requires Python 2.3 or newer.'
6 6
7 7 This file contains all the classes and helper functions specific to IPython.
8 8
9 $Id: iplib.py 1934 2006-11-26 20:37:01Z vivainio $
9 $Id: iplib.py 1935 2006-11-26 20:42:29Z vivainio $
10 10 """
11 11
12 12 #*****************************************************************************
@@ -723,13 +723,13 b' class InteractiveShell(object,Magic):'
723 723 # TODO: deprecate all except _ip; 'jobs' should be installed
724 724 # by an extension and the rest are under _ip, ipalias is redundant
725 725 builtins_new = dict(__IPYTHON__ = self,
726 ip_set_hook = self.set_hook,
727 jobs = self.jobs,
728 ipmagic = self.ipmagic,
729 ipalias = self.ipalias,
730 ipsystem = self.ipsystem,
731 _ip = self.api
732 )
726 ip_set_hook = self.set_hook,
727 jobs = self.jobs,
728 ipmagic = wrap_deprecated(self.ipmagic,'_ip.magic()'),
729 ipalias = wrap_deprecated(self.ipalias),
730 ipsystem = wrap_deprecated(self.ipsystem,'_ip.system()'),
731 _ip = self.api
732 )
733 733 for biname,bival in builtins_new.items():
734 734 try:
735 735 # store the orignal value so we can restore it
General Comments 0
You need to be logged in to leave comments. Login now