Hey, I'm with Chris here (talk about an ambivalent position).
I think we could be allowed to break things a bit before 1.0. Django did that with 0.96 and I think they got a lot of benefit from that move. Carlos de la Guardia On Fri, Jun 5, 2009 at 12:42 PM, Chris Rossi <ch...@archimedeanco.com>wrote: > On Fri, Jun 5, 2009 at 1:27 PM, Chris McDonough <chr...@plope.com> wrote: > >> >> What I *should* have done from the very start was to pass the request >> object in to both root factories and context factories. But it's too late >> for that now; we'd break too many people's apps. >> > > Just to play devil's advocate, here: we're already breaking compatibility > for url dispatch, so we're not really concerned about that. For apps that > use a root factory, each app should only have one, so a backwards > incompatible change in signature should only really require touching one > place in their code to upgrade to 1.0. And that change need only touch two > lines of code: > > def root_factory(environ): > # blah blah blah that uses environ > > becomes > > def root_factory(request); > environ = request.environ > # blah blah blah that uses environ > > Chris > > > _______________________________________________ > Repoze-dev mailing list > Repoze-dev@lists.repoze.org > http://lists.repoze.org/listinfo/repoze-dev > >
_______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev