lp:~cjwatson/lazr.restful/py3-stringio
Created by
Colin Watson
and last modified
- Get this branch:
- bzr branch lp:~cjwatson/lazr.restful/py3-stringio
Only
Colin Watson
can upload to this branch. If you are
Colin Watson
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Ioana Lasc (community): Approve
-
Diff: 63 lines (+7/-6)4 files modifiedsrc/lazr/restful/debug.py (+1/-1)
src/lazr/restful/docs/utils.rst (+0/-1)
src/lazr/restful/example/base/tests/wadl.txt (+1/-1)
src/lazr/restful/tests/test_webservice.py (+5/-3)
Branch information
Recent revisions
- 262. By Colin Watson
-
Make EntryTestCase.wadl return Unicode text.
This is more convenient in Python 3, and does no harm in Python 2. Use
io.StringIO rather than cStringIO.StringIO when constructing a stream
containing the WADL description. - 261. By Colin Watson
-
Use io.StringIO in lazr/restful/
example/ base/tests/ wadl.txt. It constructs it with `body.decode(
'utf8') `, which is Unicode text in both
Python 2 and 3. - 260. By Colin Watson
-
Use six.StringIO in debug_proxy.
It's using the StringIO object as a target for print(), which writes native
strings.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:lazr.restful