[issue25047] xml.etree.ElementTree encoding declaration should be capital ('UTF-8') rather than lowercase ('utf-8')

2015-09-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset ff7aba08ada6 by Martin Panter in branch '3.4': Issue #25047: Respect case writing XML encoding declarations https://hg.python.org/cpython/rev/ff7aba08ada6 New changeset 9c248233754c by Martin Panter in branch '3.5': Issue #25047: Merge Element Tree

[issue25047] xml.etree.ElementTree encoding declaration should be capital ('UTF-8') rather than lowercase ('utf-8')

2015-09-22 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue25047] xml.etree.ElementTree encoding declaration should be capital ('UTF-8') rather than lowercase ('utf-8')

2015-09-22 Thread Martin Panter
Changes by Martin Panter : -- assignee: -> martin.panter nosy: +berker.peksag stage: patch review -> commit review ___ Python tracker

[issue25047] xml.etree.ElementTree encoding declaration should be capital ('UTF-8') rather than lowercase ('utf-8')

2015-09-21 Thread Stefan Behnel
Stefan Behnel added the comment: LGTM -- nosy: +scoder ___ Python tracker ___ ___ Python-bugs-list mailing

[issue25047] xml.etree.ElementTree encoding declaration should be capital ('UTF-8') rather than lowercase ('utf-8')

2015-09-21 Thread Simeon Warner
Simeon Warner added the comment: Path looks fine and seems to work as expected -- Simeon -- ___ Python tracker ___

[issue25047] xml.etree.ElementTree encoding declaration should be capital ('UTF-8') rather than lowercase ('utf-8')

2015-09-21 Thread Simeon Warner
Simeon Warner added the comment: s/Path/Patch/ -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue25047] xml.etree.ElementTree encoding declaration should be capital ('UTF-8') rather than lowercase ('utf-8')

2015-09-21 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___

[issue25047] xml.etree.ElementTree encoding declaration should be capital ('UTF-8') rather than lowercase ('utf-8')

2015-09-17 Thread Martin Panter
Martin Panter added the comment: Here is a patch which changes the code to respect the letter case specified by the user, although it still compares the special strings "unicode", "us-ascii", and "utf-8" case-insensitively, and the default encoding is still lowercase. Let me know what you

[issue25047] xml.etree.ElementTree encoding declaration should be capital ('UTF-8') rather than lowercase ('utf-8')

2015-09-10 Thread Martin Panter
Changes by Martin Panter : -- stage: -> needs patch versions: +Python 3.5, Python 3.6 ___ Python tracker ___

[issue25047] xml.etree.ElementTree encoding declaration should be capital ('UTF-8') rather than lowercase ('utf-8')

2015-09-09 Thread Martin Panter
Martin Panter added the comment: I agree that Python should not be converting the supplied encoding name to lowercase, although I guess reverting this has the potential to upset people’s output (e.g. if they depend on the checksum or something). -- nosy: +martin.panter

[issue25047] xml.etree.ElementTree encoding declaration should be capital ('UTF-8') rather than lowercase ('utf-8')

2015-09-09 Thread Simeon Warner
New submission from Simeon Warner: Seems that in python3 the XML encoding declaration from xml.etree.ElementTree has changed from 2.x in that it is now lowercased, e.g. 'utf-8'. While the XML spec [1] says that decoders _SHOULD_ understand this, the encoding string _SHOULD_ be 'UTF-8'. It