Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Use encoding.encode function in run_code_analysis. #3930

Merged
merged 1 commit into from
Jan 7, 2017

Conversation

rlaverde
Copy link
Member

@rlaverde rlaverde commented Jan 7, 2017

Fixes #3322


Using encoding.encode function, run_code_analysis won't throw an error if the text can't be encoded with the current encoding, instead It will try to guess the text encoding.

Avoid error when trying to decode characters not present in the current encoding
@rlaverde rlaverde changed the title Use encoding.encode function in run_code_analysis. PR: Use encoding.encode function in run_code_analysis. Jan 7, 2017
@ccordoba12 ccordoba12 added this to the v3.1 milestone Jan 7, 2017
@ccordoba12
Copy link
Member

Looks good to me, thanks @rlaverde!

@ccordoba12 ccordoba12 merged commit d7dd020 into spyder-ide:3.x Jan 7, 2017
ccordoba12 added a commit that referenced this pull request Jan 7, 2017
@rlaverde rlaverde deleted the fix-error-runcode-analysis branch January 7, 2017 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants