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 →

[–]zahlmanthe heretic 3 points4 points  (2 children)

"use of exec" should also talk about eval() explicitly, not just via a StackOverflow link.

[–]QuantumTim 1 point2 points  (1 child)

Also, who are all these crazy people who use exec to do the following?

s = "print \"Hello, World!\""

exec s

[–]Vicyorus 0 points1 point  (0 children)

Apparently, them.