C
Ciccio
Try this:
1) define a function 'foo' in a script
2) runfile the script from a shell
3) do 'inspect.getsource(foo)'
4) change the source of 'foo'
5) runfile the script from the same shell
6) do 3 again
On my 2.6.6 getsource returns twice the same code. I couldn't find
very much about this, is there any known workaround?
thanks
1) define a function 'foo' in a script
2) runfile the script from a shell
3) do 'inspect.getsource(foo)'
4) change the source of 'foo'
5) runfile the script from the same shell
6) do 3 again
On my 2.6.6 getsource returns twice the same code. I couldn't find
very much about this, is there any known workaround?
thanks