PyCQA / redbaron

Bottom-up approach to refactoring in python
http://redbaron.pycqa.org/
694 stars 74 forks source link

Let Lexer guess good encoding on Node __str__ #87

Open ghost opened 8 years ago

ghost commented 8 years ago

From issue #86, python3 under ipython and shell behaves differently. Merely because of PythonLexer being forced on utf-8.

Psycojoker commented 8 years ago

Hey,

Thanks for this PR! I'd like to merge it, but before that I think that we need a regression test to ensure that this will never happen again.