PYTHONSTARTUP per version #509

Closed
opened 2025-12-29 01:23:16 +01:00 by mcepl · 0 comments
Owner

python2 provides PYTHONSTARTUP var with /etc/pythonstart script, after remove:

it would be nice to have this script provided also for py3 and versioned location for pyhistory file

~/g/mtui ❯❯❯ python3                                                                                  
Python 3.7.3 (default, Apr 09 2019, 05:18:21) [GCC] on linux
Type "help", "copyright", "credits" or "license" for more information.
Could not open PYTHONSTARTUP
FileNotFoundError: [Errno 2] No such file or directory: '/etc/pythonstart'
>>> 

python2 provides PYTHONSTARTUP var with `/etc/pythonstart` script, after remove: it would be nice to have this script provided also for py3 and versioned location for pyhistory file ``` ~/g/mtui ❯❯❯ python3 Python 3.7.3 (default, Apr 09 2019, 05:18:21) [GCC] on linux Type "help", "copyright", "credits" or "license" for more information. Could not open PYTHONSTARTUP FileNotFoundError: [Errno 2] No such file or directory: '/etc/pythonstart' >>> ``` ---
mcepl closed this issue 2025-12-29 01:23:16 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: python/_ObsPrj#509