This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lesmana
Recipients lesmana
Date 2010-06-06.17:56:21
SpamBayes Score 0.0015360337
Marked as misclassified No
Message-id <1275846984.04.0.731293977336.issue8919@psf.upfronthosting.co.za>
In-reply-to
Content
if started as an interactive session python should check for and read ~/.pythonrc.py by default.

furthermore there should be two options added:
--rcfile filename
this will read filename instead of ~/.pythonrc
--norc
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).
History
Date User Action Args
2010-06-06 17:56:24lesmanasetrecipients: + lesmana
2010-06-06 17:56:24lesmanasetmessageid: <1275846984.04.0.731293977336.issue8919@psf.upfronthosting.co.za>
2010-06-06 17:56:21lesmanalinkissue8919 messages
2010-06-06 17:56:21lesmanacreate