[Checkins] [zopefoundation/zope.publisher] 368016: Fix file uploads on python 3.4 and up.

GitHub noreply at github.com
Tue Jan 31 12:32:12 CET 2017


  Branch: refs/heads/thet-fix-pythonscripts
  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: 8704725b11f5a58b1d5e8b6f64f9f05789e07e5e
      https://github.com/zopefoundation/zope.publisher/commit/8704725b11f5a58b1d5e8b6f64f9f05789e07e5e
  Author: Brian Sutherland <brian at vanguardistas.net>
  Date:   2016-11-04 (Fri, 04 Nov 2016)

  Changed paths:
    M tox.ini

  Log Message:
  -----------
  Test out @mgedmin's suggestion for fixing travis tests. Test count is the same.


  Commit: 61af99d1bd49702661f23e9f2b5cfa087922c02c
      https://github.com/zopefoundation/zope.publisher/commit/61af99d1bd49702661f23e9f2b5cfa087922c02c
  Author: Brian Sutherland <brian at vanguardistas.net>
  Date:   2016-11-04 (Fri, 04 Nov 2016)

  Changed paths:
    M tox.ini

  Log Message:
  -----------
  Merge pull request #14 from zopefoundation/fix-travis

Fix Travis


  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.


  Commit: 3d64085b44197201599e6e635273b6e06f0c6c46
      https://github.com/zopefoundation/zope.publisher/commit/3d64085b44197201599e6e635273b6e06f0c6c46
  Author: Jens W. Klein <jk at kleinundpartner.at>
  Date:   2017-01-31 (Tue, 31 Jan 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/publisher/browser.py
    M src/zope/publisher/tests/test_browserrequest.py
    M tox.ini

  Log Message:
  -----------
  Merge branch 'master' into thet-fix-pythonscripts


Compare: https://github.com/zopefoundation/zope.publisher/compare/2f8d0093a1ff...3d64085b4419


More information about the checkins mailing list