[
https://issues.apache.org/jira/browse/CASSANDRA-18787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brad Schoening updated CASSANDRA-18787:
---------------------------------------
Description:
# 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
was:
# Python's stdlib datetime.timezone.utc can replace the custom UTC timezone in
pylib/cqlshlib/util.py.
# Util.py: trim_if_present is unused (going back to 1.0)
# cqlshmain.py: maybe_ensure_text is a no-op and is left over from six
compatibility.
# cqlshmain.py: field_size_limit is set but not used
# line_profiler is unmaintained (7+ years)
> 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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]