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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tommi Virtanen wrote:

[snip]

> <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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDGWbUPpOMbs6rEZERAi2iAKCZVlO0AvvWc2s5/dRRyzsPAHhxqgCeNvr+
QztFrYP9whpitnMJXXua/qc=
=aIrS
-----END PGP SIGNATURE-----



More information about the Twisted-web mailing list