Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] base: "--shell-file" option override for $PYTHONSTARTUP
The $PYTHONSTARTUP env variable can contain a python script that is used by Python shell at the start of any interactive session. - fix this feature from being broken in python and ptpython - include a new --shell-file=<filename> shell parameter to override the env variable $PYTHONSTARTUP - group the two shell parameters in a new options group - remove custom python shells' banners from the start of the session - shell options can now be saved in the configuration file. Python docs: https://docs.python.org/3/using/cmdline.html#envvar-PYTHONSTARTUP Community PR: odoo/odoo#185075 task-4306704
- Loading branch information