On 22/09/15 08:16, Nathann Cohen wrote:
This works

sage: !touch my_file.pyx
sage: %runfile my_file.pyx

Indeed, but I wouldn't mind if it were automatic somehow :-/

It would be reasonable to me that %runfile does execute (or compile) the file whatever the filestamp says. For automatic recompilation when it does change we have the %attach.

It seems to be because of Cython (there might be a force=True option to do that)... you can have a look at sage/repl/ipython_extension.py and sage/repl/load.py

Vincent

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to