HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rbarrois

no profile record

comments

rbarrois
·قبل سنتين·discuss
That's quite interesting.

Now, I'm left to wonder if this could have been used to better handle the Python 2-to-3 transition, e.g '# coding: six.python2' would adjust Python2 code to be valid Python3, or '# coding: six.python3' would adjust Python3 code to run under Python2 - e.g adding/removing the b"..." or u"..." prefixes!