On 2010-09-16, at 18:08 , Tarek Ziadé wrote: > On Thu, Sep 16, 2010 at 1:57 PM, Armin Ronacher > <armin.ronac...@active-4.com> wrote: >> Hi, >> >> On 9/16/10 1:44 PM, Tarek Ziadé wrote: >>> I propose to write in the PEP that a middleware should provide an >>> "app" attribute to get the wrapped application or middleware. >>> It seems to be the most common name used out there. >> >> What about middlewares that encapsulate more than one application? > > True... I don't know what's the best option here.. I guess we need to > provide all children so one may visit the whole graph. That would require a hypothetical self.app to always be a list, or at least an iterable, right? _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com
- Re: [Web-SIG] PEP 444 (aka Web3) Dirkjan Ochtman
- Re: [Web-SIG] PEP 444 (aka Web3) Tres Seaver
- Re: [Web-SIG] PEP 444 (aka Web3) Tarek Ziadé
- Re: [Web-SIG] PEP 444 (aka Web3) Armin Ronacher
- Re: [Web-SIG] PEP 444 (aka Web3) Tarek Ziadé
- Re: [Web-SIG] PEP 444 (aka Web3) Armin Ronacher
- Re: [Web-SIG] PEP 444 (aka Web3) Tarek Ziadé
- Re: [Web-SIG] PEP 444 (aka Web3) jason kirtland
- Re: [Web-SIG] PEP 444 (aka Web3... chris . dent
- Re: [Web-SIG] PEP 444 (aka Web3... Randy Syring
- Re: [Web-SIG] PEP 444 (aka Web3) Masklinn
- Re: [Web-SIG] PEP 444 (aka Web3) Tarek Ziadé
- Re: [Web-SIG] PEP 444 (aka Web3) Chris McDonough
- Re: [Web-SIG] PEP 444 (aka Web3) Ian Bicking
- Re: [Web-SIG] PEP 444 (aka Web3) chris . dent
- Re: [Web-SIG] PEP 444 (aka Web3) Guido van Rossum
- Re: [Web-SIG] PEP 444 (aka Web3) Robert Brewer
- Re: [Web-SIG] PEP 444 (aka Web3) Armin Ronacher
- Re: [Web-SIG] PEP 444 (aka Web3) Benoit Chesneau
- Re: [Web-SIG] PEP 444 (aka Web3) And Clover
- Re: [Web-SIG] PEP 444 (aka Web3) Ian Bicking