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

Gregory P. Smith greg at krypto.org
Sat Apr 12 03:31:10 CEST 2008


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'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20080411/0283d266/attachment.htm 


More information about the Python-Dev mailing list