A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-April/078583.html below:

[Python-Dev] strange import encodings error in trunk?

[Python-Dev] strange import encodings error in trunk? [Python-Dev] strange import encodings error in trunk?Thomas Wouters thomas at python.org
Sat Apr 12 04:01:48 CEST 2008
On Sat, Apr 12, 2008 at 3:31 AM, Gregory P. Smith <greg at krypto.org> wrote:

> has anyone ever seen this error?  this is a pristine --with-pydebug build
> of trunk:
>
> >>> msg = 'ABC'
> >>> x = msg.decode('utf8')
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/home/gps/python/trunk/Lib/encodings/__init__.py", line 100, in
> search_function
>     level=0)
> TypeError: SetupPathsAndImport() got an unexpected keyword argument
> 'level'
>

Your Google sitecustomize is in the way :) Run python with -E.

-- 
Thomas Wouters <thomas at python.org>

Hi! I'm a .signature virus! copy me into your .signature file to help me
spread!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20080412/5dfe1a5e/attachment.htm 
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4