#14188: IPython 0.13: merge user configuration with Sage configuration
-----------------------------------------------+----------------------------
       Reporter:  jhpalmieri                   |         Owner:  jason          
                           
           Type:  enhancement                  |        Status:  
positive_review                           
       Priority:  minor                        |     Milestone:  sage-5.8       
                           
      Component:  misc                         |    Resolution:                 
                           
       Keywords:  IPython config               |   Work issues:                 
                           
Report Upstream:  N/A                          |     Reviewers:  Volker Braun, 
William Stein, John Palmieri
        Authors:  John Palmieri, Volker Braun  |     Merged in:                 
                           
   Dependencies:                               |      Stopgaps:                 
                           
-----------------------------------------------+----------------------------

Old description:

> After #12719, user configuration files (in
> `.sage/ipython-0.12/profile_default/` and `.../profile_sage/`) seem to be
> effectively ignored: I think they are read after the Sage terminal app
> has already been initialized, at which point it is too late.
>
> The attached patch remedies this, reading the configuration from
> `.sage/ipython-0.12/profile_default/ipython_config.py` during the
> initialization. Question: should it read from this directory or from
> `profile_sage`?
>
> Apply trac_14188_vb.patch

New description:

 After #12719, user configuration files (in
 `.sage/ipython-0.12/profile_default/` and `.../profile_sage/`) seem to be
 effectively ignored: I think they are read after the Sage terminal app has
 already been initialized, at which point it is too late.

 The attached patch remedies this, reading the configuration from
 `.sage/ipython-0.12/profile_default/ipython_config.py` during the
 initialization. Question: should it read from this directory or from
 `profile_sage`?

 Apply trac_14188_vb.patch, trac_14188_docfix.patch

--

Comment (by vbraun):

 And IPython is of course **not** smart enough to turn off colors when the
 output is a pipe, thanks a bunch. The second patch is the one-line fix to
 do it by hand.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14188#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to