Changes between Initial Version and Version 6 of Ticket #23472


Ignore:
Timestamp:
07/21/17 18:09:34 (2 years ago)
Author:
klui
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23472

    • Property Status changed from new to needs_review
    • Property Commit changed from to 46e66c0eb9820bc291cf87e1499eb73af7810868
    • Property Type changed from PLEASE CHANGE to defect
    • Property Branch changed from to u/geze/the_error_message_for_splitting_field_when_name_is_none_does_not_match_that_of_numberfield
  • Ticket #23472 – Description

    initial v6  
    11When one computes:
    2 
     2{{{
    33sage: R.<x> = QQ[]
    44sage: f = x^2 - 2
     
    1717    raise TypeError("You must specify the name of the generator.")
    1818TypeError: You must specify the name of the generator.
    19 
     19}}}
    2020However when one computes:
     21{{{
    2122sage: f.splitting_field()
    2223
     
    2930    def splitting_field(self, names, map=False, **kwds):
    3031TypeError: splitting_field() takes at least 1 positional argument (0 given)
    31 
     32}}}
    3233One needs to add the lines:
     34{{{
    3335if name is None:
    3436    raise TypeError("You must specify the name of the generator.")
    35 
     37}}}
    3638Before the line:
     39{{{
    3740name = normalize_names(1, name)
    38 
     41}}}
    3942in the corresponding file.