Avoid placing Block instances into a set(), as this requires them to be hashable.
Avoid placing Block instances into a set(), as this requires them to be hashable.

Defining Block.__eq__ in 047ff734caf4c27a6eb3ac4daae86de3106eeb1d causes the default __hash__ implementation to be nullified on Python 3. Since it's non-trivial to define a replacement __hash__ method that's consistent with our __eq__ behaviour (it depends on the equality of lists / dicts, which are themselves unhashable), it's more correct to explicitly define Block as unhashable, bringing the Python 2 behaviour in line with Python 3.

The one place where we currently depend on Block being hashable is in constructing the 'dependencies' set for nested blocks. Since we don't actually need the de-duplicating behaviour of set(), we can replace this with a plain list with no ill effects.

mixxorz/wagtail,wagtail/wagtail,janusnic/wagtail,darith27/wagtail,davecranwell/wagtail,taedori81/wagtail,inonit/wagtail,stevenewey/wagtail,tangentlabs/wagtail,wagtail/wagtail,hamsterbacke23/wagtail,mayapurmedia/wagtail,kurtrwall/wagtail,chrxr/wagtail,thenewguy/wagtail,jnns/wagtail,tangentlabs/wagtail,nrsimha/wagtail,JoshBarr/wagtail,jorge-marques/wagtail,jordij/wagtail,taedori81/wagtail,wagtail/wagtail,nimasmi/wagtail,mixxorz/wagtail,rjsproxy/wagtail,nrsimha/wagtail,Toshakins/wagtail,davecranwell/wagtail,FlipperPA/wagtail,hamsterbacke23/wagtail,dresiu/wagtail,m-sanders/wagtail,Toshakins/wagtail,bjesus/wagtail,nilnvoid/wagtail,mikedingjan/wagtail,Tivix/wagtail,chrxr/wagtail,bjesus/wagtail,iho/wagtail,JoshBarr/wagtail,jnns/wagtail,rsalmaso/wagtail,kaedroho/wagtail,zerolab/wagtail,FlipperPA/wagtail,zerolab/wagtail,hanpama/wagtail,thenewguy/wagtail,m-sanders/wagtail,FlipperPA/wagtail,mixxorz/wagtail,KimGlazebrook/wagtail-experiment,gogobook/wagtail,kaedroho/wagtail,stevenewey/wagtail,thenewguy/wagtail,davecranwell/wagtail,zerolab/wagtail,janusnic/wagtail,marctc/wagtail,kurtw/wagtail,mephizzle/wagtail,taedori81/wagtail,iansprice/wagtail,Tivix/wagtail,rv816/wagtail,WQuanfeng/wagtail,Pennebaker/wagtail,janusnic/wagtail,rsalmaso/wagtail,WQuanfeng/wagtail,mephizzle/wagtail,jordij/wagtail,rsalmaso/wagtail,bjesus/wagtail,rv816/wagtail,rjsproxy/wagtail,kurtw/wagtail,jnns/wagtail,mikedingjan/wagtail,thenewguy/wagtail,hanpama/wagtail,kaedroho/wagtail,dresiu/wagtail,inonit/wagtail,Klaudit/wagtail,rsalmaso/wagtail,iho/wagtail,kaedroho/wagtail,quru/wagtail,quru/wagtail,mixxorz/wagtail,bjesus/wagtail,Klaudit/wagtail,jorge-marques/wagtail,nimasmi/wagtail,takeflight/wagtail,hanpama/wagtail,takeshineshiro/wagtail,nilnvoid/wagtail,iho/wagtail,rjsproxy/wagtail,kaedroho/wagtail,JoshBarr/wagtail,hamsterbacke23/wagtail,gasman/wagtail,jordij/wagtail,thenewguy/wagtail,dresiu/wagtail,mephizzle/wagtail,mixxorz/wagtail,wagtail/wagtail,WQuanfeng/wagtail,torchbox/wagtail,mjec/wagtail,nealtodd/wagtail,serzans/wagtail,serzans/wagtail,mayapurmedia/wagtail,torchbox/wagtail,nimasmi/wagtail,tangentlabs/wagtail,mikedingjan/wagtail,Toshakins/wagtail,mjec/wagtail,marctc/wagtail,rsalmaso/wagtail,mjec/wagtail,iho/wagtail,gasman/wagtail,zerolab/wagtail,mjec/wagtail,stevenewey/wagtail,nrsimha/wagtail,dresiu/wagtail,marctc/wagtail,inonit/wagtail,Tivix/wagtail,serzans/wagtail,timorieber/wagtail,rjsproxy/wagtail,timorieber/wagtail,quru/wagtail,Klaudit/wagtail,zerolab/wagtail,m-sanders/wagtail,mayapurmedia/wagtail,kurtrwall/wagtail,darith27/wagtail,nutztherookie/wagtail,takeshineshiro/wagtail,rv816/wagtail,serzans/wagtail,kurtrwall/wagtail,rv816/wagtail,nilnvoid/wagtail,Klaudit/wagtail,nealtodd/wagtail,kurtw/wagtail,jorge-marques/wagtail,takeshineshiro/wagtail,jordij/wagtail,KimGlazebrook/wagtail-experiment,janusnic/wagtail,nealtodd/wagtail,hanpama/wagtail,wagtail/wagtail,Pennebaker/wagtail,Pennebaker/wagtail,takeshineshiro/wagtail,quru/wagtail,nutztherookie/wagtail,Tivix/wagtail,gasman/wagtail,kurtw/wagtail,nutztherookie/wagtail,mayapurmedia/wagtail,nrsimha/wagtail,JoshBarr/wagtail,hamsterbacke23/wagtail,nealtodd/wagtail,gogobook/wagtail,Pennebaker/wagtail,iansprice/wagtail,nutztherookie/wagtail,davecranwell/wagtail,KimGlazebrook/wagtail-experiment,nimasmi/wagtail,tangentlabs/wagtail,gasman/wagtail,taedori81/wagtail,takeflight/wagtail,inonit/wagtail,kurtrwall/wagtail,takeflight/wagtail,iansprice/wagtail,mikedingjan/wagtail,darith27/wagtail,torchbox/wagtail,marctc/wagtail,gogobook/wagtail,dresiu/wagtail,timorieber/wagtail,WQuanfeng/wagtail,chrxr/wagtail,taedori81/wagtail,FlipperPA/wagtail,Toshakins/wagtail,gogobook/wagtail,nilnvoid/wagtail,gasman/wagtail,m-sanders/wagtail,jorge-marques/wagtail,darith27/wagtail,takeflight/wagtail,jorge-marques/wagtail,iansprice/wagtail,jnns/wagtail,chrxr/wagtail,mephizzle/wagtail,stevenewey/wagtail,torchbox/wagtail,KimGlazebrook/wagtail-experiment,timorieber/wagtail