encoding detection #37

Merged
merged 1 commit into from Apr 25, 2012

Conversation

Projects
None yet
2 participants
Contributor

bukzor commented Apr 24, 2012

pudb was crashing with 'unknown encoding: None' because of a function which had an optional argument of encoding=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/

inducer merged commit f65d3f6 into inducer:master Apr 25, 2012

Owner

inducer commented Apr 25, 2012

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment