[New-bugs-announce] [issue8919] python should read ~/.pythonrc.py by default
report at bugs.python.org
Sun Jun 6 19:56:24 CEST 2010
New submission from lesmana <lesmana at gmx.de>:
if started as an interactive session python should check for and read ~/.pythonrc.py by default.
furthermore there should be two options added:
this will read filename instead of ~/.pythonrc
this will prevent reading ~/.pythonrc
(this is inspired by how bash handles initialization)
afterwards the variable PYTHONSTARTUP can be deprecated.
as far as i know, everything which can be done by the variable PYTHONSTARTUP can be done with the suggested method. the advantage of the suggested method is that it is "intuitive" in the sense that it is the way most other tools do it (bash for example).
title: python should read ~/.pythonrc.py by default
type: feature request
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce