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

2008-04-11 Thread Gregory P. Smith
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'
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


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

2008-04-11 Thread Thomas Wouters
On Sat, Apr 12, 2008 at 3:31 AM, Gregory P. Smith [EMAIL PROTECTED] 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 [EMAIL PROTECTED]

Hi! I'm a .signature virus! copy me into your .signature file to help me
spread!
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com