inducer/pudb — pull request #37 by bukzor (2012-04-24 23:03:54+00:00)
Title: encoding detection

pudb was crashing with 'unknown encoding: None' because of a function which had an optional argument of None.

As specified in the pep, the encoding directive must be a comment.
I've altered the regex accordingly.

http://www.python.org/dev/peps/pep-0263/