Changes between Version 3 and Version 4 of Ticket #22968


Ignore:
Timestamp:
06/06/18 05:37:27 (17 months ago)
Author:
slelievre
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22968 – Description

    v3 v4  
    1 From the IPython REPL launched from Sage (with `Sage -ipython`) 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 print as follows:
    23
    34{{{
    4 In [1]: [12345678901234]*5
     5In [1]: [10^13]*5
    56Out[1]:
    6 [12345678901234,
    7  12345678901234,
    8  12345678901234,
    9  12345678901234,
    10  12345678901234]
     7[10000000000000,
     8 10000000000000,
     9 10000000000000,
     10 10000000000000,
     11 10000000000000]
    1112
    1213In [2]: %pprint
    1314Pretty printing has been turned OFF
    1415
    15 In [3]: [12345678901234]*5
    16 Out[3]: [12345678901234, 12345678901234, 12345678901234, 12345678901234, 12345678901234]
     16In [3]: [10^13]*5
     17Out[3]: [10000000000000, 10000000000000, 10000000000000, 10000000000000, 10000000000000]
    1718}}}
    1819
     
    2021
    2122{{{
    22 sage: [12345678901234]*5
    23 [12345678901234,
    24  12345678901234,
    25  12345678901234,
    26  12345678901234,
    27  12345678901234]
     23sage: [10^13]*5
     24[10000000000000,
     25 10000000000000,
     26 10000000000000,
     27 10000000000000,
     28 10000000000000]
    2829sage: %pprint
    2930Pretty printing has been turned OFF
    30 sage: [12345678901234]*5
    31 [12345678901234,
    32  12345678901234,
    33  12345678901234,
    34  12345678901234,
    35  12345678901234]
     31sage: [10^13]*5
     32[10000000000000,
     33 10000000000000,
     34 10000000000000,
     35 10000000000000,
     36 10000000000000]
    3637}}}
    3738
     
    4041This was reported on Ask Sage twice:
    4142
    42 - [Ask Sage question #37477: long list goes vertical](https://ask.sagemath.org/question/37477/)
    43 - [Ask Sage question #42509: unexpected behaviour of the interface](https://ask.sagemath.org/question/42509/)
     43- [[https://ask.sagemath.org/question/37477/|Ask Sage question #37477: long list goes vertical]]
     44- [[https://ask.sagemath.org/question/42509/|Ask Sage question #42509: unexpected interface behaviour]]