<br><br><div class="gmail_quote">On Sat, Apr 12, 2008 at 3:31 AM, Gregory P. Smith &lt;<a href="mailto:greg@krypto.org">greg@krypto.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
has anyone ever seen this error?&nbsp; this is a pristine --with-pydebug build of trunk:<br><br>&gt;&gt;&gt; msg = &#39;ABC&#39;<br>&gt;&gt;&gt; x = msg.decode(&#39;utf8&#39;)<br>Traceback (most recent call last):<br>&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>

&nbsp; File &quot;/home/gps/python/trunk/Lib/encodings/__init__.py&quot;, line 100, in search_function<br>&nbsp;&nbsp;&nbsp; level=0)<br>TypeError: SetupPathsAndImport() got an unexpected keyword argument &#39;level&#39;<br></blockquote><div>
<br>Your Google sitecustomize is in the way :) Run python with -E.<br></div></div><br>-- <br>Thomas Wouters &lt;<a href="mailto:thomas@python.org">thomas@python.org</a>&gt;<br><br>Hi! I&#39;m a .signature virus! copy me into your .signature file to help me spread!