Marcel Hellkamp added the comment:
Looks like this is a duplicate to #24764 and already fixed. Sorry for the noise.
--
___
Python tracker
<http://bugs.python.org/issue27
Marcel Hellkamp added the comment:
This should fix the issue.
--
keywords: +patch
Added file: http://bugs.python.org/file43378/foo.patch
___
Python tracker
<http://bugs.python.org/issue27
Changes by Marcel Hellkamp :
--
title: Inconsistency in cgi.FieldStorage() causes unicode/byte issue. ->
Inconsistency in cgi.FieldStorage() causes unicode/byte TypeError.
___
Python tracker
<http://bugs.python.org/issu
New submission from Marcel Hellkamp:
Discovered here: https://github.com/bottlepy/bottle/issues/856
If a multipart section has a "Content-Length" header, but no "filename"
attribute in the "Content-Disposition" header, cgi.FieldStorage tries to write
binary data
Marcel Hellkamp added the comment:
"make touch" solved the problem. A clear case of RTFM :) Sorry for the noise.
--
resolution: -> not a bug
status: open -> closed
___
Python tracker
<http://bugs.py
New submission from Marcel Hellkamp:
On CentOS 6.6 the system Python is 2.6. The use to set literals in
Parser/adsl.py breaks the build process on these systems. The ./configure
should ensure that a compatible version of python is available.
--
components: Build
messages: 233134
nosy
Marcel Hellkamp added the comment:
This change breaks existing applications.
The cgi.FieldStorage.file attribute is public and mentioned in the
documentation. It even states "You can then read the data at leisure from the
file attribute".
Consider this example::
form = cgi.Fi
New submission from Marcel Hellkamp :
The current (3.x) implementation of wsgiref.headers.Headers() does not match
the documentation.
Documented behaviour:
"Any changes made to the new Headers object will directly update the headers
list it was created with." (/Doc/library/w