
March 10, 2021
12:27 a.m.
On Tue, 9 Mar 2021, at 19:28, Glyph wrote:
On Mar 9, 2021, at 4:54 AM, Peter Westlake <peter.westlake@pobox.com> wrote:
I'm getting a "maximum recursion depth exceeded" error that appears to be coming from flatten(). The odd thing is that it only happens sometimes.
flatten() can definitely result in some deep recursive stacks, particularly in combination with synchronous Deferreds which have their own accumulating stack costs. I'd be interested to see a minimal reproducer for this though, I'm sure we could do a lot better.
It’s good to know that this isn’t completely unexpected. I’ll try to reproduce it, thanks. Peter.