News for hackers. Stuff that matters.
Re:Let's Write an LLVM Specializer for Python by chrisheller on Thursday January 22, 2015 @12:40PM (#8930452)
You'll get an IndexError exception on that if there are any blank lines in the file.

Changing that to line.lstrip().startswith('#') would be an alternate approach.

Re:Let's Write an LLVM Specializer for Python by exDM69 on Thursday January 22, 2015 @01:19PM (#8930689)
You're right but that is irrelevant, it's a somewhat contrived example anyway. It's not like I spent a lot of time trying it out.