#18290: enhanced sets and cartesian products
-------------------------------------+-------------------------------------
       Reporter:  vdelecroix         |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.7
      Component:  categories         |   Resolution:
       Keywords:  cartesian_product  |    Merged in:
        Authors:  Vincent Delecroix  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vdelecroix/18290                 |  58cf1d14f081a80f33ad1d25ff83ece40dfd6f27
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 If I do
 {{{
 class A:
     f = B.f.im_func
     """
     Some doctests

     TESTS::

        sage: 1+1
        2
     """
 }}}
 this is not considered as a doctest. But if instead I do
 {{{
 class A:
     my_string = (
         r"""
         TESTS::

             sage: print "Is this a test?"
             Of course not
         """
     )
 }}}
 then it is considered as a doctest!!

 The algorithm used to detect doctests is clearly wrong!

 Vincent

--
Ticket URL: <http://trac.sagemath.org/ticket/18290#comment:26>
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