On Thu, 8 Dec 2005, Graham Dumpleton (JIRA) wrote:
In 3.2, mod_python.publisher was modified so that if it encountered an
interable it would recursively iterate over the items and publish each
with the result being concatenated.
I didn't know this either. I'm curious what the rational for th
Gregory (Grisha) Trubetskoy wrote:
On Thu, 8 Dec 2005, Graham Dumpleton (JIRA) wrote:
In 3.2, mod_python.publisher was modified so that if it encountered an
interable it would recursively iterate over the items and publish each
with the result being concatenated.
I didn't know this either.
Jim Gallacher wrote ..
> Gregory (Grisha) Trubetskoy wrote:
> >
> > On Thu, 8 Dec 2005, Graham Dumpleton (JIRA) wrote:
> >
> >> In 3.2, mod_python.publisher was modified so that if it encountered
> an
> >> interable it would recursively iterate over the items and publish each
> >> with the resul
On Thu, 8 Dec 2005, Jim Gallacher wrote:
I believe this is the source of this change:
http://issues.apache.org/jira/browse/MODPYTHON-15
Thanks! So quoting from the description:
---
Suppose this function in a published module :
def index(req)
req.content_type = 'text/plain'
On Thu, 8 Dec 2005, Gregory (Grisha) Trubetskoy wrote:
def index(req)
req.content_type = 'text/plain'
yield '1\n'
yield '2\n'
yield '3\n'
yield '4\n'
When published, this module should return a text content with
'1\n2\n3\n4\n'.
---
I'd expect this to return '1\n'.
Grisha wrote ..
>
> On Thu, 8 Dec 2005, Gregory (Grisha) Trubetskoy wrote:
>
> > def index(req)
> > req.content_type = 'text/plain'
> > yield '1\n'
> > yield '2\n'
> > yield '3\n'
> > yield '4\n'
> >
> > When published, this module should return a text content with
> >
wrong handler supplied to req.add_handler() generates error
---
Key: MODPYTHON-98
URL: http://issues.apache.org/jira/browse/MODPYTHON-98
Project: mod_python
Type: Bug
Components: core
Versions: 3.2, 3.1.
[
http://issues.apache.org/jira/browse/MODPYTHON-98?page=comments#action_12359850
]
Graham Dumpleton commented on MODPYTHON-98:
---
A related note against this issue with req.add_handler(), if you errornously do
something like:
def accesshandler(
2005/12/9, Graham Dumpleton <[EMAIL PROTECTED]>:> Grisha wrote ..> >> > On Thu, 8 Dec 2005, Gregory (Grisha) Trubetskoy wrote:> >> > > def index(req)
> > > req.content_type = 'text/plain'> > > yield '1\n'> > > yield '2\n'> > > yield '3\n'> > > yield '4\n'> > >> > > When p
2005/12/9, Nicolas Lehuen <[EMAIL PROTECTED]>:
Uh oh looks like I'm the one to blame here. As mentioned on MODPYTHON-15, Graham and I had a little discussion about the potential for infinite generators, and that's all. My bad is to have unilateraly decided to check in the change though it has not b
10 matches
Mail list logo