Page MenuHome

Chris Clauss (ccc)
User

Projects

User does not belong to any projects.

User Details

User Since
Feb 8 2019, 4:45 PM (10 w, 3 d)

Recent Activity

Feb 9 2019

Chris Clauss (ccc) added a comment to rB7262ac6202eb: Fix T61332: Python3 syntax errors.

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

Feb 9 2019, 8:17 AM
Chris Clauss (ccc) added a comment to D4326: Fix Python 3 syntax errors reported in T61332.

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 9 2019, 7:38 AM · Python

Feb 8 2019

Chris Clauss (ccc) added a comment to T61332: Python 3 syntax errors.

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

Feb 8 2019, 9:26 PM · BF Blender
Chris Clauss (ccc) created D4326: Fix Python 3 syntax errors reported in T61332.
Feb 8 2019, 8:40 PM · Python
Chris Clauss (ccc) added a comment to T61332: Python 3 syntax errors.

Legacy print statements are syntax errors in Python 3 but print() function works as expected in both Python 2 and Python 3.

Feb 8 2019, 5:43 PM · BF Blender
Chris Clauss (ccc) created T61332: Python 3 syntax errors.
Feb 8 2019, 5:28 PM · BF Blender