Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix crash in daemon mode if there is a decode error #6064
I got a crash after I accidentally inserted a non-ascii
This also fixes a similar issue when the file can't be
gvanrossum left a comment
Thanks! I think I encountered this before but didn't know what to do about it.
Can you also add a test for Python 2? (It uses a different parser and the default coding is ascii, so possibly the flows would be different.)