cqlengine columns are no longer hashable

Description

Column objects used to be hashable (up to version 3.5.0). Version 3.6.0 added comparison methods to Column objects including _eq_ which disables hashing if a _hash_ method isn't also implemented.

A possible fix would be to define _hash_(self) to just return id(self) which would restore previous behavior.

Environment

Python 3.5.1

Pull Requests

None

Activity

Show:
Greg Bestland
August 12, 2016, 2:37 AM

Added a simple test to check hash function moving this to done.

Fixed

Assignee

Unassigned

Reporter

Abe Dillon

Fix versions

Labels

Reproduced in

None

PM Priority

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Pull Request

None

Sprint

Py P-NEXT

Affects versions

Priority

Major