[Web-SIG] wsgi.errors and close method

Manlio Perillo manlio_perillo at libero.it
Sun Mar 28 13:21:30 CEST 2010


Graham Dumpleton ha scritto:
> [...]
>> Unfortunately I never got to know what application or framework was
>> causing the problem.
>>
>> Any idea?
> 

Sorry, my question was not clear.

I was asking what applications or frameworks call the .close method on
the errors object.

I want to check if:
* they are really calling the .close method on wsgi.errors, and why
* they are calling the .close method on stderr, and why


> [...]
> static PyGetSetDef Log_getset[] = {
>     { "closed", (getter)Log_closed, NULL, 0 },
> #if PY_MAJOR_VERSION < 3
>     { "softspace", (getter)Log_get_softspace, (setter)Log_set_softspace, 0 },
> #else

I noted that you added softspace descriptor in recent versions.
What is its purpose?
Is it here just for compatibility?



Thanks   Manlio


More information about the Web-SIG mailing list