Traceback when hashing a DBRef instance.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.10.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is caused by trying to hash self.__kwargs which is a dict and unhashable.

      Repro steps:

      1. Create a DBRef: dbr = DBRef('coll', 5, foo='bar')
      2. Try to hash it: hash(dbr)
      Traceback

            Assignee:
            Bernie Hackett
            Reporter:
            Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: