Re: [Twisted-Python] web Resource question

2016-06-16 Thread Kevin Mcintyre
Hey, thanks for the reply. It seems like there's the possibility of more beneficial assignments...but first trying to understand if there's a specific reason for the child.server assignment. On Thu, Jun 16, 2016 at 5:11 AM, Cory Benfield wrote: > > > On 16 Jun 2016, at 05:16, Kevin Mcintyre wr

Re: [Twisted-Python] web Resource question

2016-06-16 Thread Cory Benfield
> On 16 Jun 2016, at 05:16, Kevin Mcintyre wrote: > > > what is child.server = self.server in Resource.putChild? > > shouldn't it be child.server = self? I don’t think so. The reference to the server is presumably intended to refer to the Site object that is hosting the Resource. With that s

[Twisted-Python] web Resource question

2016-06-15 Thread Kevin Mcintyre
what is child.server = self.server in Resource.putChild? shouldn't it be child.server = self? ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python