Issue 1340 by Amaury Forgeot d'Arc (with help from Christian Heimes,
and my own interpretation). Don't pass the newline= flag to StringIO in SpooledTemporaryFile. This avoids doubling newlines when the file is rolled over.
Showing
Please
register
or
sign in
to comment