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
fromstrtobytes, and the name of the string type was changed from
unicodetostr. In addition, there were some other changes such as
the removal of thebasestringtype. Thesixlibrary 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.