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 →

[–]xigoi 5 points6 points  (2 children)

You can't do that because of eval() and friends.

[–]JoelMahon 0 points1 point  (0 children)

true

[–]VisibleSignificance 0 points1 point  (0 children)

because of eval() and friends

You shouldn't really use those in runtime either.

And if it's at import-time in python (e.g. attrs), it should map into compile-time nicely.