##// END OF EJS Templates
Do not update _oh and _123 when do_full_cache is not true, closes \#194
vivainio -
Show More
@@ -2,7 +2,7 b''
2 """
2 """
3 Classes for handling input/output prompts.
3 Classes for handling input/output prompts.
4
4
5 $Id: Prompts.py 2659 2007-08-22 20:21:07Z vivainio $"""
5 $Id: Prompts.py 2855 2007-11-06 06:53:49Z vivainio $"""
6
6
7 #*****************************************************************************
7 #*****************************************************************************
8 # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu>
8 # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu>
@@ -586,8 +586,8 b' class CachedOutput:'
586 if self.do_full_cache:
586 if self.do_full_cache:
587 new_result = '_'+`self.prompt_count`
587 new_result = '_'+`self.prompt_count`
588 to_main[new_result] = arg
588 to_main[new_result] = arg
589 self.user_ns.update(to_main)
589 self.user_ns.update(to_main)
590 self.user_ns['_oh'][self.prompt_count] = arg
590 self.user_ns['_oh'][self.prompt_count] = arg
591
591
592 def flush(self):
592 def flush(self):
593 if not self.do_full_cache:
593 if not self.do_full_cache:
@@ -1,7 +1,7 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """Release data for the IPython project.
2 """Release data for the IPython project.
3
3
4 $Id: Release.py 2842 2007-10-11 21:30:26Z fperez $"""
4 $Id: Release.py 2855 2007-11-06 06:53:49Z vivainio $"""
5
5
6 #*****************************************************************************
6 #*****************************************************************************
7 # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu>
7 # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu>
@@ -22,7 +22,7 b" name = 'ipython'"
22 # because bdist_rpm does not accept dashes (an RPM) convention, and
22 # because bdist_rpm does not accept dashes (an RPM) convention, and
23 # bdist_deb does not accept underscores (a Debian convention).
23 # bdist_deb does not accept underscores (a Debian convention).
24
24
25 revision = '2841'
25 revision = '2848'
26
26
27 version = '0.8.2.svn.r' + revision.rstrip('M')
27 version = '0.8.2.svn.r' + revision.rstrip('M')
28
28
@@ -1,3 +1,8 b''
1 2007-16-6 Ville Vainio <vivainio@gmail.com>
2
3 * Prompts.py: Do not update _oh and _123 when do_full_cache is not
4 true. Closes #194.
5
1 2007-11-01 Brian Granger <ellisonbg@gmail.com>
6 2007-11-01 Brian Granger <ellisonbg@gmail.com>
2
7
3 * iplib.py, rlineimpl.py: Applied Body Water's patches to get IPython
8 * iplib.py, rlineimpl.py: Applied Body Water's patches to get IPython
General Comments 0
You need to be logged in to leave comments. Login now