#44573: generate_packets.py: restructure parsing and handling of type aliases Open Date: 2022-05-12 20:31 Last Update: 2022-05-14 13:20 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44573 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44573 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-05-14 13:20 Updated by: alienvalkyrie * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: alienvalkyrie Owner: alienvalkyrie Type: Patches Status: Closed Priority: 5 - Medium MileStone: 3.2.0 Component: Bootstrap Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: Part of #43927. Current type alias code is unnecessarily convoluted. Remove the Type class and replace the list of alias definitions with a dict mapping names to values. Also consider handling duplicate type aliases – current code effectively silently ignores later definitions with the same name. -- 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/44573 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44573