- User Since
- Feb 8 2019, 4:45 PM (27 w, 1 d)
Feb 9 2019
What happens if someone uncomments line 58? The code will work on Python 2 but fail on Python 3. The future import will cause it to break on both which is the desired outcome. https://docs.python.org/3/howto/pyporting.html#prevent-compatibility-regressions
See Prevent compatibility regressions The future import makes legacy print statements syntax errors even in Python 2 which prevents Python 2 developers from making changes which break Python 3 compatibility.
Feb 8 2019
What exactly was archived in this case? The whole repo? These two files? The syntax errors? Or just the bug report itself? https://developer.blender.org/D4326
Legacy print statements are syntax errors in Python 3 but print() function works as expected in both Python 2 and Python 3.