Menu

#272 CTRL+'i' doesn't update PYTHONPATH.

open
nobody
pythonwin (177)
5
2006-03-13
2006-03-13
Christopher
No

Discussion

  • Christopher

    Christopher - 2006-03-13

    Logged In: YES
    user_id=1471341

    Once PYTHONPATH has been augmented for a given PythonWin
    session, the original PYTHONPATH doesn't get recreated
    until you close and reopen PythonWin.

    The steps to replicate this are documented in the file "
    runme.py" in the attached zip file.

     
  • Christopher

    Christopher - 2006-03-13
    • summary: <ctrl>+'i' doesn't always work. --> CTRL+'i' doesn't always work.</ctrl>
     
  • Christopher

    Christopher - 2006-03-13

    Sample code replicating the bug.

     
  • Christopher

    Christopher - 2006-03-13

    Logged In: YES
    user_id=1471341

     
  • Christopher

    Christopher - 2006-03-13
    • summary: CTRL+'i' doesn't always work. --> CTRL+'i' doesn't update PYTHONPATH.
     
  • Mark Hammond

    Mark Hammond - 2006-03-22

    Logged In: YES
    user_id=14198

    I'm short on time, so if you could help me dig further it
    would be great.

    The problem will be related to the fact Pythonwin does
    everything in-process, and does a simple inspection of
    sys.modules to determine if a 'reload' should be done
    instead of a simple import. Its not obvious from your
    package hierarchy what is going wrong - if all else fails,
    I'll try and get to this myself later.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.