lxml.html.tostring() lacks essential with_tail option that lxml.etree.tostring() has
Bug #697961 reported by
Jonathan Eunice
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Fix Released
|
Low
|
scoder |
Bug Description
PROBLEM STATEMENT
lxml.etree.
CODE SAMPLE
frag = lxml.html.
em = frag.cssselect(
print lxml.etree.
print lxml.html.
fails on the last line with "TypeError: tostring() got an unexpected keyword argument 'with_tail' "
ENVIRONMENT TESTED
Python : sys.version_
lxml.etree : (2, 3, -99, 0)
libxml used : (2, 7, 7)
libxml compiled : (2, 7, 7)
libxslt used : (1, 1, 26)
Changed in lxml: | |
milestone: | none → 2.3.x |
To post a comment you must log in.
What about providing a patch?