Uli Kunitz uli.kun...@googlemail.com 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(foobarfoobar/bar/foo)
element_tree
Uli Kunitz uli.kun...@googlemail.com 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
New submission from Uli Kunitz uli.kun...@googlemail.com:
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
New submission from Uli Kunitz uli.kun...@googlemail.com:
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 [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: make altinstall installs