# HG changeset patch # User Aurelien Campeas # Date 1381401623 -7200 # Node ID 0814b9dd9bf31d8f50fe2392bd28af5ea8dadcd8 # Parent a7894d5f00bbeb6bb5f96d93c538fbf7e190846a [py3k] note about future warning on __eq__ vs __hash__ Closes #3179561. diff -r a7894d5f00bb -r 0814b9dd9bf3 utils.py --- a/utils.py Tue Oct 01 12:11:00 2013 +0200 +++ b/utils.py Thu Oct 10 12:40:23 2013 +0200 @@ -195,6 +195,8 @@ if isinstance(other, RepeatList): return other._size == self._size and other._item == self._item return self[:] == other + # py3k future warning "Overriding __eq__ blocks inheritance of __hash__ in 3.x" + # is annoying but won't go away because we don't want to hash() the repeatlist def pop(self, i): self._size -= 1