[ https://issues.apache.org/jira/browse/CASSANDRA-17694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17573854#comment-17573854 ]
Brad Schoening edited comment on CASSANDRA-17694 at 8/1/22 4:45 PM: -------------------------------------------------------------------- Hi Bernardo, the else is for Python pre-2.7, so it would seem the else body can be dropped also. And yes, this should be changed on 4.x trunk, no need to back port it. {quote}if sys.version_info >= (2, 7): .... else // no longer needed .... {quote} was (Author: bschoeni): Hi Bernardo, the else is for Python pre-2.7, so it would seem the else body can be dropped also. {quote}if sys.version_info >= (2, 7): .... else // no longer needed .... {quote} > Remove additional legacy python code fragments > ---------------------------------------------- > > Key: CASSANDRA-17694 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17694 > Project: Cassandra > Issue Type: Improvement > Components: CQL/Interpreter > Reporter: Brad Schoening > Priority: Normal > Fix For: 4.x > > > The code in formatting.py has this comment: > > |# We can get rid of this in cassandra-2.2| > || > > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org