#44008: generate_packets.py: turn get_choices into a generator Open Date: 2022-03-02 15:16 Last Update: 2022-03-02 15:16 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44008 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44008 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-03-02 15:16 Updated by: alienvalkyrie * New Ticket "generate_packets.py: turn get_choices into a generator" 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. There is a powerset implementation among the Itertools Recipes; that implementation yields subsets in a different order than the current get_choices, which would change the output files (if any fields currently used add-cap or remove-cap, which they don't). Either way, I don't think it'd change the network protocol, just the internal function names. -- 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/44008 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44008