Patiencer / pyscripter

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

Changes to imported moduels are not picked up unless IDE is restarted #290

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create two modules, Test1.py, Test2.py
2. In Test2.py, add: TestVar=True
3. In Test1.py, add: import Test2.py, print Test2.TestVar
4. Run Test1.py, prints True as expected
4. Change Test2.py: TestVar=False, save file Test2.py
5. Run Test1.py, prints True (should have printed False)
6. It appears that the change made to Test2.py was not picked up by the
import statement in Test1.py

If PyScripter is shut down, and then restarted, the correct value is printed. 

What is the expected output? What do you see instead?
Should have printed False to reflect the change made to Test2.py

What version of the product are you using? On what operating system?
Python 2.6, 3.0, on PyScripter 1.9.9.6 on WinXP Pro 32 and Vista Home
Premium 64.

Please provide any additional information below.
This does not happen in PyScripter 1.7.2.

Original issue reported on code.google.com by davidossorio on 3 Mar 2009 at 8:19

GoogleCodeExporter commented 9 years ago
Duplicate of 256.  See comments there.

Original comment by pyscripter on 4 Mar 2009 at 12:20