#14713: Update to IPython 1.0
--------------------------------------+--------------------------
       Reporter:  jason               |         Owner:  jdemeyer
           Type:  enhancement         |        Status:  new
       Priority:  major               |     Milestone:  sage-5.11
      Component:  packages: standard  |    Resolution:
       Keywords:                      |     Merged in:
        Authors:  Jason Grout         |     Reviewers:
Report Upstream:  N/A                 |   Work issues:
         Branch:                      |  Dependencies:  #14810
       Stopgaps:                      |
--------------------------------------+--------------------------
Changes (by vbraun):

 * cc: roed (added)


Comment:

 Everything works except a failure in `sage/doctest/forker.py` when running
 the doctest through the `sage0` interface. The pexpect log contains the
 traceback
 {{{
 MultipleInstanceError                     Traceback (most recent call
 last)
 <ipython-input-12-54a61f46e9ab> in <module>()
 ----> 1 DTR.run(DT, clear_globs=False)

 /home/vbraun/opt/sage-5.11.rc0/local/lib/python2.7/site-
 packages/sage/doctest/forker.pyc in run(self, test, compileflags, out,
 clear_globs)
     623         self.no_failure_yet = True
     624         try:
 --> 625             return self._run(test, compileflags, out)
     626         finally:
     627             self._fakeout.stop_spoofing()

 /home/vbraun/opt/sage-5.11.rc0/local/lib/python2.7/site-
 packages/sage/doctest/forker.pyc in _run(self, test, compileflags, out)
     535             elif outcome is FAILURE:
     536                 if not quiet:
 --> 537                     self.report_failure(out, test, example, got,
 test.globs)
     538                 failures += 1
     539             elif outcome is BOOM:

 /home/vbraun/opt/sage-5.11.rc0/local/lib/python2.7/site-
 packages/sage/doctest/forker.pyc in report_failure(self, out, test,
 example, got, globs)
    1112                     prompt_config.in_template = 'debug: '
    1113                     prompt_config.in2_template = '.....: '
 -> 1114                     embed(config=cfg, banner1='',
 user_ns=dict(globs))
    1115                 except KeyboardInterrupt:a

    1116                     # Assume this is a *real* interrupt. We need
 to

 /home/vbraun/opt/sage-5.11.rc0/local/lib/python2.7/site-
 packages/IPython/terminal/embed.pyc in embed(**kwargs)
     298         config.InteractiveShellEmbed =
 config.TerminalInteractiveShell
     299         kwargs['config'] = config
 --> 300     shell = InteractiveShellEmbed.instance(**kwargs)
     301     shell(header=header, stack_depth=2,
 compile_flags=compile_flags)

 /home/vbraun/opt/sage-5.11.rc0/local/lib/python2.7/site-
 packages/IPython/config/configurable.pyc in instance(cls, *args, **kwargs)
     358             raise MultipleInstanceError(
     359                 'Multiple incompatible subclass instances of '
 --> 360                 '%s are being created.' % cls.__name__
     361             )
     362

 MultipleInstanceError: Multiple incompatible subclass instances of
 InteractiveShellEmbed are being created.
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/14713#comment:3>
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/groups/opt_out.

Reply via email to