#18400: Maximum recursion depth error when listing points of a projective space
--------------------------------------+------------------------
       Reporter:  vdelecroix          |        Owner:
           Type:  defect              |       Status:  new
       Priority:  major               |    Milestone:  sage-6.7
      Component:  algebraic geometry  |   Resolution:
       Keywords:                      |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:  #18290              |     Stopgaps:
--------------------------------------+------------------------

Comment (by vdelecroix):

 The two examples in [comment:3 comment:3] and [comment:4 comment:4] are
 not exactly wrong in the same way. In algebraic geometry, a scheme is not
 a set. And indeed
 {{{
 sage: P = ProjectiveSapce(2,GF(2))
 sage: P in Sets()
 False
 sage: P.point_set() in Sets()
 True
 }}}
 I do not understand why there is a `__len__` implemented there! It is
 inherited from `Parent` as
 {{{
 def __len__(self):
     return len(self.list())
 }}}
 Haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

 Vincent

--
Ticket URL: <http://trac.sagemath.org/ticket/18400#comment:6>
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/d/optout.

Reply via email to