Status: Accepted Owner: nicolas.pourcelot Labels: Type-Defect Priority-Medium
New issue 1512 by nicolas.pourcelot: internal code broken in sympy.core.numbers http://code.google.com/p/sympy/issues/detail?id=1512 I noticed this minor bug: >>> sympy.E._evalf(50) Traceback (most recent call last): File "<input>", line 1, in <module> File "/home/nicolas/Programmation/wxgeometrie/sympy/core/basic.py", line 1963, in _evalf r = self._eval_evalf(prec) File "../sympy/core/numbers.py", line 1371, in _eval_evalf File "../sympy/core/numbers.py", line 1443, in _as_mpf_val AttributeError: 'module' object has no attribute 'fe' Note this is normally not such an issue, since users should use .evalf() instead, whiche relies on evalf_table(). However, if you want to subclass sympy.core.numbers.Exp1, ._evalf() is then called by .evalf(), which becomes problematic (that's how I noticed the issue). I don't know if this would ever bother anyone else, but in any case it's never good to keep broken code. Please review. Attachments: 0001-Exp1._as_mpf_val-fix.patch 1008 bytes -- 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 sympy-issues+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en -~----------~----~----~----~------~----~------~--~---