[issue13913] utf-8 or utf8 or utf-8 (codec display name inconsistency)

2012-02-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 824ddf6a30f2 by Victor Stinner in branch '3.2': Issue #13913: Another fix test_pep3120 for the UTF-8 codec name http://hg.python.org/cpython/rev/824ddf6a30f2 New changeset 2cfba214c243 by Victor Stinner in branch 'default': (Merge 3.2) Issue #13913

[issue13913] utf-8 or utf8 or utf-8 (codec display name inconsistency)

2012-02-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5b8f146103fa by Victor Stinner in branch '3.2': Issue #13913: Fix test_pep3120 for the UTF-8 codec name http://hg.python.org/cpython/rev/5b8f146103fa New changeset 170a224ce01e by Victor Stinner in branch 'default': (Merge 3.2) Issue #13913: Fix te

[issue13913] utf-8 or utf8 or utf-8 (codec display name inconsistency)

2012-02-15 Thread Éric Araujo
Éric Araujo added the comment: You need to update test_pep3120: http://www.python.org/dev/buildbot/all/builders/AMD64%20Gentoo%20Wide%203.2/builds/910/steps/test/logs/stdio/text -- nosy: +eric.araujo ___ Python tracker

[issue13913] utf-8 or utf8 or utf-8 (codec display name inconsistency)

2012-02-13 Thread STINNER Victor
STINNER Victor added the comment: Use codecs.lookup(alias).name to the the normalize name of a codec. Examples: >>> import codecs >>> codecs.lookup('utf-8').name 'utf-8' >>> codecs.lookup('iso-8859-1').name 'iso8859-1' >>> codecs.lookup('latin1').name 'iso8859-1' >>> codecs.lookup('iso2022_jp')

[issue13913] utf-8 or utf8 or utf-8 (codec display name inconsistency)

2012-02-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset c861c0a7f40c by Victor Stinner in branch '3.2': Issue #13913: normalize utf-8 codec name in UTF-8 decoder http://hg.python.org/cpython/rev/c861c0a7f40c New changeset af1a9508f7fa by Victor Stinner in branch 'default': (Merge 3.2) Issue #13913: norm

[issue13913] utf-8 or utf8 or utf-8 (codec display name inconsistency)

2012-02-04 Thread Éric Araujo
Changes by Éric Araujo : -- priority: normal -> low type: behavior -> enhancement versions: -Python 2.7, Python 3.2 ___ Python tracker ___ __

[issue13913] utf-8 or utf8 or utf-8 (codec display name inconsistency)

2012-01-31 Thread Kang-Hao (Kenny) Lu
Kang-Hao (Kenny) Lu added the comment: > and the table on the documentation of the codec module suggests *utf_8* > as the name of the codec, which I believe to be equivalent to "utf_8" > because '-' is not a valid character of an identifier. typo: equivalent to "utf_8" → equivalent to "utf-8".

[issue13913] utf-8 or utf8 or utf-8 (codec display name inconsistency)

2012-01-31 Thread Kang-Hao (Kenny) Lu
Changes by Kang-Hao (Kenny) Lu : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue13913] utf-8 or utf8 or utf-8 (codec display name inconsistency)

2012-01-31 Thread Kang-Hao (Kenny) Lu
New submission from Kang-Hao (Kenny) Lu : Since Python 3.2.2 (I don't have earlier version to test with), >>> "\udc80".encode("utf-8") UnicodeEncodeError: *utf-8* codec can't encode character '\udc80'... but >>> b"\xff".decode("utf-8") UnicodeDecodeError: *utf8* codec can't decode byte 0xff in