Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] python wide-unicode problem
Date: Fri, 21 Jan 2011 08:15:01
Message-Id: 1295597607.27673.0@numa-i
1 Hi,
2
3 using Python3.1, if I say
4 import site
5
6 I get
7
8 File "/usr/lib64/python3.1/site.py", line 472, in setencoding
9 sys.setdefaultencoding(encoding) # Needs Python Unicode build !
10 ValueError: Can only set default encoding to utf-8
11
12 But
13
14 emerge -vp dev-lang/python-3.1.3 shows
15 USE="doc gdbm ipv6 ncurses readline sqlite ssl threads tk (wide-
16 unicode) xml -build -examples -wininst"
17
18 Why is 'wide-unicode' in parentheses?
19 eix dev-lang/python shows
20 the wide-unicode use flag.
21
22 What's going on here?
23
24 Many thanks for a hint,
25 Helmut.

Replies

Subject Author
[gentoo-user] Re: python wide-unicode problem walt <w41ter@×××××.com>