#16488: upgrade to IPython 2.1
-------------------------------------+-------------------------------------
       Reporter:  was                |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.3
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  R. Andrew Ohana    |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  27e78b36f25344e226329926819f1e8e6bb50b92
  u/ohanar/ipython2.1                |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'R. Andrew Ohana', 'oldvalue': ''}):

 * status:  new => needs_review
 * commit:   => 27e78b36f25344e226329926819f1e8e6bb50b92
 * branch:   => u/ohanar/ipython2.1
 * author:   => R. Andrew Ohana


Old description:

> Whoever does this -- this is the patch you'll need to get around the
> deprecation warning (which is the ONLY doctest failure):
>
> {{{
> diff --git a/src/sage/repl/ipython_extension.py
> b/src/sage/repl/ipython_extension.py
> index 3382aee..63864ff 100644
> --- a/src/sage/repl/ipython_extension.py
> +++ b/src/sage/repl/ipython_extension.py
> @@ -332,10 +332,11 @@ class SageCustomizations(object):
>          """
>          Set the exit hook to cleanly exit Sage.
>          """
> -        def quit(shell):
> +        def quit():
>              import sage.all
>              sage.all.quit_sage(self.shell.verbose_quit)
> -        self.shell.set_hook('shutdown_hook', quit)
> +        import atexit
> +        atexit.register(quit)
>
>      def init_environment(self):
>          """
> }}}

New description:

 Upstream tarball:
 
https://github.com/ipython/ipython/releases/download/rel-2.1.0/ipython-2.1.0.tar.gz

--

Comment:

 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=27e78b36f25344e226329926819f1e8e6bb50b92
 27e78b3]||{{{upgrade ipython to version 2.1.0}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/16488#comment:1>
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to