[issue12492] Inconsistent Python find() behavior

Juan Gonzalez report at bugs.python.org
Tue Jul 5 18:24:47 CEST 2011

Juan Gonzalez <juan.gonzalez at ti.com> added the comment:

I print 1 before the faulty line and like Jesús says I'm surprised I get a 1

Description: Build passed
Traceback (most recent call last):
  File "wtfibmdom", line 23, in <module>
    if url.find(str) > 0:
AttributeError: 'int' object has no attribute 'find'


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list