[Twisted-Python] Strange recursion error with twisted.web
Peter Westlake
peter.westlake at pobox.com
Tue Mar 9 17:27:44 MST 2021
On Tue, 9 Mar 2021, at 19:28, Glyph wrote:
>
>
> > On Mar 9, 2021, at 4:54 AM, Peter Westlake <peter.westlake at 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.
More information about the Twisted-Python
mailing list