From: Alexey N. <sn...@pe...> - 2004-12-17 05:18:24
|
=F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 =F0=D1=D4=CE=C9=C3=C1 17 =E4=C5=CB= =C1=C2=D2=D8 2004 03:54 Peter Saint-Andre =CE=C1=D0=C9=D3=C1=CC(a): > I need to write a new bot and I'm thinking of using xmpppy (my existing > bots are written on top of jabber.py, and I may update them, too). Is > CVS quite different from xmpppy 0.2-pre1? Will the API be changing much? I'm consider 0.1 version as "stable" and 0.2 is current development branch. 0.2 have quite a few differences from 0.1 API, mainly in dispatcher module.= =20 And also 0.2 is considerable less stable (Mike Albon can stand it I=20 think :) ). The main differences is support of namespaces in handlers and=20 support of "Session" class that contains all session info instead of "Clien= t"=20 class that were used for such purposes in 0.1. So you can have a single Client class instance with a set of Session instan= ces=20 =2D one for each connection. The only reason for this was development of xmppd.py wich is suspended now= =20 unfortunately :( So you have two options: 1) use 0.1 and have fun 2) use 0.2 and bug me about any bug that you encounter. Mike went this rout= e=20 and I hope that he was not disappoined. I'll help you with any issue ASAP. Personally I recommend second way - for my personal reasons - this will hel= p=20 shake out bugs and release 0.2-stable. =2D-=20 Respectfully Alexey Nezhdanov |