#45754: generate_packets.py: Remove array nesting limit Open Date: 2022-09-30 20:27 Last Update: 2022-10-09 13:40 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45754 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45754 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-10-09 13:40 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. Currently, arrays can only be nested three layers deep. While it's not likely we'll ever even need that many layers, there's no good reason for this limit; it only exists because there are only three array indices to use (i, j and k) ~> figure out a simple, general way to generate an unlimited number of indices and remove the restriction. -- 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/45754 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45754