News for hackers. Stuff that matters.
Re:Why Create a New Unix Shell? by dfox on Wednesday January 31, 2018 @03:47PM (#16277405)
One reason I can see is that while Python 3's unicode handling is saner for most of usecases it does not work the way one would expect in unix shell.
Re:Why Create a New Unix Shell? by kevin_thibedeau on Wednesday January 31, 2018 @05:43PM (#16278227)
Python isn't going to reconfigure an ASCII shell on your behalf. It's up to you to enable a Unicode locale and then PY3 just works.
Re:Why Create a New Unix Shell? by dfox on Thursday February 01, 2018 @05:33PM (#16286589)
The problem is bigger than misconfugured locale, namely: what is the encoding used for notionaly text zero-terminated strings that pass through the unix kernel (eg. filenames and program arguments)? There is no way to reliably and portably deduce that from locales.