Hacker News new | comments | show | ask | jobs | submit login

I plan to cut the dependency on Python; the post called "the riskiest part of the project" which I linked describes that.

http://www.oilshell.org/blog/2017/04/08.html

There are some detail here in these posts:

http://www.oilshell.org/blog/tags.html?tag=opy#opy

FWIW, Oil was in Python 3 at one point! But I ported it back to Python 2. There were a number of reasons, but unicode handling is one of them.

See this comment:

https://www.reddit.com/r/ProgrammingLanguages/comments/7elxl...

Summary: The shell deals with strings from file systems, and file systems inherently have no encoding. So Python 3's model of unicode doesn't help with such programs. It just makes things more awkward.




Can you just use binary strings?


It's possible (see the reddit comment), but there's no advantage to doing so.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: