Fix a handful of compatibility problems with Python 3.

Review Request #10255 — Created Oct. 21, 2018 and submitted

Information

Djblets
release-2.0.x
5d8b9d9...

Reviewers

Unit tests caught a few remaining issues running under Python 3. We had
some string type incompatibilities, changes to how pickling work,
generator vs. list assumptions, and some others. This updates all of
them, allowing the Djblets test suite to fully pass on Python 3.

Unit tests pass on Python 2.7, 3.5, and 3.6.

(Note that some pending changes in Django Evolution are still required
in order to pass.)

Description From Last Updated

Is there any reason not to use force_bytes?

daviddavid
david
  1. 
      
  2. djblets/util/http.py (Diff revision 1)
     
     
     

    Is there any reason not to use force_bytes?

    1. No reason. This was one of the earlier things in my big WIP branch that I split up.

  3. 
      
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (e2f65e3)
Loading...