Odd behavior here. All consecutive f? after I write f?? return the
error below.
sage: def f(x):
....: x
....:
sage: f?
Type: function
Base Class: <type 'function'>
String Form: <function f at 0xb0f3f924>
Namespace: Interactive
File: /home/brharris/Desktop/sage-2.5-linux_32bit-debian-
i686-Linux/<ipython console>
Definition: f(x)
sage: f??
Error getting source: could not get source code
Type: function
Base Class: <type 'function'>
String Form: <function f at 0xb0f3f924>
Namespace: Interactive
File: /home/brharris/Desktop/sage-2.5-linux_32bit-debian-
i686-Linux/<ipython console>
Definition: f(x)
sage: f?
---------------------------------------------------------------------------
<type 'exceptions.TypeError'> Traceback (most recent call
last)
/home/brharris/Desktop/sage-2.5-linux_32bit-debian-i686-Linux/local/
lib/python2.5/site-packages/sage/misc/interpreter.py in
sage_prefilter(self, block, continuation)
408 block2 = block
409
--> 410 return InteractiveShell._prefilter(self, block2,
continuation)
411
412
/home/brharris/Desktop/sage-2.5-linux_32bit-debian-i686-Linux/local/
lib/python2.5/site-packages/IPython/iplib.py in _prefilter(self, line,
continue_prompt)
2165 handler = self.esc_handlers.get(iFun[0:1])
2166 if handler is not None:
-> 2167 return
handler(line,continue_prompt,pre,iFun,theRest)
2168 # Emacs ipython-mode tags certain input lines
2169 if line.endswith('# PYTHON-MODE'):
/home/brharris/Desktop/sage-2.5-linux_32bit-debian-i686-Linux/local/
lib/python2.5/site-packages/IPython/iplib.py in handle_help(self,
line, continue_prompt, pre, iFun, theRest)
2409 if line:
2410 #print 'line:<%r>' % line # dbg
-> 2411 self.magic_pinfo(line)
2412 else:
2413
page(self.usage,screen_lines=self.rc.screen_length)
/home/brharris/Desktop/sage-2.5-linux_32bit-debian-i686-Linux/local/
lib/python2.5/site-packages/IPython/Magic.py in magic_pinfo(self,
parameter_s, namespaces)
771 else:
772 self._inspect('pinfo', oname,
detail_level=detail_level,
--> 773 namespaces=namespaces)
774
775 def magic_psearch(self, parameter_s=''):
/home/brharris/Desktop/sage-2.5-linux_32bit-debian-i686-Linux/local/
lib/python2.5/site-packages/IPython/Magic.py in _inspect(self, meth,
oname, namespaces, **kw)
705 pmethod(info.obj,oname,formatter)
706 elif meth == 'pinfo':
--> 707 pmethod(info.obj,oname,formatter,info,**kw)
708 else:
709 pmethod(info.obj,oname)
/home/brharris/Desktop/sage-2.5-linux_32bit-debian-i686-Linux/local/
lib/python2.5/site-packages/IPython/OInspect.py in pinfo(self, obj,
oname, formatter, info, detail_level)
410 defln = self.__getdef(obj,oname)
411 if defln:
--> 412 out.write(header('Definition:\t')
+self.format(defln))
413
414 # Docstrings only in detail 0 mode, since source
contains them (we
<type 'exceptions.TypeError'>: cannot concatenate 'str' and 'NoneType'
objects
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---