Changes between Version 4 and Version 5 of Ticket #22968


Ignore:
Timestamp:
06/06/18 05:46:00 (17 months ago)
Author:
slelievre
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22968

    • Property Summary changed from Sage's jupyter console does not handle %pprint correctly to Handle %pprint correctly
  • Ticket #22968 – Description

    v4 v5  
    1 From the IPython REPL launched from Sage (by running `sage -ipython` in a terminal),
    2 we can switch off pretty print as follows:
     1From the IPython REPL launched from Sage (by running `sage --ipython` in a terminal),
     2we can switch off pretty printing as follows:
    33
    44{{{
    5 In [1]: [10^13]*5
    6 Out[1]: 
     5In [1]: [10**13]*5
     6Out[1]:
    77[10000000000000,
    88 10000000000000,
     
    1414Pretty printing has been turned OFF
    1515
    16 In [3]: [10^13]*5
    17 Out[3]: [10000000000000, 10000000000000, 10000000000000, 10000000000000, 10000000000000]
    18 }}}
     16In [3]: [10**13]*5
     17Out[3]: [10000000000000, 10000000000000, 10000000000000, 10000000000000, 10000000000000]}}}
    1918
    20 However, from the Sage console itself, this does not work:
     19However, from the Sage REPL itself, or in a Sage Jupyter notebook, this does not work:
    2120
    2221{{{
     
    3736}}}
    3837
    39 Does this come from a broken interaction with our own pretty printing features ?
     38Does this come from a broken interaction with Sage's own
     39pretty printing features (which focus more on latexing)?
    4040
    4141This was reported on Ask Sage twice: