In #439 I tried to use Response rather than IResponse in some annotations,
to avoid having to
write a type stub to cover twisted's iweb interface.
There were other complications down the line from this, because I was now contravening the zope interfaces I was claiming to adhere to. It was easier to change my mind, use stubgen, and polish up the result by hand. A lot of the work had been done already in annotating the implementation classes.
In #439 I tried to use
Response
rather thanIResponse
in some annotations, to avoid having to write a type stub to cover twisted'siweb
interface.There were other complications down the line from this, because I was now contravening the zope interfaces I was claiming to adhere to. It was easier to change my mind, use
stubgen
, and polish up the result by hand. A lot of the work had been done already in annotating the implementation classes.