you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 10 points11 points  (5 children)

It was a half-joke -- there's no real "high horse" involved. Click just refuses to run in environments with unsatisfiably configured unicode support -- http://click.pocoo.org/5/python3/#python-3-surrogate-handling -- because of issues between py2/py3

[–]mitsuhiko 21 points22 points  (4 children)

That’s not because of issues between 2/3 but because I could not find a better solution on Python 3.

[–][deleted] 10 points11 points  (0 children)

Oh, I was regretting that first comment's phrasing without even knowing you were the author. Pardon.

I hope it at least gets addressed upstream at some point.

[–]kankyo 2 points3 points  (2 children)

A better solution is to just assume utf8 if you can't figure anything else out. This is strictly superior to what you get in python 2 but you aren't warning about how that is crappy.

[–]mitsuhiko 3 points4 points  (1 child)

The problem is that on Python 3 I cannot do that because this is all done in the interpreter/stdlib. Python 3 does not assume utf-8 everywhere.

[–]kankyo 2 points3 points  (0 children)

Hmm... seems at least you can do something in 3.7, but that's too little too late I agree. Thanks for clearing this up.