]> granicus.if.org Git - python/commit
Make test_cgi pass. I changed the internal file created by make_file()
authorGuido van Rossum <guido@python.org>
Tue, 28 Aug 2007 03:11:34 +0000 (03:11 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 28 Aug 2007 03:11:34 +0000 (03:11 +0000)
commita1a68521db007c55668ed7d7c31fb629804105a8
tree09425841f2504c5e02fca31ab2a0fc1ee52cc67b
parent0cb431c071ce2167f262916bb467ec8cb9ea097a
Make test_cgi pass.  I changed the internal file created by make_file()
to be a text file.  (XXX It should use UTF-8 as the encoding.)
I also removed the unised 'binary' argument from the make_file() signature.

XXX I am under no illusion that this is now working; I're pretty sure
it would be more principled if it always read binary data.  But that's
for someone who actually cares about this module.
Lib/cgi.py
Lib/test/test_cgi.py