[IPython-user] Killing a hung program

Prabhu Ramachandran prabhu_r at users.sf.net
Sat Jun 18 01:34:35 CDT 2005


>>>>> "Fernando" == Fernando Perez <Fernando.Perez at colorado.edu> writes:

    Fernando> Prabhu Ramachandran wrote:
    >> Sounds fine, however, sometimes you have a default
    >> configuration and want just one session to be a little
    >> different.  Having a command line argument for this case is
    >> handy.

    Fernando> Mmh, if it's just one single session, is really typing
[...]
    Fernando> [~]> ipython -log mylog -logmode backup

Fair enough.

    Fernando> I'm not sure, especially given that logstart can be
    Fernando> typed at any time during a session, and it retroactively
    Fernando> logs the entire session history.  So you don't have to
    Fernando> remember to do it at input line 1, you are free to want
    Fernando> logging any time and can activate it at that point.

Right.

    Fernando> Honestly, I'm not convinced of the need for yet another
    Fernando> command-line switch here.  I should also admit that
    Fernando> since each command line option has to be manually
    Fernando> documented in 3 places: the usage __doc__, the manpage
    Fernando> and the HTML/PDF user's manual, I tend to drag my feet
    Fernando> on adding new ones.  I haven't really figured out a nice
    Fernando> way to automate doc generation from a single set of
    Fernando> sources for these flags...

Yes, that is always hard...

cheers,
prabhu




More information about the IPython-user mailing list