Status: New Owner: ---- New issue 101 by qrilka: DeprecationWarning for inputstream.py http://code.google.com/p/html5lib/issues/detail?id=101
What steps will reproduce the problem? >>> import urllib >>> html = urllib.urlopen('http://django-newbie.blogspot.com/').read() >>> import html5lib >>> from html5lib import treebuilders >>> parser = html5lib.HTMLParser(tree=treebuilders.getTreeBuilder("beautifulsoup")) >>> soup = parser.parse(html) /usr/local/lib/python2.6/dist-packages/html5lib-0.11.1-py2.6.egg/html5lib/inputstream.py:367: DeprecationWarning: object.__init__() takes no parameters >>> soup.findAll('link', {'type':'application/rss+xml'})[0]['href'] u'http://django-newbie.blogspot.com/feeds/posts/default?alt=rss' What is the expected output? What do you see instead? Code should run with no warnings -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "html5lib-discuss" group. To post to this group, send email to html5lib-discuss@googlegroups.com To unsubscribe from this group, send email to html5lib-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/html5lib-discuss?hl=en-GB -~----------~----~----~----~------~----~------~--~---
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4