Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1655

Equality comparisons on WriteConcern instances are incorrect

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.8
    • Affects Version/s: None
    • Component/s: None
    • None

      We do not check the type of other in WriteConcern.__eq__ which can result in an AttributeError when other does not have the expected attributes. We should follow the same pattern as we do in ReadConcern.__eq__ instead.

            Assignee:
            Unassigned Unassigned
            Reporter:
            prashant.mital Prashant Mital (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: