Changes between Initial Version and Version 11 of Ticket #14368


Ignore:
Timestamp:
07/26/13 13:02:35 (6 years ago)
Author:
davidloeffler
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14368

    • Property Keywords sd51 added
    • Property Status changed from new to needs_review
    • Property Work issues changed from to doctest
    • Property Authors changed from to Bartosz Naskrecki
  • Ticket #14368 – Description

    initial v11  
    22Something in the .list() generator seems to be broken in this case and it returns a character which takes the value 0 instead of 1.
    33However, note that list(D) works as expected and allegedly list(D)[0] is equal to D.list()[0].
    4 
    5 sage: D=DirichletGroup(1)[[BR]]
    6 sage: D.list()[0](1)[[BR]]
    7 0[[BR]]
    8 sage: list(D)[0](1)[[BR]]
    9 1[[BR]]
    10 sage: D.list()[0]==list(D)[0][[BR]]
     4{{{
     5#!python
     6sage: D=DirichletGroup(1)
     7sage: D.list()[0](1)
     80
     9sage: list(D)[0](1)
     101
     11sage: D.list()[0]==list(D)[0]
    1112True
    12 
     13}}}