[Zope-ZEO] ZEO-0.2
Greg Ward
gward@mems-exchange.org
Wed, 10 May 2000 12:23:47 -0400
On 10 May 2000, I said:
> A-ha! I see -- smac.py does "import asyncore", when it should
> probably do "from ZServer.medusa import asyncore", since I see
> an asyncore.py with a 3-argument constructor in ZServer/medusa.
>
> Looks like a bunch of other modules in ZEO 0.2 also "import
> asyncore", which means they will get the standard library version.
> Jim, is my interpretation correct? If so, I'll submit a patch
> straightaway.
A-ha, and now I see why this is only a problem client-side: start.py has
the following (rude, evil, nasty) trick:
try:
from ZServer.medusa import asyncore
sys.modules['asyncore']=asyncore
except: pass
...which of course never runs for client scripts.
Greg