On 19/02/2019 11:41, Adi Roiban wrote:
I think it was introduced to catch some common bad usage patterns ...
like yours :)
Not a massively helpful comment.
If you want to chain the deferreds, use the dedicated helper
https://twistedmatrix.com/documents/current/core/howto/defer.html#chaining-
On Tue, 19 Feb 2019 at 11:01, Chris Withers wrote:
>
> Hi All,
>
> There's this assert:
>
> https://github.com/twisted/twisted/blob/trunk/src/twisted/internet/defer.py#L459
>
> ...and I'd like to understand why it's there.
[snip]
> Unfortunately, the commit that introduced that assert is just a
Hi All,
There's this assert:
https://github.com/twisted/twisted/blob/trunk/src/twisted/internet/defer.py#L459
...and I'd like to understand why it's there.
I have what feels like a legitimate case where that assert trips me up,
as I'd like to change this line:
https://github.com/cjw296/carl