[ https://issues.apache.org/jira/browse/CASSANDRA-18787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brad Schoening updated CASSANDRA-18787: --------------------------------------- Test and Documentation Plan: * ran tests on UTC with and without TZ set * successfully ran pytests * ran pycodestyle Status: Patch Available (was: In Progress) > Replace obsolete Python functions > --------------------------------- > > Key: CASSANDRA-18787 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18787 > Project: Cassandra > Issue Type: Improvement > Components: CQL/Interpreter > Reporter: Brad Schoening > Assignee: Brad Schoening > Priority: Low > Fix For: 5.x > > > # Python's stdlib datetime.timezone.utc can replace the custom UTC timezone > in pylib/cqlshlib/util.py. > # Removed unused attributes and functions: > ## field_size _limit > ## trim_if_present() > ## maybe_ensure_text() > # Simplify cql_version handling into a settor > Functionality should remain the same while simplifying the code by > eliminating ~60 lines. -- 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