3 ms·
Hmm, relying on Python 2 for a program that's still in early stages and is supposed to have a long lifespan?
by dx034 9y ago
Hmm, relying on Python 2 for a program that's still in early stages and is supposed to have a long lifespan?
- chubot 9y agoI 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 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 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/7elxlv/python_3_and_firefox_57_an_observation/dq6ixqu/ 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.