#19029: doctest Python vs Sage ints
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-6.9
      Component:  user interface     |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/doctest_python_vs_sage_ints|  
129259d7e537f92b1e55fbb414477231117456fc
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by jmantysalo):

 * cc: jmantysalo (added)


Comment:

 Replying to [comment:9 vdelecroix]:

 > +1 for doctest mode only.

 But what that would mean? That the developer writes a testable example
 like

 {{{
 sage: foo()
 int(42)
 }}}

 and the user will try `foo()` and get `42`? For a beginner it would be
 confusing. And for advanced user maybe irritating.

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