[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache
Xuefer x added the comment: even with CXX="x86_64-openwrt-linux-gnu-g++ -pthread -shared" /usr/src/xuefer/openwrt/trunk/staging_dir/host/bin/python setup.py build it's donig x86_64-openwrt-linux-gnu-g++ gcc -pthread -shared -- ___ Python tracker <http://bugs.python.org/issue8027> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache
Xuefer x added the comment: please fix this bug. it seems the patch no longer applies to the current 2.7/3.4 code but the bug is still reproduce-able in another way i have CXX="ccache_cxx -pthread -shared" but what actually happen is: ccache_cxx gcc -pthread -shared ... x86_64-openwrt-linux-gnu-g++: error: gcc: No such file or directory error: command 'ccache_cxx' failed with exit status 1 Makefile:511: recipe for target 'all-local' failed make[5]: *** [all-local] Error 1 this is when building libtorrent-rasterbar-0.16.17 in openwrt build system, ccache_cxx is a wrapper script and distuils make a wrong build rule -- nosy: +Xuefer.x ___ Python tracker <http://bugs.python.org/issue8027> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7856] cannot decode from or encode to big5 \xf9\xd8
Xuefer x added the comment: sure after enlighten by your url which is OBSOLETE see: http://www.unicode.org/Public/MAPPINGS/EASTASIA/ReadMe.txt i found http://unicode.org/charts/unihan.html then http://www.unicode.org/Public/UNIDATA/ then http://www.unicode.org/Public/UNIDATA/Unihan.zip in side the zip, open Unihan_OtherMappings.txt big 5 includes # kBigFive # kHKSCS which are listed in Unihan_OtherMappings.txt HKSCS is one of the big-5 encoding and i search for F9D8 got U+88CF kHKSCS F9D8 you may also want to update other encoding map table to catch up with Unihan_OtherMappings.txt thanks for your quick reply btw -- ___ Python tracker <http://bugs.python.org/issue7856> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7856] cannot decode from or encode to big5 \xf9\xd8
New submission from Xuefer x : using iconv: $ printf "\xf9\xd8" | iconv -f big5 -t utf-8 | xxd 000: e8a3 8f ... $ printf "\xe8\xa3\x8f" | iconv -f utf-8 -t big5 | xxd 000: f9d8 .. using python >>> print "\xf9\xd8".decode("big5") Traceback (most recent call last): File "", line 1, in UnicodeDecodeError: 'big5' codec can't decode bytes in position 0-1: illegal multibyte sequence >>> print "\xe8\xa3\x8f".decode("utf-8").encode("big5") Traceback (most recent call last): File "", line 1, in UnicodeEncodeError: 'big5' codec can't encode character u'\u88cf' in position 0: illegal multibyte sequence -- components: Unicode messages: 98865 nosy: Xuefer.x severity: normal status: open title: cannot decode from or encode to big5 \xf9\xd8 type: behavior versions: Python 2.6 ___ Python tracker <http://bugs.python.org/issue7856> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com