[ https://issues.apache.org/jira/browse/THRIFT-4309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16154742#comment-16154742 ]
James E. King, III commented on THRIFT-4309: -------------------------------------------- I found a site that discourages the use of the faux print method: https://triangle717.wordpress.com/tutorials/python/2a3printinput/ Specifically, "Finally, you can use the faux print function in Python 2 added specifically to help port code from 2 to 3. I advise to stay away from this at all costs, unless you are 120% sure nobody will run attempt to your script on a really old version of Python." Now I don't believe we specifically limit the implementation to Python 2.7, however I would have no problem setting that minimum bar if it had other benefits. That said, I don't use python that much, and would appreciate more input on the pull request. > All Python files should be compatible with Python 3 > --------------------------------------------------- > > Key: THRIFT-4309 > URL: https://issues.apache.org/jira/browse/THRIFT-4309 > Project: Thrift > Issue Type: Improvement > Components: Python - Compiler, Python - Library > Reporter: cclauss > Priority: Minor > Original Estimate: 672h > Remaining Estimate: 672h > > Python 3 is now 8 years old and is the current and future of the language. > Examples and other Python files in this project should be compatible with > Python 3 and where possible also with Python 2. > https://docs.python.org/3/howto/pyporting.html is one of many guides on the > topic. -- This message was sent by Atlassian JIRA (v6.4.14#64029)