[Checkins] [zopefoundation/zope.publisher] 696e59: Get rid of _u()
Marius Gedminas
noreply at github.com
Wed Jul 10 16:13:12 CEST 2019
Branch: refs/heads/master
Home: https://github.com/zopefoundation/zope.publisher
Commit: 696e59a9d40b7b1cce317c800ac686eda871e653
https://github.com/zopefoundation/zope.publisher/commit/696e59a9d40b7b1cce317c800ac686eda871e653
Author: Marius Gedminas <marius at gedmin.as>
Date: 2019-07-10 (Wed, 10 Jul 2019)
Changed paths:
M src/zope/publisher/_compat.py
M src/zope/publisher/browser.py
M src/zope/publisher/http.py
Log Message:
-----------
Get rid of _u()
Where we know we have bytes, we can call bytes.decode() directly.
The one place where we don't know what we have, we'll have to keep
calling unicode(). (That place is handling string exceptions AFAICT,
which are not allowed on Python 3.)
Commit: 02e5f31a8e1950c5bd24f5a60d77025dd06bb330
https://github.com/zopefoundation/zope.publisher/commit/02e5f31a8e1950c5bd24f5a60d77025dd06bb330
Author: Marius Gedminas <marius at gedmin.as>
Date: 2019-07-10 (Wed, 10 Jul 2019)
Changed paths:
M src/zope/publisher/_compat.py
M src/zope/publisher/browser.py
M src/zope/publisher/http.py
Log Message:
-----------
Merge pull request #45 from zopefoundation/refactor
Get rid of _u()
Compare: https://github.com/zopefoundation/zope.publisher/compare/658a0249d19b...02e5f31a8e19
More information about the checkins
mailing list