##// END OF EJS Templates
Fix getglobals() if we're not running under IPython.
walter.doerwald -
Show More
@@ -262,9 +262,10 b' def item(iterator, index, default=noitem):'
262 262 def getglobals(g):
263 263 if g is None:
264 264 if ipapi is not None:
265 return ipapi.get().user_ns
266 else:
267 return globals()
265 api = ipapi.get()
266 if api is not None:
267 return api.user_ns
268 return globals()
268 269 return g
269 270
270 271
@@ -1,3 +1,8 b''
1 2006-07-27 Walter Doerwald <walter@livinglogic.de>
2
3 * IPython/Extensions/ipipe.py: Fix getglobals() if we're
4 not running under IPython.
5
1 6 2006-07-26 Ville Vainio <vivainio@gmail.com>
2 7
3 8 * iplib.py: history now stores multiline input as single
@@ -5,7 +10,7 b''
5 10
6 11 2006-07-18 Walter Doerwald <walter@livinglogic.de>
7 12
8 * IPython/Extensions/ibrowse.py (ix): Make cursor visible over
13 * IPython/Extensions/ibrowse.py: Make cursor visible over
9 14 non existing attributes.
10 15
11 16 2006-07-14 Walter Doerwald <walter@livinglogic.de>
General Comments 0
You need to be logged in to leave comments. Login now