Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=7000939
By: drdeee

Hi,
I am not sure if someone else has noticed (and maybe i have made weird changes
to Pydev) but it seems that there are sometimes subtle differences between 
Python
code executed in Eclipse / Pydev and Python stand alone. I noticed two different
behaviors:
1) the call to os.environ["PATH"] creates a different path when running Pydev
in Eclipse on OSX then running it stand alone in Python on OSX. In Pydev it
seems that the path is missing the directories that are added to the personal
shell profiles.

2) When parsing ASCII files, Pydev handles non-standard ASCII characters without
throwing an error, even without using string = string.decode('utf-8') while
the same code will throw an error when running stand alone on the same set of
files. (This happens on a Windows machine)

The second case is not so much of a problem, it makes life a little bit easier
because the code is suddenly a little bit more robust, the first problem caused
some real headache to figure out why python wouldn't launch an external program
from within pydev. My question is basically this: is this intended behavior
of Pydev?
Thanks a lot for Pydev, it has improved my productivity significantly!!
best,
Diederik

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

------------------------------------------------------------------------------
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to