Alternate python interpreter in debugger loses PYTHONPATH
Status: Beta
Brought to you by:
riaan
When running the debugger using an alternative Python
Interpreter (like python_d.exe), the PYTHONPATH set
when boa was started is not honored in the child debug
process. I think the failure is in spawnChild:
76c77,81
< os.environ['PYTHONPATH'] = Preferences.pyPath
---
> if os.environ.has_key('PYTHONPATH'):
> curPath = os.environ['PYTHONPATH']
> else:
> curPath = ''
> os.environ['PYTHONPATH'] = Preferences.pyPath
+ os.pathsep + curPath
Logged In: YES
user_id=438
Yeah, I also had problems with this code and fixed (a little
differently) it after your previous bug report :)
Will be available in 0.2.7 CVS.
Thanks,
Riaan.
Logged In: YES
user_id=438
Commited in CVS.