Author taleinat
Recipients MHordecki, efosmark, eric.araujo, flox, jonas.wagner, milesck, quentel, r.david.murray, taleinat, vstinner
Date 2011-07-04.12:11:23
SpamBayes Score 5.66835e-09
Marked as misclassified No
Message-id <>
Yes, please submit the other additional tests in a separate issue.

The default value for boundary should surely be b"". A simple test should be added where cgi.parse_multipart() uses the default boundary.

If valid_boundary() is used only for cgi.parse_multipart() then it should be changed to validate that the boundary is a bytes instance (which would also make it simpler). Otherwise (if vaild_boundary() is also used elsewhere) cgi.parse_multipart() should itself check that the boundary is indeed a bytes instance, throwing a TypeError otherwise.

Tip: You should run the relevant tests, making sure they all pass, before submitting a patch. That way you really know that the patch actually works (as far as passing all of the tests).

Thanks for adding more stdlib tests :)
Date User Action Args
2011-07-04 12:11:24taleinatsetrecipients: + taleinat, vstinner, eric.araujo, jonas.wagner, r.david.murray, efosmark, milesck, MHordecki, flox, quentel
2011-07-04 12:11:24taleinatsetmessageid: <>
2011-07-04 12:11:23taleinatlinkissue12411 messages
2011-07-04 12:11:23taleinatcreate