2 ms·
Python: The fact that they broke the syntax with Python 3, splitting the language in two parts: one that is widely deployed, and one that is actively developed.
by captainmuon 13y ago
Python: The fact that they broke the syntax with Python 3, splitting the language in two parts: one that is widely deployed, and one that is actively developed. I never had the luck to use Python 3 in actual work.
If I could, I would make Python 5 (2+3=5), which is Python 3 but accepts all the legacy syntax of Python 2 (especially the print statement).
I'd solve the str/unicode problem by providing
bytes, str, unicode = python5.legacy_strings
or
bytes, str, unicode = python5.modern_strings
that you would put at the top of the file. I'd make the modern strings builtin for system modules, or files with the .py5 extention. Problem solved.