Merge pull request #2129 from alex/hash-csr

Fixed #2127 -- added __hash__ to CSR