Message302678
All's in the title: "pth files in site-packages of venvs are executed twice". For example, the following code sample prints "1" twice.
python -mvenv /tmp/tmpenv
echo 'import os; print(1)' >/tmp/tmpenv/lib/python3.6/site-packages/foo.pth
source activate /tmp/tmpenv
python
This behavior is different from the one for a pth file in a non-venv site-packages (either the syswide prefix, or the user prefix), which is only executed once. |
|
Date |
User |
Action |
Args |
2017-09-21 09:41:38 | Antony.Lee | set | recipients:
+ Antony.Lee |
2017-09-21 09:41:38 | Antony.Lee | set | messageid: <1505986898.8.0.276227616013.issue31542@psf.upfronthosting.co.za> |
2017-09-21 09:41:38 | Antony.Lee | link | issue31542 messages |
2017-09-21 09:41:38 | Antony.Lee | create | |
|