Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2867 by [email protected]: Calls to raises() should use lambda
http://code.google.com/p/sympy/issues/detail?id=2867

raises() currently expects a string which it runs through the Python compiler. This is inefficient and prevents tools from recognizing function usage (e.g. code checkers will not notice that some import is needed for a raises() call if the imported function is not used elsewhere in the module).

raises() should expect and run lambdas instead, at least as far as possible.

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

Reply via email to