Updates:
Cc: Vinzent.Steinberg
Comment #6 on issue 1591 by smichr: More strict doctests
http://code.google.com/p/sympy/issues/detail?id=1591
I think Ondrej's preference is for all doctests to have an explicit import
showing
what sympy functionality is being used. Aaron and I were talking about
this, too, and
for a person unfamiliar with sympy it would probably be helpful to have
explicit
imports like
from sympy import symbol
at the top of the docstring code samples. If there is some sort of
consensus on this,
I would be willing to be the nanny to get the docstrings in order, removing
the "from
sympy import *" imports and replacing them with what is necessary to make
the
doctests run. There are a lot that need fixing so I don't want to dive in
until it's
clear which way we will go.
If my runtest_2 branch described in 1671 gets through review it will be a
much better
checker of doctests as it doesn't miss things that are being missed right
now by
normal testing...which means it's showing up a lot of errors in things that
haven't
really been checked before.
TODO
[ ] decide what the sympy standard will be for doctest code in terms of
imports
/c
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---