Skip to content

hash of URIRef is not the same across python runs #500

Closed
@drewp

Description

@drewp

python -c 'import rdflib; print hash(rdflib.URIRef("hi"))'
13312079974552043
python -c 'import rdflib; print hash(rdflib.URIRef("hi"))'
13312079974020587

It would be nice if this was stable. The fix is in term.py, where we should perhaps use hash(type(self).name) instead of hash(type(self)) .

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions