[
https://issues.apache.org/jira/browse/CASSANDRA-10190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16859468#comment-16859468
]
Patrick Bannister commented on CASSANDRA-10190:
-----------------------------------------------
[~djoshi3], thanks for the feedback. I've incorporated all of your
recommendations on the branch.
I meant to completely delete FrozenType after testing with it commented out,
but I forgot to follow through. The reason I wanted to remove the FrozenType
class from cqlsh.py is because it was commented "Needed until the bundled
python driver adds FrozenType.", and I noticed that [the Python driver includes
FrozenType since version
2.5.0|[https://github.com/datastax/python-driver/blob/master/CHANGELOG.rst#250].]
It looks like the bundled driver is at least version 3.7.0 (CASSANDRA-12736),
so I think we should be able to remove FrozenType completely. I've made this
change on my branch too.
> Python 3 support for cqlsh
> --------------------------
>
> Key: CASSANDRA-10190
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10190
> Project: Cassandra
> Issue Type: Improvement
> Components: Legacy/Tools
> Reporter: Andrew Pennebaker
> Assignee: Patrick Bannister
> Priority: Normal
> Labels: cqlsh
> Attachments: coverage_notes.txt
>
>
> Users who operate in a Python 3 environment may have trouble launching cqlsh.
> Could we please update cqlsh's syntax to run in Python 3?
> As a workaround, users can setup pyenv, and cd to a directory with a
> .python-version containing "2.7". But it would be nice if cqlsh supported
> modern Python versions out of the box.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]