so that's comparable/hashable/immutable and can be used as key in a dict or set. The fromXML instance method was dropped since it relied on the object being mutable. A fromHex classmethod replaces it.
if __name__ == "__main__"