public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: walt <w41ter@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: python wide-unicode problem
Date: Fri, 21 Jan 2011 07:26:09 -0800	[thread overview]
Message-ID: <ihc8ih$q98$1@dough.gmane.org> (raw)
In-Reply-To: <1295597607.27673.0@numa-i>

On 01/21/2011 12:13 AM, Helmut Jarausch wrote:
> Hi,
>
> using Python3.1, if I say
> import site
>
> I get
>
>    File "/usr/lib64/python3.1/site.py", line 472, in setencoding
>      sys.setdefaultencoding(encoding) # Needs Python Unicode build !
> ValueError: Can only set default encoding to utf-8
>
> But
>
> emerge -vp dev-lang/python-3.1.3  shows
> USE="doc gdbm ipv6 ncurses readline sqlite ssl threads tk (wide-
> unicode) xml -build -examples -wininst"
>
> Why is 'wide-unicode' in parentheses?

Hm.  Try using a different tool, like equery u python.  Note the warning
about changing that useflag.




  reply	other threads:[~2011-01-21 15:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-21  8:13 [gentoo-user] python wide-unicode problem Helmut Jarausch
2011-01-21 15:26 ` walt [this message]
2011-01-21 15:48   ` [gentoo-user] " Helmut Jarausch
2011-01-21 21:14     ` walt
2011-01-22 11:56       ` Helmut Jarausch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ihc8ih$q98$1@dough.gmane.org' \
    --to=w41ter@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox