helwardany / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

change in another module file doesn't take effect unless pyscripter is restarted #539

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create main.py and module1.py in the same directory
2. let main() in main.py call f() in module1.py
3. change the content of f(), do a save in module1.py and execute main.py 
again. Same result?!

What is the expected output? What do you see instead?

def f():
    print(1+2)  

is changed to 

def f():
    print(1+3)

the print result shall be 4. But it still shows 3?! unless I restart the 
pyscripter.

What version of the product are you using? On what operating system?

the latest 2.4.1

Please provide any additional information below.

Original issue reported on code.google.com by zxpat...@gmail.com on 13 Jul 2011 at 3:49

GoogleCodeExporter commented 9 years ago
It is on Win7 64bit enterprise. Very inconvenient having to restart the 
pyscripter even a small change is made in imported modules.

Original comment by zxpat...@gmail.com on 13 Jul 2011 at 3:52

GoogleCodeExporter commented 9 years ago
Use the remote Python engine (Run, Python Engine, Remote) and reinitialize 
before each done.  This last step is done automatically by default.

Original comment by pyscripter on 15 Jul 2011 at 1:27