]> code.ossystems Code Review - openembedded-core.git/commit
python-2.7.3:remove BOM insertion code
authorKai Kang <kai.kang@windriver.com>
Wed, 29 Oct 2014 11:16:08 +0000 (19:16 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Nov 2014 10:20:33 +0000 (10:20 +0000)
commitc51caffe5ac0d49844dcbac7967f609d44c20470
tree52e2e4c7a97669094b7edfd14fb84d252e24584f
parent0a947408f32d7ab10d2004e7d9332296b82191a3
python-2.7.3:remove BOM insertion code

Backport patch from:
https://hg.python.org/cpython/rev/af46a001d5ec

SysLogHandler converts message to utf8 and adds BOM, supposedly
to conform with RFC5424, but the implementation is broken:
the RFC specifies that the BOM should prefix only unstructured
message part, but current Python implementation puts it in the
middle of structured part, thus confusing RFC-compliant receivers.

Signed-off-by: yzhu1 <yanjun.zhu@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python/python/remove-BOM-insection-code.patch [new file with mode: 0644]
meta/recipes-devtools/python/python_2.7.3.bb