Re: gnulib-tool.py: Make GLModule's __eq__ and __hash__ method agree.

2024-04-16 Thread Bruno Haible
Hi Collin, > From the documentation of object.__hash__(self) [1]: > > The only required property is that objects which compare equal > have the same hash value; it is advised to mix together the hash > values of the components of the object that also play a part in > compariso

gnulib-tool.py: Make GLModule's __eq__ and __hash__ method agree.

2024-04-16 Thread Collin Funk
it a/ChangeLog b/ChangeLog index 03c6919131..613a6c85dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-04-16 Collin Funk + + gnulib-tool.py: Make GLModule's __eq__ and __hash__ method agree. + * pygnulib/GLModuleSystem.py (GLModuleTable.__hash__): Only use the + module name in hash com