r/Python • • Nov 13 '20

News Python swallows Java to become second-most popular programming language

https://www.theregister.com/2020/11/12/python_swallows_java_to_become/
2.3k Upvotes

205 comments sorted by

View all comments

Show parent comments

5

u/xigoi Nov 13 '20

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

1

u/VisibleSignificance Nov 13 '20

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.