ipython/ipython — pull request #1341 by takluyver (2012-01-29 18:01:11+00:00)
Title: Don't attempt to tokenize binary files for tracebacks

Previously we had been trying and just catching the exception, but in corner cases the tokenizer can run for several seconds before raising an exception (#1317). This skips tokenizing if the file has the extension `.so`, `.pyd` or `.dll` (should I add any more to this list?).

Closes gh-1317