Comment #22 on issue 1198 by asmeu...@gmail.com: pickle does not work for
Function
http://code.google.com/p/sympy/issues/detail?id=1198
It seems this breaks printing
In [1]: f
Out[1]:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-1-9a8ad92c50ca> in <module>()
----> 1 f
/Users/aaronmeurer/Documents/ipython/IPython/core/displayhook.pyc in
__call__(self, result)
245 self.start_displayhook()
246 self.write_output_prompt()
--> 247 format_dict, md_dict = self.compute_format_data(result)
248 self.write_format_data(format_dict, md_dict)
249 self.update_user_ns(result)
/Users/aaronmeurer/Documents/ipython/IPython/core/displayhook.pyc in
compute_format_data(self, result)
155
156 """
--> 157 return self.shell.display_formatter.format(result)
158
159 def write_format_data(self, format_dict, md_dict=None):
/Users/aaronmeurer/Documents/ipython/IPython/core/formatters.pyc in
format(self, obj, include, exclude)
150 md = None
151 try:
--> 152 data = formatter(obj)
153 except:
154 # FIXME: log the exception
/Users/aaronmeurer/Documents/ipython/IPython/core/formatters.pyc in
__call__(self, obj)
479 type_pprinters=self.type_printers,
480 deferred_pprinters=self.deferred_printers)
--> 481 printer.pretty(obj)
482 printer.flush()
483 return stream.getvalue()
/Users/aaronmeurer/Documents/ipython/IPython/lib/pretty.pyc in pretty(self,
obj)
345 if cls in self.type_pprinters:
346 # printer registered in self.type_pprinters
--> 347 return self.type_pprinters[cls](obj, self,
cycle)
348 else:
349 # deferred printer
/Users/aaronmeurer/Documents/ipython/IPython/lib/pretty.pyc in
_type_pprint(obj, p, cycle)
648 name = obj.__name__
649 else:
--> 650 name = mod + '.' + obj.__name__
651 p.text(name)
652
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.