[IPython-dev] [Fwd: [IPython SVN] New commit performed by fperez]
Fernando Perez
Fernando.Perez at colorado.edu
Tue Aug 16 16:52:27 EDT 2005
Heads up (esp. Frederic),
I normally don't mention all SVN commits here, but in this case there is an
API change which may impact some users. Please see the commit log below. It
will only affect those who use custom exception handlers, and they can still
have the same functionality as before. It's just that instead of using the
self.code_to_run_src
attribute, if they want to print/use source information they can either use
the self.buffer object, which is a list of lines, or assemble a string via
'\n'.join(self.buffer)
I hadn't realized I was duplicating this attribute, and duplication like this
is bugs waiting to happen.
Cheers,
f
-------- Original Message --------
Subject: [IPython SVN] New commit performed by fperez
Date: Tue, 16 Aug 2005 11:34:52 -0600
From: Fernando Perez <fperez at maqroll.colorado.edu>
To: fperez at colorado.edu
Commit performed at: Tue Aug 16 11:34:37 2005
SVN arguments used:
SVN Version: 687:703
This version probably points to this changeset:
http://projects.scipy.org/ipython/ipython/changeset/687:703
Current SVN status after last commit:
------------------------------------------------------------------------
r703 | fperez | 2005-08-16 11:34:44 -0600 (Tue, 16 Aug 2005) | 9 lines
* IPython/iplib.py (runsource): remove self.code_to_run_src attribute. I
realized this is nothing more than '\n'.join(self.buffer), and having the
same data in two different places is just asking for synchronization bugs.
This may impact people who have custom exception handlers, so I need to warn
ipython-dev about it (F. Mantegazza may use them).
* Fix http://www.scipy.net/roundup/ipython/issue38
------------------------------------------------------------------------
More information about the IPython-dev
mailing list