Hi John,
On Aug 30, 2024 at 09:42:05, John Coggeshall <j...@coggenterprises.com> wrote: > This seems entirely reasonable and I would welcome an RFC for it (unless > someone has a better idea as to how to handle this case). > > The other options I considered were to either materialize the Generator, but given that they can run indefinitely this seems very dangerous or json-encoding them as [] but that would be lying in most cases, so doing what serialize() does felt like the only sensible option and would prevent a nasty case of silent failure. Regards Philip