On Mon, May 2, 2011 at 11:04 PM, Stefan Behnel <stefan...@behnel.de> wrote: > The bad thing about this recipe is that it requires quite a bit of > background knowledge in order to infer that the code the developer is > looking at is actually correct. At first sight, it looks like an evil hack, > and the lack of documentation doesn't help either.
What do you mean, "looks like"? For crying out loud, it abuses complex numbers to represent 2-element vectors, and it passes unvalidated input to eval(). It is *absolutely* an evil hack! Albeit a clever one... -- http://mail.python.org/mailman/listinfo/python-list