Re: [Twisted-Python] why can't a callback be called with a deferred?

2019-02-27 Thread Jean-Paul Calderone
On Wed, Feb 27, 2019 at 10:07 AM Scott, Barry wrote: > > The code I have posted is the good version so it works and the assert > does not fire. My goal is to show what I assume is the correct way to code > a function that uses internal Deferred(), not give an example that breaks. > > This should

Re: [Twisted-Python] why can't a callback be called with a deferred?

2019-02-27 Thread Scott, Barry
On Wednesday, 27 February 2019 14:45:35 GMT Jean-Paul Calderone wrote: > On Wed, Feb 27, 2019 at 9:34 AM Scott, Barry > > wrote: > > On Tuesday, 26 February 2019 06:34:28 GMT Glyph wrote: > > > > On Feb 25, 2019, at 3:32 AM, Scott, Barry > > > > wrote:> > > > > > > > > On Tuesday, 19 February 2

Re: [Twisted-Python] why can't a callback be called with a deferred?

2019-02-27 Thread Jean-Paul Calderone
On Wed, Feb 27, 2019 at 9:34 AM Scott, Barry wrote: > On Tuesday, 26 February 2019 06:34:28 GMT Glyph wrote: > > > On Feb 25, 2019, at 3:32 AM, Scott, Barry > > > wrote:> > > > On Tuesday, 19 February 2019 11:00:57 GMT Chris Withers wrote: > > >> Hi All, > > >> > > >> There's this assert: > > >>

Re: [Twisted-Python] why can't a callback be called with a deferred?

2019-02-27 Thread Scott, Barry
On Tuesday, 26 February 2019 06:34:28 GMT Glyph wrote: > > On Feb 25, 2019, at 3:32 AM, Scott, Barry > > wrote:> > > On Tuesday, 19 February 2019 11:00:57 GMT Chris Withers wrote: > >> Hi All, > >> > >> There's this assert: > >> > >> https://github.com/twisted/twisted/blob/trunk/src/twisted/int