Status: Accepted
Owner: ondrej.certik
Labels: Type-Defect Priority-Medium

New issue 1231 by ondrej.certik: improve debugging of limits
http://code.google.com/p/sympy/issues/detail?id=1231

currently, one needs to apply this patch to debug limits:

diff --git a/sympy/series/gruntz.py b/sympy/series/gruntz.py
index eb9c2cc..fb34053 100644
--- a/sympy/series/gruntz.py
+++ b/sympy/series/gruntz.py
@@ -137,7 +137,7 @@ def debug(func):
      It will print a nice execution tree with arguments and results
      of all decorated functions.
      """
-    if 1:
+    if 0:
          #normal mode - do nothing
          return func




Let's make it either an environment variable, or some other mechanism, so
that one doesn't have to edit the code.

-- 
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 sympy-issues@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to