[David Goodger] > So, is there any prior art out there? Any pointers or advice? > How does PyChecker do it? I would guess by reading the bytecode, but you never know. I would guess using regexes would be the best if you just want to read the source. The ``tokenize`` module has all the regexes and they might be available independently from the methods in the module. -Brett