[issue14145] string.rfind() returns AttributeError: 'list' object has no attribute 'rfind'

R. David Murray report at bugs.python.org
Tue Feb 28 04:50:59 CET 2012

R. David Murray <rdmurray at bitdance.com> added the comment:

Ah, perhaps you *meant* you are calling rfind on a string, rather than calling rfind on the 'string' module as I imagined.

So, we definitely need more details about how you are producing this failure and what the traceback looks like.  'abc'.rfind('a') works fine for me, and works fine on Windows in our unit tests.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list