[issue42654] Add folder for python customizations: __sitecustomize__

2021-05-24 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42654] Add folder for python customizations: __sitecustomize__

2021-05-24 Thread Filipe Laíns
Change by Filipe Laíns : -- nosy: +FFY00 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42654] Add folder for python customizations: __sitecustomize__

2020-12-16 Thread Mario Corchero
Mario Corchero added the comment: Thread open in Python ideas: https://discuss.python.org/t/add-folder-for-python-customizations-sitecustomize/6190/5 -- ___ Python tracker

[issue42654] Add folder for python customizations: __sitecustomize__

2020-12-16 Thread Steven D'Aprano
Steven D'Aprano added the comment: > Additionally, it suffers from the same issue as > sitecustomize. It is a single file that won't be a real substitute for > code execution in pth files. I thought that the consensus in b.p.o. #33944 is that code execution in pth files is an anti-feature

[issue42654] Add folder for python customizations: __sitecustomize__

2020-12-16 Thread Mario Corchero
Mario Corchero added the comment: > Shouldn't this be discussed on Python-Ideas? I'm pretty sure this is a big > enough change that it will need a PEP. Indeed, I wanted to see if there was interest in the feature. That is probably a better place to start. > If you need code run on startup,

[issue42654] Add folder for python customizations: __sitecustomize__

2020-12-16 Thread Steven D'Aprano
Steven D'Aprano added the comment: Shouldn't this be discussed on Python-Ideas? I'm pretty sure this is a big enough change that it will need a PEP. If you need code run on startup, can't you just put it in the PYTHONSTARTUP file? -- nosy: +steven.daprano

[issue42654] Add folder for python customizations: __sitecustomize__

2020-12-16 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42654] Add folder for python customizations: __sitecustomize__

2020-12-16 Thread Mario Corchero
Change by Mario Corchero : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42654] Add folder for python customizations: __sitecustomize__

2020-12-16 Thread Mario Corchero
New submission from Mario Corchero : Following the conversations in https://bugs.python.org/issue33944, wanted to discuss the support for a __sitecustomize__ folder that will hold python scripts to be executed at startup. Similar to `sitecustomize.py` but allowing different stakeholders of a