Paul McGuire <ptmcg <at> austin.rr.com> writes: > In this section of code, instring is a string, loc is an int, and wt > is a string. Any clues why instring[loc] would be evaluating as int? > (I am unfortunately dependent on the kindness of strangers when it > comes to testing my Python 3 code, as I don't have a Py3 environment > installed.)
Indexing bytes in Python 3 gives an integer. -- http://mail.python.org/mailman/listinfo/python-list