#5768: improve coverage of generators.pyx
---------------------+------------------------------------------------------
 Reporter:  was      |       Owner:  mabshoff  
     Type:  defect   |      Status:  new       
 Priority:  major    |   Milestone:  sage-3.4.2
Component:  doctest  |    Keywords:            
---------------------+------------------------------------------------------

Comment(by was):

 This file is just scary.   The second function I tried to document is:
 {{{
     cpdef get_from_index(self, i):
         return self._obj._gen_(i)
 }}}
 I couldn't find any object in all of Sage with a {{{_gen_}}} method -- I
 see now way this could ever work.    Hence I can't see any way
 {{{Generators_naturals}}} would ever work.  This whole file just scares
 me.  I don't get it at all.

 I give up.

 This file was evidently 100% part of this changeset:
 {{{
 changeset:   10231:8dea97c4b4f0
 parent:      10067:717c10d9cd4a
 user:        David Roe <[email protected]>
 date:        Tue Jul 29 01:24:30 2008 -0700
 summary:     generators object
 }}}

 I rue the day I ever allowed a single non-doctested function into Sage.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5768#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to