Read preference classes __eq__ should return NotImplemented

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Trivial - P5
    • 3.1
    • Affects Version/s: 3.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The __eq__ methods of both _ServerMode and Primary raise NotImplementedError when compared against an incompatible type. They should return NotImplemented instead.

      https://docs.python.org/2/library/constants.html#NotImplemented

              Assignee:
              Anna Herlihy (Inactive)
              Reporter:
              Bernie Hackett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: