From 486b46f32c885b743fb7456e16584b099748c616 2007-11-06 06:53:49 From: vivainio Date: 2007-11-06 06:53:49 Subject: [PATCH] Do not update _oh and _123 when do_full_cache is not true, closes \#194 --- diff --git a/IPython/Prompts.py b/IPython/Prompts.py index 9d2d9e1..214ea02 100644 --- a/IPython/Prompts.py +++ b/IPython/Prompts.py @@ -2,7 +2,7 @@ """ Classes for handling input/output prompts. -$Id: Prompts.py 2659 2007-08-22 20:21:07Z vivainio $""" +$Id: Prompts.py 2855 2007-11-06 06:53:49Z vivainio $""" #***************************************************************************** # Copyright (C) 2001-2006 Fernando Perez @@ -586,8 +586,8 @@ class CachedOutput: if self.do_full_cache: new_result = '_'+`self.prompt_count` to_main[new_result] = arg - self.user_ns.update(to_main) - self.user_ns['_oh'][self.prompt_count] = arg + self.user_ns.update(to_main) + self.user_ns['_oh'][self.prompt_count] = arg def flush(self): if not self.do_full_cache: diff --git a/IPython/Release.py b/IPython/Release.py index a7fb29d..1d27aed 100644 --- a/IPython/Release.py +++ b/IPython/Release.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """Release data for the IPython project. -$Id: Release.py 2842 2007-10-11 21:30:26Z fperez $""" +$Id: Release.py 2855 2007-11-06 06:53:49Z vivainio $""" #***************************************************************************** # Copyright (C) 2001-2006 Fernando Perez @@ -22,7 +22,7 @@ name = 'ipython' # because bdist_rpm does not accept dashes (an RPM) convention, and # bdist_deb does not accept underscores (a Debian convention). -revision = '2841' +revision = '2848' version = '0.8.2.svn.r' + revision.rstrip('M') diff --git a/doc/ChangeLog b/doc/ChangeLog index f1ee98f..03ba9b4 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2007-16-6 Ville Vainio + + * Prompts.py: Do not update _oh and _123 when do_full_cache is not + true. Closes #194. + 2007-11-01 Brian Granger * iplib.py, rlineimpl.py: Applied Body Water's patches to get IPython