Am 23.11.2011 01:45, schrieb Aaron Meurer:
On Tue, Nov 22, 2011 at 1:37 AM, Joachim Durchholz<j...@durchholz.org>  wrote:
Am 22.11.2011 01:58, schrieb Matt Habel:

For example,
raises needs a string that has functions in it. This doesn't register
as the function being used so the import is worthless in flakes mind.

Hm. Maybe the Sympy should make raises() accept lambdas.
That wouldn't work for statements, but I don't think we have many of these
inside raises() calls.

That's probably a good idea.  In fact, I can't think of a good reason
right now why raises wouldn't just use lambda, other than that it's a
little more messy (and you could argue that it's actually less messy
than using a string).  Maybe we should just change it to use lambda.
Can you open an issue for this?

Will do.

I don't have time to work on that today, but I should have plenty tomorrow.
Matt, can you post a raises() call that needs an import that isn't used elsewhere in the file? I don't have time to work on it today, but I should have plenty tomorrow. So if all works as I hope, I can give you a git branch URL that Matt can pull a fix from and test whether it helps.

Regards,
J

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to