#45715: generate_packets.py: Move key cmp/hash into type code Open Date: 2022-09-25 15:55 Last Update: 2022-09-25 15:55 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45715 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45715 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-09-25 15:55 Updated by: alienvalkyrie * New Ticket "generate_packets.py: Move key cmp/hash into type code" created --------------------------------------------------------------------- Ticket Status: Reporter: alienvalkyrie Owner: alienvalkyrie Type: Patches Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.2.0 Component: Bootstrap Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Part of #43927. Make Variant.get_cmp assemble the key comparison function from existing field cmp parts, and do the same for Variant.get_hash, adding the new hash-related methods to fields and types. (For non-int field types, these will be stubs that raise an error, for now.) -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/45715 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45715