Switch away from text_type shims.
Review Request #11854 — Created Oct. 15, 2021 and submitted — Latest diff uploaded
In the Python 2 to 3 conversion, the name of the binary type was changed
fromstr
tobytes
, and the name of the string type was changed from
unicode
tostr
. In addition, there were some other changes such as
the removal of thebasestring
type. Thesix
library included a bunch
of helpers to ease this transition. Now that we're Python 3+ only on the
master branch, we can get rid of these and just use the builtins.
Ran unit tests.
Diff Revision 1 (Latest)
Commits
Files
reviewboard/diffviewer/tests/test_diffutils.py |
---|
reviewboard/diffviewer/tests/test_forms.py |
---|
reviewboard/extensions/hooks.py |
---|
reviewboard/hostingsvcs/beanstalk.py |
---|
reviewboard/hostingsvcs/bugzilla.py |
---|
reviewboard/hostingsvcs/codebasehq.py |
---|
reviewboard/hostingsvcs/gerrit.py |
---|
reviewboard/hostingsvcs/github.py |
---|
reviewboard/hostingsvcs/hook_utils.py |
---|
reviewboard/hostingsvcs/kiln.py |
---|
reviewboard/hostingsvcs/service.py |
---|
reviewboard/hostingsvcs/unfuddle.py |
---|
reviewboard/hostingsvcs/testing/testcases.py |
---|
reviewboard/hostingsvcs/utils/paginator.py |
---|
reviewboard/integrations/forms.py |
---|
reviewboard/notifications/webhooks.py |
---|
reviewboard/notifications/tests/test_webhooks.py |
---|
reviewboard/reviews/builtin_fields.py |
---|
reviewboard/reviews/detail.py |
---|
reviewboard/reviews/fields.py |
---|