[Checkins] [zopefoundation/zope.publisher] 368016: Fix file uploads on python 3.4 and up.
GitHub
noreply at github.com
Fri Nov 4 11:00:33 CET 2016
Branch: refs/heads/fix-file-uploads-python-3.4
Home: https://github.com/zopefoundation/zope.publisher
Commit: 368016697cdd0c150c811658b1a3fc5701af6e96
https://github.com/zopefoundation/zope.publisher/commit/368016697cdd0c150c811658b1a3fc5701af6e96
Author: Brian Sutherland <brian at vanguardistas.net>
Date: 2016-11-04 (Fri, 04 Nov 2016)
Changed paths:
M CHANGES.rst
M src/zope/publisher/browser.py
M src/zope/publisher/tests/test_browserrequest.py
Log Message:
-----------
Fix file uploads on python 3.4 and up.
cgi.FieldStorage explicitly
closes files when it is garbage collected. For details, see:
* http://bugs.python.org/issue18394
* https://hg.python.org/cpython/rev/c0e9ba7b26d5
We now keep a reference to the FieldStorage till we
are finished processing the request.
More information about the checkins
mailing list