<div id="RTEContent">&nbsp;<br>  <br>  Not sure if this is a Twisted issue or a Jython issue or both, so I'll post both ways.&nbsp; Using Jython 2.2 alpha, the latest.<br>  <br>  Trying to import Twisted into Jython on Win XP I get:<br>  TypeError:&nbsp; unhashable instance&nbsp; <br>  With the following stacktrace:<br>  <br>  Jython 2.2a1 on java1.4.2_03 (JIT: null)<br>  Type "copyright", "credits" or "license" for more information.<br>  &gt;&gt;&gt; import twisted<br>  Traceback (innermost last):<br>  &nbsp; File "&lt;console&gt;", line 1, in ?<br>  &nbsp; File "c:\R.and.D\Jython\Lib\site-packages\twisted\__init__.py", line 18, in ?<br>  &nbsp; File "c:\R.and.D\Jython\Lib\site-packages\zope\interface\__init__.py", line 54, in ?<br>  &nbsp; File "c:\R.and.D\Jython\Lib\site-packages\zope\interface\interface.py", line 802, in ?<br>  &nbsp; File "c:\R.and.D\Jython\Lib\site-packages\zope\interface\interface.py", line 418, in __in<br>  it__<br>  &nbsp; File
 "c:\R.and.D\Jython\Lib\site-packages\zope\interface\interface.py", line 225, in __in<br>  it__<br>  &nbsp; File "c:\R.and.D\Jython\Lib\weakref.py", line 147, in __init__<br>  TypeError: unhashable instance<br>  &gt;&gt;&gt;<br>  <br>  There is a prior issue that Jython doesn't recognize site-packages on Win XP, though this seems to be solved with:<br>  &nbsp;&nbsp; sitedirs = [prefix, makepath(prefix, "Lib", "site-packages")]<br>  <br>  <br>  Can anybody in this list shed light on the problem?<br>  <br>  Regards,<br>  <br>  Stephen Nightingale.<br>  &nbsp;<br>  </div><p>
                <hr size=1> 
<font size="2" face="Verdana, Arial, Helvetica, sans-serif"> 
<a href="http://us.rd.yahoo.com/mail/uk/taglines/default/cars/*http://uk.cars.yahoo.com/">Yahoo! Cars</a> 
<font color="red">NEW</font> - sell your car and browse thousands of new and used cars online <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/cars/*http://uk.cars.yahoo.com/">search now</a> 
</font> 
<hr size=1> 
<font size="2" face="Verdana, Arial, Helvetica, sans-serif">