[IPython-user] ask help for "Effective logging"

Fernando Perez Fernando.Perez at colorado.edu
Wed Jan 18 15:33:43 CST 2006


Ville Vainio wrote:
> On 1/18/06, Stephen Walton <stephen.walton at csun.edu> wrote:
> 
> 
>>then the rest of the autolog profile script gets skipped and the log
>>file produced is called ' # cancel earlier logfile invocation'.  That
>>is, the filename starts with a leading space and a # character.
> 
> 
> Move the # blah to another line, I suppose the *rc file parser is too dumb.

It is, dumb as a brick.  Which is why...

> 
> I'll post an example using the new IPython.ipapi tomorrow. I'd be
> inclined to deprecate (though not remove, obviously) *rc file
> configuration in the future. Custom parsers are nasty and error prone.

the existing rc format is already slated for removal in the chainsaw branch. 
We'll move to just using python code for this purpose.  The rc format is a 
leftover from when I was just learning python, and thought this would be a 
good idea.  It's not.

Cheers,

f





More information about the IPython-user mailing list