Florent Xicluna <florent.xicl...@gmail.com> added the comment:

Patch updated here, and on Rietveld too.
http://codereview.appspot.com/664043

Rules (as discussed):
 - tree.tostring(encoding=None)  => encodes to "US-ASCII"
   (compatible with 2.7 and lxml.etree)
 - tree.tostring(encoding="unicode") => outputs Unicode
 - tree.tostring(encoding=str) => outputs Unicode
   (compatible with lxml.etree)

For 2.7, no change planned.
For 3.1, do we keep the current behavior?
  - tree.tostring(encoding=None)  => outputs Unicode

----------
components: +XML
stage: patch review -> commit review
Added file: http://bugs.python.org/file18286/issue8047_etree_encoding_v2.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8047>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to