homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author juan.gonzalez
Recipients georg.brandl, jcea, juan.gonzalez
Date 2011年07月05日.16:03:47
SpamBayes Score 5.2816013e-06
Marked as misclassified No
Message-id <1309881828.01.0.485230663623.issue12492@psf.upfronthosting.co.za>
In-reply-to
Content
Today I tried to use parse() instead of find() and I found out the following response:
tony@ubuntu:~/auto/sel/scripts$ python wtfibmdom
Traceback (most recent call last):
 File "wtfibmdom", line 22, in <module>
 if url.parse(str) > 0:
AttributeError: 'str' object has no attribute 'parse'
tony@ubuntu:~/auto/sel/scripts$ python wtfibmdom
Title: j3-dcsled-prd-validation passed 2011年7月01日 14:03:59 -0500
Description: Build passed
Traceback (most recent call last):
 File "wtfibmdom", line 22, in <module>
 if url.find(str) > 0:
AttributeError: 'int' object has no attribute 'find'
I think this behavior is inconsistent since the compiler is treating the url variable as int and string at the same time.
History
Date User Action Args
2011年07月05日 16:03:48juan.gonzalezsetrecipients: + juan.gonzalez, georg.brandl, jcea
2011年07月05日 16:03:48juan.gonzalezsetmessageid: <1309881828.01.0.485230663623.issue12492@psf.upfronthosting.co.za>
2011年07月05日 16:03:47juan.gonzalezlinkissue12492 messages
2011年07月05日 16:03:47juan.gonzalezcreate

AltStyle によって変換されたページ (->オリジナル) /