Run python-modernize on common/lib/capa

Description

Run python-modernize on the Python files under common/lib/capa in the edx-platform repository, to make them more compatible with Python 3.x without breaking Python 2.7 support:

  • python-modernize -w common/lib/capa

  • Make sure the changes look reasonable and submit them as a pull request; mention this ticket in the description.

  • Ask for tests to be triggered if they don't start automatically.

  • Fix any test failures caused by the changes.

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Activity

Show:
Jeremy Bowman
March 25, 2019, 9:32 PM

The refactoring PR that had blocked this has been closed in favor of a smaller change that doesn't affect these files. should be done first (as a subset of these files), but then this ticket can be moved back to the INCR project.

Jeremy Bowman
March 18, 2019, 8:14 PM

Moving this out of the INCR project until the refactoring that's blocking further progress is completed.

Stuart Young
March 5, 2019, 8:30 PM

PR mentioned above has been closed.

Jeremy Bowman
February 22, 2019, 3:24 PM

Summarizing status from the pull request discussion: this is on hold until the refactoring in https://github.com/edx/edx-platform/pull/19071 has been merged.

Christian Clauss
January 18, 2019, 3:46 PM

Assignee

Unassigned

Reporter

Jeremy Bowman

Labels

None

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Priority

Unset