Uli Kunitz added the comment:
Here is a patch that handles all 4 examples in the last comment correctly and
survives the Python test suite on Linux (Ubuntu 9.04 x86-64).
--
keywords: +patch
Added file: http://bugs.python.org/file18350/ElementTree.patch
Uli Kunitz added the comment:
I believe handling of TextIOWrapper streams is broken in
xml.etree.ElementTree.ElementTree.write().
First example:
import sys
from xml.etree import ElementTree
element = ElementTree.fromstring("""foobar""")
element_tree = E
New submission from Uli Kunitz :
If one wants to use the encoding parameter of ElementTree.write() the file must
be opened with "wb". Without encoding parameter normal files can be used, but
the should be opened with the encoding "UTF-8", because otherwise this may
create
New submission from Uli Kunitz :
The URL http://docs.python.org/dev/3.2/whatsnew/3.2.html is wrong. It should be
replaced with http://docs.python.org/dev/whatsnew/3.2.html.
--
assignee: d...@python
components: Documentation
messages: 112548
nosy: d...@python, kune
priority: normal
New submission from Uli Kunitz <[EMAIL PROTECTED]>:
make altinstall in Python3.0-b3 doesn't install pydoc as pydoc3.0.
Renaming pydoc to pydoc3.0 doesn't create any issues.
--
components: Installation
messages: 72219
nosy: kune
severity: normal
status: open
title: