Message270447
The way the python path is initialized with the embeddable python distribution makes no sense for me.
If no environment variable PYTHONPATH is set, then the path is initialized like this:
[python352]\python35.zip;.\DLLs;.\lib;[folder_of_executable]
--> the distribution folder itself is not in the path ([python352]), an import of _socket will thus fail !
--> Having DLLs and lib in the path is useless
(Notice, that when the PYTHONHOME is initialized, then the path '[python352]' is also used for DLLs and lib (instead of '.\')
If the environment variable PYTHONPATH is set, then the path is extended like this:
[python352]\python35.zip;[folder_of_executable]
--> the distribution folder itself is not in the path ([python352]), an import of _socket will thus fail !
I would prefer this behavior:
* python path is not initialized anymore with 'DLLs' and 'lib'
* the distribution-folder should always be added to the python-path |
|
Date |
User |
Action |
Args |
2016-07-14 22:50:14 | palm.kevin | set | recipients:
+ palm.kevin |
2016-07-14 22:50:14 | palm.kevin | set | messageid: <1468536614.57.0.563747018021.issue27516@psf.upfronthosting.co.za> |
2016-07-14 22:50:14 | palm.kevin | link | issue27516 messages |
2016-07-14 22:50:14 | palm.kevin | create | |
|