This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients Peter.Cai, belopolsky, vstinner
Date 2011-02-02.16:33:08
SpamBayes Score 7.536718e-07
Marked as misclassified No
Message-id <AANLkTikmCD3iPPdxKNF0qSM0nm=BBHBter9v+pRuro80@mail.gmail.com>
In-reply-to <1296663052.55.0.662529837227.issue11033@psf.upfronthosting.co.za>
Content
On Wed, Feb 2, 2011 at 11:10 AM, STINNER Victor <report@bugs.python.org> wrote:
..
> We can explain in ElementTree documentation how to pass non-ASCII unicode strings: using
> explicit encoding to UTF-8.

ElementTree.fromstring() ultimately calls ElementTree.XMLParser.feed()
which is documented as follows:

"""
feed(data)
Feeds data to the parser. data is encoded data.
"""

Maybe we can simply add "encoded" to the description of
ElementTree.fromstring()  argument as well?
History
Date User Action Args
2011-02-02 16:33:09belopolskysetrecipients: + belopolsky, vstinner, Peter.Cai
2011-02-02 16:33:08belopolskylinkissue11033 messages
2011-02-02 16:33:08belopolskycreate