[Checkins] [zopefoundation/zope.publisher] 368016: Fix file uploads on python 3.4 and up.
GitHub
noreply at github.com
Fri Nov 4 17:57:32 CET 2016
Branch: refs/heads/master
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.
Commit: 39d67bc488ea3d5d33edb14d79d0d0be7f2d29f1
https://github.com/zopefoundation/zope.publisher/commit/39d67bc488ea3d5d33edb14d79d0d0be7f2d29f1
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:
-----------
Merge pull request #13 from zopefoundation/fix-file-uploads-python-3.4
Fix file uploads on python 3.4 and up.
Compare: https://github.com/zopefoundation/zope.publisher/compare/61af99d1bd49...39d67bc488ea
More information about the checkins
mailing list