[Zope-dev] Poor programming practice?

Robin Becker robin@jessikat.fsnet.co.uk
Thu, 1 Feb 2001 10:37:03 +0000


In article <004f01c08c01$c984bf70$6401a8c0@home>, Darrell Gallion
<darrell@dorb.com> writes
>Doesn't this undo the damage?
>
>from medusa.ftp_server import recv_channel
>handle_close=recv_channel.handle_close
>import Zserver.FTPServer
>recv_channel=handle_close
>
>--Darrell
>
There's only one method in the class, changing it, changes for all so
far as I can tell. If I compete to set my handle_close with another it
depends on the order of import.
-- 
Robin Becker