[Python-apps-team] Bug#800141: cppman: UserWarning: No parser was explicitly specified
Jakub Wilk
jwilk at debian.org
Sun Sep 27 10:01:58 UTC 2015
Package: cppman
Version: 0.4.5-1
I'm getting this warning:
/usr/lib/python3/dist-packages/bs4/__init__.py:166: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
To get rid of this warning, change this:
BeautifulSoup([your markup])
to this:
BeautifulSoup([your markup], "lxml")
markup_type=markup_type))
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 4.1.0-2-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
Init: sysvinit (via /sbin/init)
Versions of packages cppman depends on:
ii bsdmainutils 9.0.6
ii groff-base 1.22.3-1
ii python3 3.4.3-6
ii python3-bs4 4.4.0-1
pn python3:any <none>
Versions of packages cppman recommends:
ii less 458-3
--
Jakub Wilk
More information about the Python-apps-team
mailing list