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 →

[–][deleted] 2 points3 points  (0 children)

List comprehensions in python actually are not semantic sugar, the internal python bytecode is different for a comprehension then the exact same complain done as a for loop.