[issue41304] python 38 embed ignore python38._pth file

2020-07-15 Thread Jimmy Girardet


New submission from Jimmy Girardet :

Hi,
With python embed unziped in `38` directory(python 3.8.4):

```
# python38._pth
python38.zip
.
..\\app
# Uncomment to run site.main() automatically
#import site
```

```
PS C:\Users\jimmy\rien\embed> .\38\python.exe -c "import 
sys;print(sys.path);import hello"
['', 'C:\\Users\\jimmy\\rien\\embed\\38\\python38.zip', 
'C:\\Users\\jimmy\\rien\\embed\\38\\DLLs', 'C:\\Users\\jimmy\\ri
en\\embed\\38\\lib', 'C:\\Users\\jimmy\\rien\\embed\\38']
Traceback (most recent call last):
  File "", line 1, in 
ModuleNotFoundError: No module named 'hello'


'\\app' is not added to sys.path. it is under python 3.
```

Note It's working under python 3.7.8

--
components: Interpreter Core
messages: 373698
nosy: jgirardet
priority: normal
severity: normal
status: open
title: python 38 embed ignore python38._pth file
versions: Python 3.8

___
Python tracker 
<https://bugs.python.org/issue41304>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41304] python 38 embed ignore python38._pth file on windows

2020-07-15 Thread Jimmy Girardet


Change by Jimmy Girardet :


--
title: python 38 embed ignore python38._pth file -> python 38 embed ignore 
python38._pth file on windows

___
Python tracker 
<https://bugs.python.org/issue41304>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41304] python 38 embed ignore python38._pth file on windows

2020-07-15 Thread Jimmy Girardet


Jimmy Girardet  added the comment:

replacing python38._pth by python._pth does fix it.

--

___
Python tracker 
<https://bugs.python.org/issue41304>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com