[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3378: Port allmydata.util.encodingutil to Python 3, part 2
Tahoe-LAFS
trac at tahoe-lafs.org
Wed Aug 12 19:35:20 UTC 2020
#3378: Port allmydata.util.encodingutil to Python 3, part 2
----------------------+----------------------------------
Reporter: itamarst | Owner: itamarst
Type: defect | Status: new
Priority: normal | Milestone: Support Python 3
Component: unknown | Version: n/a
Keywords: | Launchpad Bug:
----------------------+----------------------------------
Doing everything in a single branch was too much, so splitting off some
work.
1. Rename `to_str()` to `to_bytes()`, to prevent confusion.
2. `quote_output()` shouldn't return bytes on Python 3, it should stick to
unicode.
3. This then percolates to a bunch of `quote_*` functions, some of which
might need to still be bytes? Not sure.
4. ...
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3378>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list