Commit 92bab812 authored by Guido van Rossum's avatar Guido van Rossum

My wish for TempFile is fulfilled.

parent f0c74161
......@@ -776,7 +776,7 @@ class FieldStorage:
"""
import tempfile
return tempfile.TemporaryFile("w+")
return tempfile.TemporaryFile("w+", encoding="utf-8", newline="\n")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment