[IPython-user] Problems with "_" syntax output cache
Tue Dec 23 02:07:39 CST 2008
Nope, it seems to be set to 1000 ... any other possibilities? This is
particularly strange given that everything else (e.g. tab completion,
Out[#] syntax, etc.) seems to have worked fine in the switchover.
On Sat, Dec 20, 2008 at 9:14 AM, Ville M. Vainio <email@example.com> wrote:
> On Wed, Dec 17, 2008 at 5:34 AM, Erik Tollerud <firstname.lastname@example.org> wrote:
>> I recently changed from using ipythonrc profile config files to the
>> new ipy_profile_whatever.py files ... everything worked fine except
>> for one strange thing: All of a sudden, using "_", "__", "___", or
>> '_#" to access the output cache no longer seems to work. If I use "_"
>> I see an object that prints as "<bound method NullTranslations.gettext
>> of <gettext.NullTranslations instance at 0xae73f0c>>", "__" or "___"
>> just give an empty string, and "_#" raises a NameError. How did I
>> break this cache, and how do I get it back?
> Perhaps you can check you 'cache_size' option, should be > 3.
> [c:p/leo]|51> _ip.options.cache_size
> <51> 1000
> Did you change it to something else?
> Ville M. Vainio
Center For Cosmology
Department of Physics and Astronomy
2142 Frederick Reines Hall
University of California, Irvine
Office Phone: (949)824-2587
More information about the IPython-user