Fix a handful of Python 3 and Django 1.11 compatibility issues.

Review Request #10510 — Created April 4, 2019 and submitted

Information

Review Board
release-4.0.x

Reviewers

This updates various miscellaneous pieces of code that were only
compatible with Python 2.7 and/or Django 1.6, making them compatible
with Python 3.x and Django 1.11.

There's fixes for importing of modules, string encodings, type checks,
generators vs. lists, Unicode characters in tests, model form
definitions, error messages that differed across versions, and other
small changes.

Unit tests pass on Python 2.7/Django 1.6 and Python 3.7/Django 1.11
(with other in-progress changes).

Summary ID
Fix a handful of Python 3 and Django 1.11 compatibility issues.
This updates various miscellaneous pieces of code that were only compatible with Python 2.7 and/or Django 1.6, making them compatible with Python 3.x and Django 1.11. There's fixes for importing of modules, string encodings, type checks, generators vs. lists, Unicode characters in tests, model form definitions, error messages that differed across versions, and other small changes.
bbefb990edd09a305aeec3b90ea6a1a2f88690a2
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.0.x (ade6413)