Message107197
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). |
|
Date |
User |
Action |
Args |
2010-06-06 17:56:24 | lesmana | set | recipients:
+ lesmana |
2010-06-06 17:56:24 | lesmana | set | messageid: <1275846984.04.0.731293977336.issue8919@psf.upfronthosting.co.za> |
2010-06-06 17:56:21 | lesmana | link | issue8919 messages |
2010-06-06 17:56:21 | lesmana | create | |
|