[Python-modules-team] Bug#639386: python-html5lib: parse(...,	treebuilder='etree') returns None
    Jakub Wilk 
    jwilk at debian.org
       
    Fri Aug 26 17:25:01 UTC 2011
    
    
  
Package: python-html5lib
Version: 0.90-2
It looks like html5lib.parse(..., treebuilder='etree') always returns 
None:
>>> import html5lib, urllib2
>>> r = html5lib.parse(urllib2.urlopen('http://debian.org/'), treebuilder='etree')
>>> r is None
True
-- System Information:
Debian Release: wheezy/sid
   APT prefers unstable
   APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-html5lib depends on:
ii  python                        2.7.2-5    interactive high-level object-orie
ii  python-support                1.0.14     automated rebuilding support for P
Versions of packages python-html5lib suggests:
pn  python-beautifulsoup          <none>     (no description available)
ii  python-chardet                2.0.1-2    universal character encoding detec
pn  python-genshi                 <none>     (no description available)
ii  python-lxml                   2.3-0.1+b2 pythonic binding for the libxml2 a
-- 
Jakub Wilk
    
    
More information about the Python-modules-team
mailing list