1 |
On 01/21/2011 04:26:09 PM, walt wrote: |
2 |
> On 01/21/2011 12:13 AM, Helmut Jarausch wrote: |
3 |
> > Hi, |
4 |
> > |
5 |
> > using Python3.1, if I say |
6 |
> > import site |
7 |
> > |
8 |
> > I get |
9 |
> > |
10 |
> > File "/usr/lib64/python3.1/site.py", line 472, in setencoding |
11 |
> > sys.setdefaultencoding(encoding) # Needs Python Unicode |
12 |
> build ! |
13 |
> > ValueError: Can only set default encoding to utf-8 |
14 |
> > |
15 |
> > But |
16 |
> > |
17 |
> > emerge -vp dev-lang/python-3.1.3 shows |
18 |
> > USE="doc gdbm ipv6 ncurses readline sqlite ssl threads tk (wide- |
19 |
> > unicode) xml -build -examples -wininst" |
20 |
> > |
21 |
> > Why is 'wide-unicode' in parentheses? |
22 |
> |
23 |
> Hm. Try using a different tool, like equery u python. Note the |
24 |
> warning |
25 |
> about changing that useflag. |
26 |
|
27 |
Thanks, unfortunately I don't understand the output |
28 |
I've got |
29 |
[ Legend : U - final flag setting for installation] |
30 |
[ : I - package is installed with flag ] |
31 |
[ Colors : set, unset ] |
32 |
* Found these USE flags for dev-lang/python-3.1.3: |
33 |
..... |
34 |
- + wide-unicode : Enable wide Unicode implementation which uses 4- |
35 |
byte |
36 |
Unicode characters. Switching of this USE flag |
37 |
changes ABI |
38 |
of Python and requires reinstallation of many |
39 |
Python |
40 |
modules. (DON'T DISABLE THIS UNLESS YOU KNOW WHAT |
41 |
YOU'RE |
42 |
DOING) |
43 |
|
44 |
So, I have U- but I+ on wide-unicode |
45 |
What does that mean? |
46 |
|
47 |
Thanks, |
48 |
Helmut. |