[issue27308] Inconsistency in cgi.FieldStorage() causes unicode/byte TypeError.

2016-06-13 Thread Marcel Hellkamp
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

[issue27308] Inconsistency in cgi.FieldStorage() causes unicode/byte TypeError.

2016-06-13 Thread Marcel Hellkamp
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

[issue27308] Inconsistency in cgi.FieldStorage() causes unicode/byte TypeError.

2016-06-13 Thread Marcel Hellkamp
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

[issue27308] Inconsistency in cgi.FieldStorage() causes unicode/byte issue.

2016-06-13 Thread Marcel Hellkamp
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

[issue23122] python@93442 breaks build if system Python is 2.6

2014-12-27 Thread Marcel Hellkamp
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

[issue23122] python@93442 breaks build if system Python is 2.6

2014-12-27 Thread Marcel Hellkamp
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

[issue18394] cgi.FieldStorage triggers ResourceWarning sometimes

2014-01-12 Thread Marcel Hellkamp
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

[issue9019] wsgiref.headers.Header() does not update headers list it was created with.

2010-06-17 Thread Marcel Hellkamp
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