[issue9022] TypeError in wsgiref.handlers when using CGIHandler
report at bugs.python.org
Wed Oct 20 17:44:50 CEST 2010
And Clover <and at doxdesk.com> added the comment:
Yes, CGIHandler is broken in 3.0-3.1; wsgiref in general has been in limbo until the whole issue of py3k-WSGI is sorted. This seems to be happening now in PEP 3333.
Attached patch to make CGIHandler use the byte interfaces for stdin/stdout, which allows the write calls to work and provides byte streams to the WSGI application as required by PEP 3333.
Added file: http://bugs.python.org/file19299/issue9022.patch
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list