Re: [Twisted-Python] Strange recursion error with twisted.web

2021-06-16 Thread Peter Westlake
And just to be clear, yes, it fixes my bug too. Peter. On Wed, 16 Jun 2021, at 12:30, Peter Westlake wrote: > Works a treat! Thank you! > > Peter. > > On Tue, 15 Jun 2021, at 18:51, Tom Most wrote: > > On Tue, Jun 15, 2021, at 2:46 AM, Peter Westlake wrote: > > > On Tue, 15 Jun 2021, at 01:58,

Re: [Twisted-Python] Strange recursion error with twisted.web

2021-06-16 Thread Peter Westlake
Works a treat! Thank you! Peter. On Tue, 15 Jun 2021, at 18:51, Tom Most wrote: > On Tue, Jun 15, 2021, at 2:46 AM, Peter Westlake wrote: > > On Tue, 15 Jun 2021, at 01:58, Wim Lewis wrote: > > > On Mon, Jun 14, 2021 at 05:25:42PM +0100, Peter Westlake wrote: > > > > Do we have any idea when the

Re: [Twisted-Python] Strange recursion error with twisted.web

2021-06-15 Thread Tom Most
On Tue, Jun 15, 2021, at 2:46 AM, Peter Westlake wrote: > On Tue, 15 Jun 2021, at 01:58, Wim Lewis wrote: > > On Mon, Jun 14, 2021 at 05:25:42PM +0100, Peter Westlake wrote: > > > Do we have any idea when the fix for "RecursionError with synchronous > > > deferreds (#1549)" will appear in a

Re: [Twisted-Python] Strange recursion error with twisted.web

2021-06-15 Thread Peter Westlake
On Tue, 15 Jun 2021, at 01:58, Wim Lewis wrote: > On Mon, Jun 14, 2021 at 05:25:42PM +0100, Peter Westlake wrote: > > Do we have any idea when the fix for "RecursionError with synchronous > > deferreds (#1549)" will appear in a release? > > It's been merged to trunk, so it'll be in the next

Re: [Twisted-Python] Strange recursion error with twisted.web

2021-06-14 Thread Wim Lewis
On Mon, Jun 14, 2021 at 05:25:42PM +0100, Peter Westlake wrote: > Do we have any idea when the fix for "RecursionError with synchronous > deferreds (#1549)" will appear in a release? It's been merged to trunk, so it'll be in the next release... whenever that is. Twisted tends to release about

Re: [Twisted-Python] Strange recursion error with twisted.web

2021-06-14 Thread Peter Westlake
Hello Twisted team, Do we have any idea when the fix for "RecursionError with synchronous deferreds (#1549)" will appear in a release? Peter.___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com

Re: [Twisted-Python] Strange recursion error with twisted.web

2021-03-17 Thread Peter Westlake
On Wed, 17 Mar 2021, at 02:50, Glyph wrote: > >> Excellent, thank you! >> >> I think I understand how it works, but one thing puzzles me: how does the >> queue in the jump() function ever get longer than one element? Is it because >> it might contain a recursive call, which is activated by the

Re: [Twisted-Python] Strange recursion error with twisted.web

2021-03-16 Thread Glyph
> On Mar 16, 2021, at 4:20 AM, Peter Westlake wrote: > > On Sun, 14 Mar 2021, at 02:08, Glyph wrote: >> >> I did indeed have a half-finished experiment to fix this. The fix is now >> finished and in review here: >> https://twistedmatrix.com/trac/ticket/10125#comment:1 >>

Re: [Twisted-Python] Strange recursion error with twisted.web

2021-03-16 Thread Peter Westlake
On Sun, 14 Mar 2021, at 02:08, Glyph wrote: > > I did indeed have a half-finished experiment to fix this. The fix is now > finished and in review here: > https://twistedmatrix.com/trac/ticket/10125#comment:1 . > > If you could review it thoroughly enough, I could land it. Excellent, thank

Re: [Twisted-Python] Strange recursion error with twisted.web

2021-03-13 Thread Glyph
> On Mar 11, 2021, at 4:12 AM, Peter Westlake wrote: > > On Wed, 10 Mar 2021, at 23:11, Glyph wrote: >> >> Would you mind filing a ticket in trac, or digging one up if you can >> find it? This problem rings a bell, and I think I might actually have >> some code for this lying around

Re: [Twisted-Python] Strange recursion error with twisted.web

2021-03-11 Thread Peter Westlake
On Wed, 10 Mar 2021, at 23:11, Glyph wrote: > > Would you mind filing a ticket in trac, or digging one up if you can > find it? This problem rings a bell, and I think I might actually have > some code for this lying around somewhere already. Here is it:

Re: [Twisted-Python] Strange recursion error with twisted.web

2021-03-10 Thread Glyph
> On Mar 10, 2021, at 3:09 AM, Peter Westlake wrote: > > On Tue, 9 Mar 2021, at 19:28, Glyph wrote: >> >> >>> On Mar 9, 2021, at 4:54 AM, Peter Westlake wrote: >>> >>> I'm getting a "maximum recursion depth exceeded" error that appears to be >>> coming from flatten(). The odd thing is

Re: [Twisted-Python] Strange recursion error with twisted.web

2021-03-10 Thread Peter Westlake
On Tue, 9 Mar 2021, at 19:28, Glyph wrote: > > > > On Mar 9, 2021, at 4:54 AM, Peter Westlake 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. The > > HTML that's being

Re: [Twisted-Python] Strange recursion error with twisted.web

2021-03-09 Thread Peter Westlake
On Tue, 9 Mar 2021, at 19:28, Glyph wrote: > > > > On Mar 9, 2021, at 4:54 AM, Peter Westlake 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

Re: [Twisted-Python] Strange recursion error with twisted.web

2021-03-09 Thread Glyph
> On Mar 9, 2021, at 4:54 AM, Peter Westlake 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. The > HTML that's being flattened does have a few Deferreds in it. Those come from >

[Twisted-Python] Strange recursion error with twisted.web

2021-03-09 Thread Peter Westlake
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. The HTML that's being flattened does have a few Deferreds in it. Those come from function calls, which cache the results, which might explain why I