[issue12492] Inconsistent Python find() behavior

Jesús Cea Avión report at bugs.python.org
Tue Jul 5 18:16:42 CEST 2011


Jesús Cea Avión <jcea at jcea.es> added the comment:

Put the failing code inside a "try", and wrote in the "except": "print repr(url)". I am pretty sure your "url" can be, actually, a number.

Or print "url" just before the 'faulty' line. I guess you will be surprised.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12492>
_______________________________________


More information about the Python-bugs-list mailing list