[issue33944] Deprecate and remove code execution in pth files

2021-01-05 Thread László Kiss Kollár
Change by László Kiss Kollár : -- nosy: +lkollar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33944] Deprecate and remove code execution in pth files

2020-12-31 Thread Nick Coghlan
Nick Coghlan added the comment: PEP 648 has been posted with a proposal to migrate sitecustomize.py, usersitecustomize.py and arbitrary code execution in pth files to a directory based `__sitecustomize__` structure: https://www.python.org/dev/peps/pep-0648/ --

[issue33944] Deprecate and remove code execution in pth files

2020-06-12 Thread Inada Naoki
Inada Naoki added the comment: New changeset 2145c8c9724287a310bc77a2760d4f1c0ca9eb0c by native-api in branch 'master': bpo-33944: site: Add site-packages tracing in verbose mode (GH-12110) https://github.com/python/cpython/commit/2145c8c9724287a310bc77a2760d4f1c0ca9eb0c -- nosy:

[issue33944] Deprecate and remove code execution in pth files

2020-05-12 Thread Anthony Sottile
Anthony Sottile added the comment: fwiw virtualenv 20.x uses `.pth` now as well to fix some issues with `venv`-based environments -- ___ Python tracker ___

[issue33944] Deprecate and remove code execution in pth files

2020-05-12 Thread Nick Coghlan
Nick Coghlan added the comment: While it's still not entirely accurate, I've tweaked the title on the issue to refer to the arbitrary code execution behavior. Getting "Make pth file sys.path modifications easier to debug" in there as well would be rather tricky :) --

[issue33944] Deprecate and remove code execution in pth files

2020-05-12 Thread Nick Coghlan
Change by Nick Coghlan : -- title: Deprecate and remove pth files -> Deprecate and remove code execution in pth files ___ Python tracker ___