#48308 Add __eq__ and __ne__ to Entry to allow fast comparison
Closed: wontfix None Opened 6 years ago by firstyear.

lib389's searches yield Entry objects. It's handy to be able to do:

pre = ds.search_s(somedn)

Make a change

post = ds.search_s(somedn)

if pre == post:
# evaluate in some way.

This will make some aspects of writing tests for dirsrv easier, especially when we are looking for changes in objects due to plugin effects.

Fix for ordering of attributes in comparsion.

Is this ready to be pushed?

This is probably okay to merge, I just need to rebase it.

This is already merged, but apparently I didn't update the ticket. Closing.

commit 29173341a2dede1c5c8e8021d7b969f6784c8ee9
Author: William Brown wibrown@redhat.com
Date: Wed Oct 14 10:11:41 2015 +1000

Metadata Update from @mreynolds:
- Issue assigned to firstyear
- Issue set to the milestone: lib389 1.0.3

4 years ago

Metadata Update from @mreynolds:
- Issue close_status updated to: None (was: Fixed)
- Issue set to the milestone: None (was: lib389 1.0.3)

2 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/1639

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix

a year ago

Login to comment on this ticket.