Status: Accepted
Owner: asmeurer
CC: christian.muise,  ronan.l...@gmail.com
Labels: Type-Defect Priority-Medium Assumptions

New issue 2152 by asmeurer: sin, cos, exp, re, im = [abs]*5 in sympy/assumptions/handlers/sets.py
http://code.google.com/p/sympy/issues/detail?id=2152

In line 340 of sympy/assumptions/handlers/sets.py it has:

sin, cos, exp, re, im = [abs]*5 # they are all complex functions

Above, abs is a method of the class AskComplexHandler. All the method does is return True. The thing is, all that any of the method there do is return True or False. Why not just have two methods of the class and define all the rest this way? Why is there this one exception that is handled this way in the whole file?

--
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.

Reply via email to