Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: python wide-unicode problem
Date: Fri, 21 Jan 2011 15:27:58
Message-Id: ihc8ih$q98$1@dough.gmane.org
In Reply to: [gentoo-user] python wide-unicode problem by Helmut Jarausch
1 On 01/21/2011 12:13 AM, Helmut Jarausch wrote:
2 > Hi,
3 >
4 > using Python3.1, if I say
5 > import site
6 >
7 > I get
8 >
9 > File "/usr/lib64/python3.1/site.py", line 472, in setencoding
10 > sys.setdefaultencoding(encoding) # Needs Python Unicode build !
11 > ValueError: Can only set default encoding to utf-8
12 >
13 > But
14 >
15 > emerge -vp dev-lang/python-3.1.3 shows
16 > USE="doc gdbm ipv6 ncurses readline sqlite ssl threads tk (wide-
17 > unicode) xml -build -examples -wininst"
18 >
19 > Why is 'wide-unicode' in parentheses?
20
21 Hm. Try using a different tool, like equery u python. Note the warning
22 about changing that useflag.

Replies

Subject Author
Re: [gentoo-user] Re: python wide-unicode problem Helmut Jarausch <jarausch@××××××××××××××××.de>