[09:22:24] --> __gotcha has joined #peak [10:07:10] --> jack-e has joined #peak [10:07:40] re [11:37:19] _peak_gotcha: howdy godefroid .. what are you doing in #peak ?? [12:37:02] <__gotcha> jack-e: lurking [12:37:12] <__gotcha> have been using ZPatterns [12:37:27] <__gotcha> so did follow through TransWarp and Peak [12:40:46] same for me .. except i'm using Transwarp and peak for a while .. [12:41:39] * jack-e is out of office for a while .. back l8terz [14:14:07] * jack-e is back [14:44:08] hi jack-e [14:45:13] * jack-e remembers maniac saying something about imap-protocol from twisted should be used in nll [14:53:31] maniac: did you have a look at the implementation of twisted.protocols.imap (client) yet ?? [14:56:39] jack-e: i poked it [14:57:12] just depends if your a fan of asyncronous stuff or not i guess [14:57:28] everything twisted requires a reactor doesn't it? [14:57:31] i.e. an event loop? [15:02:35] maniac: i think async is better for most network stuff .. but afaik it's written from scratch and was first released about 1 month ago [15:03:04] i will have an eventloop for most stuff e.g. jabber/wxPython/Tasks [15:09:16] yes its new [15:10:05] i was looking at it, it looks like (unlike imaplib) you need to actually start an event loop, i.e. can't do it interactively from the python shell [15:10:29] and you must (i think) subclass IMAP4Client [15:10:44] they are also building imap4 server in twisted [15:10:51] which of course you know if your on the twisted mailing list [15:10:53] ... [15:11:44] i've looked at that already .. interesting for connecting some mail-apps (e.g. evolution with vcard) to the pyhton-app-server one could easily build with peak+twisted [15:12:06] and it'll be good for building functional tests for nll.mail.imap ;-) [15:12:45] but i have not yet a clue, how i would write the Datamanager cooperating with the imapclient if it works asynchronous .. [15:13:32] e.g. how would you behave for doing a: .folders[0] .. this would need to wait till the async-call is finished .. [15:14:09] no idea :) [15:14:16] so would i need to add thread-support to do the imapcall+response while waiting in the mainloop to finish it ?!? [15:14:30] i would image you would need to use Deferred's [15:15:00] i imagine it's alot easier 'said' than 'done' [15:18:18] hmm as far as i got how one uses deferred's is, that you supply a callback-object when it's finished -- so this doesn't help probably .. it's a generic problem how to make an async-call synchronous ... [15:20:01] ok, stick with the imap code you have :) [15:20:58] it seems twisted is all-or-nothing [15:21:16] it's probably difficult to mix and match ansyncronous and syncronous code [15:31:39] i'll need some pattern for that anyway .. but this is not important right now [15:59:29] * Maniac is on holiday today :) [16:17:54] * jack-e tries to use python+win32com to authenticate via kerberos at an ActiveDirectory %-/ [16:42:32] hhe [16:49:05] * jack-e goes out .. cu 2morrow [18:52:26] --> _jpl_ has joined #peak [18:52:44] <_jpl_> Hi all [19:44:11] hi [20:28:53] --> Maniac has joined #peak [20:36:06] --> _Maniac has joined #peak [21:17:38] --> __gotcha_ has joined #peak [21:41:59] --> easy__ has joined #peak [23:11:38] --> jolby has joined #peak [23:13:08] <_jpl_> Hi Joel