r/Python • • Mar 12 '17

He's a Parsertongue.

Post image
1.8k Upvotes

64 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Mar 13 '17

I thought not counting lines would make it use up a tonne of resources or something. Anyway, amateur.

5

u/[deleted] Mar 13 '17
IGNORE_SET = SET(["__INIT__.py", "COUNT_SOURCELINES.PY"])

Doesn't do anything. It just sets a variable to a set of strings that is never used. There is no eval() executing "COUNT_SOURCELINES.PY", it's just a plain old string in a plain old list with no special meaning.