[Yt-svn] New issue 304 in yt: iyt: Add support for ipython 0.10.2 (Debian)

Bitbucket issues-noreply at bitbucket.org
Wed Sep 21 05:31:46 PDT 2011


--- you can reply above this line ---

New issue 304: iyt: Add support for ipython 0.10.2 (Debian)
https://bitbucket.org/yt_analysis/yt/issue/304/iyt-add-support-for-ipython-0102-debian

Steffen Klemer / sklemer on Wed, 21 Sep 2011 14:31:46 +0200:

Description:
  At least on Debian unstable with ipython 0.10.2 I have to add

namespace.pop('__builtins__')

before calling IPython.Shell in line scripts/iyt:31

Otherwise I get "<ERROR: 'dict' object has no attribute 'len'>" when using the ipython builtin indentation:

In [82]: def some_func():
<ERROR: 'dict' object has no attribute 'len'>    |

("|" is the cursor position).


I found some information here:
http://comments.gmane.org/gmane.comp.web.pylons.general/11152

With the mentioned pop of __builtins__ it works like a charm.


--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.



More information about the yt-svn mailing list