[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
1
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>
<http://bugs.python.org/issue12492>
_______________________________________
More information about the Python-bugs-list
mailing list