This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author berker.peksag
Recipients berker.peksag, ned.deily, smurfix, srittau, vstinner
Date 2015-10-21.17:43:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445449408.95.0.951426375552.issue20504@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch(cgi.patch) doesn't fix the problem for me: cgi-bug.py still fails with a TypeError. Here is a patch with a test to fix the problem.

With issue20504.diff applied:

$ ./python t.py 
5

(Only changed the "assert len(fields["my-arg"].file.read()) == 5" line with "print(len(fields["my-arg"].file.read()))")
History
Date User Action Args
2015-10-21 17:43:29berker.peksagsetrecipients: + berker.peksag, srittau, vstinner, ned.deily, smurfix
2015-10-21 17:43:28berker.peksagsetmessageid: <1445449408.95.0.951426375552.issue20504@psf.upfronthosting.co.za>
2015-10-21 17:43:28berker.peksaglinkissue20504 messages
2015-10-21 17:43:28berker.peksagcreate