[IPython-user] bug in edit magic: content of edited file is not accessible

Fernando Perez Fernando.Perez at colorado.edu
Wed Jan 11 18:35:48 CST 2006


Alexander Belchenko wrote:
> In 0.6.15 when I edit file with edit magic command I've got content of 
> edited file in last Out variable. In 0.7.0 this is broken: after editing 
> code was executed but text is not accessible as _X variable. Is this 
> intended behaviour? I think it's a bug.

Well, I deliberately removed that return statement, because I was finding it 
annoying to get all that output, just after I'd been editing the file anyways. 
  If you could clarify your usage case for needing that info back as a 
variable, I can come up with a decent solution for the various cases.

Cheers,

f




More information about the IPython-user mailing list