On Thursday, April 15, 2010, John H Palmieri <jhpalmier...@gmail.com> wrote: > In a patch for the the Sage library (trac #7889), a file used triple > single quotes (''') rather than triple double quotes ("""). As a > result, > > - sage -coverage reported 0 coverage for that file, and > - no doctests were run on the examples in the docstrings! > > Our coverage scripts and doctesting scripts should be able to handle > this, shouldn't they?
They should.... But they definitely don't since at the time I was too lazy to write them to deal with both cases, since I see no reason to ever use single triple quotes. Still I would be happy if somebody changed this scripts to handle both single and double triple quotes, since clearly that is the right longterm solution. > If not -- if there is a reason to insist on """ > instead of ''' -- then we should change all ''' to """ and run > doctests to see what needs fixing. > > Opinions? Volunteers to help? > > -- > John > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org > > To unsubscribe, reply using "remove me" as the subject. > -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org