Possible removal of ctx from inevow.IResource (was Re: [Twisted-web] access control feature, ctx removal from locateChild and renderHTTP, what's going on?)

Matt Goodall matt at pollenation.net
Sat Sep 3 03:03:16 MDT 2005

Hash: SHA1

Tommi Virtanen wrote:


> <exarkun> Tv: it'll break when ctx is removed as an argument to
> locateChild et al
> ...
> <Tv> exarkun: err, wouldn't a _lot_ break with that change?
> <exarkun> Tv: yes!  but this, too.
> <Tv> well, I can make it give a wrapper resource from locateChild
> <Tv> that does the access checking at render time..
> <exarkun> ctx will be removed from renderHTTP at about the same time
> <Tv> so huh
> <Tv> 1) what's the reasoning behind that
> <Tv> 2) what, then?
> <exarkun> those questions are big and I have to catch a bus

Jp, I assume you caught you bus now ;-) so please could you post your
ideas about removing the context arg from IResource.

That is a *major* change that would affect every single Nevow
application so it needs proper discussion, including how to handle
backwards compatability.

Thanks, Matt

- --
    /  \__     Matt Goodall, Pollenation Internet Ltd
    \__/  \    w: http://www.pollenation.net
  __/  \__/    e: matt at pollenation.net
 /  \__/  \    t: +44 (0)113 2252500
 \__/  \__/
 /  \	       Any views expressed are my own and do not necessarily
 \__/          reflect the views of my employer.
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


More information about the Twisted-web mailing list