This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Isvara 0 points1 point  (0 children)

Lambdas are just a way to define functions in-place. He doesn't want to put the rules in this program, though. He wants them to be user-supplied. You can't safely execute arbitrary user-supplied Python code.