#3378 closed defect (fixed)

Port allmydata.util.encodingutil to Python 3, part 2

Reported by: itamarst Owned by: itamarst
Priority: normal Milestone: Support Python 3
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

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. ...

Change History (4)

comment:1 Changed at 2020-08-14T17:50:15Z by itamarst

In progress, in branch.

Did item 1 above.

comment:2 Changed at 2020-08-17T17:35:25Z by itamarst

  • Keywords review added

comment:3 Changed at 2020-08-20T15:59:47Z by exarkun

  • Keywords review removed

comment:4 Changed at 2020-08-20T17:24:38Z by GitHub <noreply@…>

  • Resolution set to fixed
  • Status changed from new to closed

In f227b1b/trunk:

Merge pull request #779 from tahoe-lafs/3378.encodingutil-python-3-part-2

Fixes ticket:3378

Port encodingutil to Python 3, part 2

Note: See TracTickets for help on using tickets.