Rewritten using the tokenize module, which gives us a real tokenizer
rather than a number of approximating regular expressions. Alas, it is 3-4 times slower. Let that be a challenge for the tokenize module.
G
Guido van Rossum committed
040d7ca498c68153abb0387a8f900176ea08e2bb
Parent: fd372aa