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

Tom Most twm at freecog.net
Tue Jun 15 11:51:27 MDT 2021


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 release?
> > 
> > It's been merged to trunk, so it'll be in the next release... whenever 
> > that is. Twisted tends to release about once or twice a year but I don't 
> > think there's a schedule.
> > 
> > Are you able to test against a recent development version? It's rare for 
> > trunk to have regressions, so it should be pretty safe to run against a 
> > recent version if it fixes a crash you're having.
> 
> I can certainly try. Are development versions available for 
> installation, or do I need to build from source?

We don't publish snapshots, but you can install directly from GitHub, like:

    pip install https://github.com/twisted/twisted/archive/trunk.zip

It's probably wise to specify a commit rather than reference trunk. For example, to install the latest commit as of now:

    pip install https://github.com/twisted/twisted/archive/4edc214ce9ca61950dd613b4d2dbb6fa8df28efd.zip

Pip can also install from a Git URL, but using the archive URL is faster because you avoid doing a full clone.

---Tom



More information about the Twisted-Python mailing list