*** torkel_ has quit IRC | 00:07 | |
*** torkel_ has joined #zope3-dev | 00:07 | |
*** norro has quit IRC | 00:09 | |
*** bigkev has quit IRC | 00:10 | |
*** tarek has quit IRC | 00:14 | |
*** torkel_ has quit IRC | 00:16 | |
*** torkel_ has joined #zope3-dev | 00:16 | |
rocky | jodok: ping ... got a question regarding lovely.tag | 00:18 |
---|---|---|
jodok | hey rocky :) shoot | 00:19 |
*** afd_ has joined #zope3-dev | 00:20 | |
*** sm-afk has quit IRC | 00:20 | |
rocky | i'm trying to track when tags are changed on a content item but it seems no event is fired for that ... or none that i can find ... am i missing something or ? | 00:20 |
*** nathany has joined #zope3-dev | 00:24 | |
*** wbuntu has quit IRC | 00:27 | |
*** wbuntu has joined #zope3-dev | 00:30 | |
*** torkel_ has quit IRC | 00:32 | |
*** torkel_ has joined #zope3-dev | 00:32 | |
*** markusleist has joined #zope3-dev | 00:32 | |
*** benji has quit IRC | 00:33 | |
*** jsadjohnson has quit IRC | 00:33 | |
*** nerdalert has quit IRC | 00:34 | |
*** rcrafton has quit IRC | 00:36 | |
*** afd has quit IRC | 00:38 | |
*** deo has joined #zope3-dev | 00:41 | |
*** timte has quit IRC | 00:42 | |
instantfoo | rephrasing my Q... is it possible to get a list of adapters that provide a certain interface and adapts a certain interface? | 00:46 |
wbuntu | look in zope.app.apidoc.component | 00:48 |
wbuntu | or investigate subscription adapters | 00:48 |
wbuntu | actually, the latter is probably what you are looking for | 00:49 |
*** jsadjohnson has joined #zope3-dev | 00:51 | |
instantfoo | ok | 00:52 |
*** RaFromBRC is now known as RaFromBRC|away | 00:53 | |
*** afd_ has quit IRC | 00:53 | |
instantfoo | wbuntu: thx, that is exactly what i want to | 00:53 |
instantfoo | ..do | 00:53 |
*** torkel_ has quit IRC | 00:54 | |
*** ignas has joined #zope3-dev | 00:56 | |
*** tarek has joined #zope3-dev | 01:04 | |
*** markusleist has quit IRC | 01:19 | |
*** wbuntu has quit IRC | 01:37 | |
*** tarek has quit IRC | 01:39 | |
*** wbuntu has joined #zope3-dev | 01:40 | |
*** MJ has quit IRC | 01:41 | |
*** fcorrea has quit IRC | 01:48 | |
*** b52laptop has quit IRC | 01:52 | |
nathany | anyone have an example of using zope.sendmail i could look at (or know of one in zope svn)? | 02:08 |
nathany | i'm having what i'm sure is a simple problem... be good to look @ a working example | 02:09 |
*** RaFromBRC|away has quit IRC | 02:10 | |
*** wbuntu has quit IRC | 02:10 | |
*** RaFromBRC has joined #zope3-dev | 02:11 | |
*** wbuntu has joined #zope3-dev | 02:13 | |
*** J1m_ has quit IRC | 02:22 | |
*** J1m has quit IRC | 02:23 | |
*** huajie has joined #zope3-dev | 02:50 | |
*** niemeyer has quit IRC | 02:55 | |
*** povbot has joined #zope3-dev | 02:57 | |
*** nathany has quit IRC | 03:00 | |
*** sm has joined #zope3-dev | 03:08 | |
*** jukart has quit IRC | 03:23 | |
*** wbuntu has quit IRC | 03:24 | |
*** wbuntu has joined #zope3-dev | 03:26 | |
*** huajie has quit IRC | 03:39 | |
*** pbugni has quit IRC | 03:43 | |
*** whit has joined #zope3-dev | 03:47 | |
*** jukart has joined #zope3-dev | 03:55 | |
*** whit has quit IRC | 03:55 | |
*** wbuntu has quit IRC | 04:00 | |
*** whit_ has joined #zope3-dev | 04:00 | |
*** rcrafton has joined #zope3-dev | 04:08 | |
*** rcrafton_ has joined #zope3-dev | 04:33 | |
*** rcrafton has quit IRC | 04:38 | |
*** jukart has quit IRC | 04:38 | |
*** rcrafton_ has quit IRC | 04:44 | |
*** whit_ has quit IRC | 04:58 | |
*** whit_ has joined #zope3-dev | 05:00 | |
*** sm has quit IRC | 05:01 | |
*** romanofski has quit IRC | 05:25 | |
*** romanofski has joined #zope3-dev | 05:25 | |
*** pbugni has joined #zope3-dev | 05:38 | |
*** RaFromBRC has quit IRC | 05:41 | |
*** natea_ has joined #zope3-dev | 05:54 | |
*** whit_ has quit IRC | 05:54 | |
*** whit_ has joined #zope3-dev | 05:57 | |
*** redir has joined #zope3-dev | 05:59 | |
*** alecm has quit IRC | 06:04 | |
*** stub has joined #zope3-dev | 06:05 | |
*** romanofs1i has joined #zope3-dev | 06:14 | |
*** romanofski has quit IRC | 06:14 | |
*** ignas has quit IRC | 06:21 | |
*** philiKON_ has joined #zope3-dev | 06:24 | |
*** redir has quit IRC | 06:25 | |
*** marianom has left #zope3-dev | 06:26 | |
*** Ariel_Calzada has quit IRC | 06:29 | |
*** replaceafill has joined #zope3-dev | 06:32 | |
*** deo has quit IRC | 06:34 | |
*** romanofs1i has quit IRC | 06:39 | |
*** romanofski has joined #zope3-dev | 06:39 | |
*** philiKON has quit IRC | 06:40 | |
*** whit_ has quit IRC | 06:42 | |
*** whit_ has joined #zope3-dev | 06:43 | |
*** natea_ has quit IRC | 06:47 | |
*** greenman has quit IRC | 06:53 | |
*** edgordon has joined #zope3-dev | 07:12 | |
*** romanofski has quit IRC | 07:17 | |
*** baijum has joined #zope3-dev | 07:24 | |
*** whit_ has quit IRC | 07:30 | |
*** whit_ has joined #zope3-dev | 07:31 | |
*** kleist has joined #zope3-dev | 07:34 | |
*** natea_ has joined #zope3-dev | 07:52 | |
*** afd_ has joined #zope3-dev | 07:55 | |
*** greenman has joined #zope3-dev | 07:56 | |
*** dunny_ has joined #zope3-dev | 08:13 | |
*** natea_ has quit IRC | 08:15 | |
*** afd__ has joined #zope3-dev | 08:16 | |
*** dunny has quit IRC | 08:17 | |
*** jsadjohnson has quit IRC | 08:23 | |
*** natea_ has joined #zope3-dev | 08:24 | |
*** afd_ has quit IRC | 08:26 | |
*** whit_ has quit IRC | 08:40 | |
*** tjs has joined #zope3-dev | 08:41 | |
tjs | do zope objects inthe zodb keep a persited reference to their parent? or is the parent passed into the object when its traversed to? | 08:42 |
*** whit_ has joined #zope3-dev | 08:42 | |
tjs | I've got my storm objects being added happily into the zope heirarchy, but now I need to implement IPhysicallyLocatable | 08:43 |
afd__ | tjs: that's ILocation AFAIK, some objects implement it, some don't | 08:43 |
*** cursor has joined #zope3-dev | 08:43 | |
tjs | ahh | 08:43 |
afd__ | look in zope.location.interfaces | 08:44 |
tjs | but stuff that wants to exist in the heirarchy and be 'publishable' would need to implement it though? | 08:44 |
tjs | ty | 08:44 |
afd__ | tjs: yes | 08:44 |
afd__ | there are also container proxies | 08:44 |
*** sorindregan has joined #zope3-dev | 08:44 | |
tjs | ok | 08:45 |
tjs | so what assigns to __parent__ and __name__ ? | 08:45 |
afd__ | a container's __setitem__ is wired to place those in the child | 08:46 |
afd__ | as far as I remember | 08:46 |
tjs | ah.. | 08:46 |
*** natea_ has quit IRC | 08:46 | |
tjs | hm | 08:46 |
*** jodok has quit IRC | 08:47 | |
philiKON_ | yup, afd__ is right | 08:48 |
philiKON_ | basically, what a container does is: | 08:48 |
philiKON_ | check if the object that it's supposed to add to itself provides ILocation/IContained | 08:48 |
philiKON_ | if so, it assumes that the object is ok with having a __parent__ and __name__ property set directly | 08:48 |
philiKON_ | if not, it will use a persistent locationproxy | 08:49 |
philiKON_ | that wraps the object transparently | 08:49 |
philiKON_ | and adds __parent__ and __name__ w/o changing the object underneath | 08:49 |
philiKON_ | this is described in my book, btw :) | 08:51 |
tjs | I guess I'll need to add a __parent__ and __name__ column to my tables | 08:52 |
tjs | philiKON_: which is your book? | 08:52 |
philiKON_ | http://worldcookery.com | 08:52 |
tjs | oh | 08:52 |
tjs | yes we have two of those around here | 08:52 |
tjs | :) | 08:53 |
tjs | I think they are both out with our new juniors | 08:53 |
philiKON_ | good :) | 08:53 |
philiKON_ | not good :) | 08:53 |
tjs | nm, I'll make work buy more ;) | 08:53 |
philiKON_ | sounds like you need to buy some more *wink* | 08:53 |
philiKON_ | hehe | 08:53 |
tjs | It was recommended to me by several friends who work on LP, as 'the best zope3 book' when I took this job | 08:54 |
philiKON_ | well, there are only two out there, so.... | 08:54 |
tjs | really? | 08:55 |
philiKON_ | yeah | 08:55 |
tjs | hm, I might be thinking of the bajillion zope2/plone ones | 08:55 |
philiKON_ | yup | 08:55 |
* philiKON_ starts morning workout... laters | 08:55 | |
tjs | oh | 08:56 |
tjs | one quick q | 08:56 |
tjs | as a publisher of a technical book | 08:56 |
tjs | what do you think of that crazy ruby book with cats ? | 08:56 |
tjs | poignantguide.net, as a style | 08:56 |
tjs | think it will 'catch on' ? | 08:56 |
tjs | (not ruby, God forbid) the writing style in technical manuals | 08:57 |
*** yvl has joined #zope3-dev | 09:03 | |
*** whit_ has quit IRC | 09:04 | |
*** whit_ has joined #zope3-dev | 09:06 | |
*** sm has joined #zope3-dev | 09:09 | |
*** cursor_ has joined #zope3-dev | 09:09 | |
*** cursor has quit IRC | 09:10 | |
*** baijum has quit IRC | 09:13 | |
*** sorindregan has quit IRC | 09:16 | |
*** sorin has joined #zope3-dev | 09:18 | |
*** sorin is now known as sorindregan | 09:19 | |
*** romanofski has joined #zope3-dev | 09:33 | |
romanofski | moin | 09:36 |
*** chacha_chaudhry has joined #zope3-dev | 09:40 | |
*** replaceafill has quit IRC | 09:40 | |
*** afd__ has quit IRC | 09:41 | |
*** d2m has joined #zope3-dev | 09:44 | |
*** jodok has joined #zope3-dev | 09:48 | |
*** jodok has joined #zope3-dev | 09:49 | |
*** naro has joined #zope3-dev | 09:53 | |
philiKON_ | tjs: i couldn't write like that, mostly because i lack that kind of creativity | 10:14 |
philiKON_ | tjs: it also serves a different audience from what i usually serve | 10:14 |
*** whit_ has quit IRC | 10:15 | |
tjs | what, crazy people? | 10:15 |
tjs | ;) | 10:15 |
philiKON_ | heh | 10:16 |
tjs | home time :) | 10:16 |
*** tjs has left #zope3-dev | 10:16 | |
*** whit_ has joined #zope3-dev | 10:17 | |
*** markusleist has joined #zope3-dev | 10:20 | |
*** timte has joined #zope3-dev | 10:20 | |
*** reco has joined #zope3-dev | 10:23 | |
*** whit_ has quit IRC | 10:40 | |
*** whit_ has joined #zope3-dev | 10:40 | |
*** MrTopf has joined #zope3-dev | 10:54 | |
*** tarek has joined #zope3-dev | 11:08 | |
*** elro has joined #zope3-dev | 11:08 | |
*** greenman has quit IRC | 11:10 | |
*** greenman has joined #zope3-dev | 11:11 | |
*** vlado has joined #zope3-dev | 11:31 | |
*** stub has quit IRC | 11:32 | |
*** stub has joined #zope3-dev | 11:33 | |
*** greenman has quit IRC | 11:38 | |
*** MJ has joined #zope3-dev | 11:38 | |
*** sm has quit IRC | 11:41 | |
*** salfield has quit IRC | 11:52 | |
*** tarek_ has joined #zope3-dev | 11:59 | |
*** greenman has joined #zope3-dev | 12:03 | |
*** tarek has quit IRC | 12:09 | |
*** ktwilight_ has joined #zope3-dev | 12:09 | |
*** junkafarian has joined #zope3-dev | 12:12 | |
*** ferrafox has joined #zope3-dev | 12:12 | |
*** reco has quit IRC | 12:18 | |
*** mkerrin has joined #zope3-dev | 12:20 | |
*** ktwilight has quit IRC | 12:23 | |
*** whateverhere has joined #zope3-dev | 12:23 | |
*** ktwilight_ has quit IRC | 12:26 | |
*** whateverhere is now known as ktwilight | 12:26 | |
*** ktwilight has quit IRC | 12:31 | |
*** greenman has quit IRC | 12:33 | |
*** ktwilight has joined #zope3-dev | 12:33 | |
*** b52laptop has joined #zope3-dev | 12:34 | |
*** ferrafox_ has joined #zope3-dev | 12:40 | |
*** greenman has joined #zope3-dev | 12:41 | |
*** projekt01 has joined #zope3-dev | 12:52 | |
*** stub has quit IRC | 12:56 | |
*** ksmith99_ has joined #zope3-dev | 12:57 | |
*** ksmith99 has quit IRC | 12:57 | |
*** ferrafox has quit IRC | 12:58 | |
*** HerrTopf has joined #zope3-dev | 13:01 | |
*** ferrafox_ is now known as ferrafox | 13:04 | |
*** romanofski has quit IRC | 13:07 | |
*** MrTopf has quit IRC | 13:07 | |
*** tarek__ has joined #zope3-dev | 13:08 | |
*** romanofski has joined #zope3-dev | 13:15 | |
*** stub has joined #zope3-dev | 13:17 | |
*** pcardune has joined #zope3-dev | 13:19 | |
*** tarek_ has quit IRC | 13:20 | |
*** romanofski has quit IRC | 13:26 | |
*** HerrTopf is now known as MrTopf | 13:26 | |
*** romanofski has joined #zope3-dev | 13:26 | |
*** kleist has quit IRC | 13:42 | |
sorindregan | hi, can somebody help me with something? | 13:48 |
sorindregan | is there a place where I can configure the max request size in z3? | 13:49 |
wiggy | checked zope.conf ? | 13:49 |
sorindregan | yes | 13:50 |
sorindregan | nothing regarding size | 13:50 |
wiggy | add something? | 13:54 |
sorindregan | I try to upload video | 13:55 |
wiggy | that's where you can set it for zope2, I would expect zope3 to have a similar option | 13:55 |
sorindregan | and videos bigger that 100 MB are not uploaded | 13:55 |
sorindregan | I got error | 13:55 |
sorindregan | but nothing in the log file | 13:56 |
sorindregan | to specify the cause of the error | 13:56 |
*** jsadjohnson has joined #zope3-dev | 13:59 | |
sorindregan | maybe it's not necessary a limitation of size | 14:00 |
sorindregan | but it happens at bigger videos | 14:00 |
*** afd has joined #zope3-dev | 14:02 | |
wiggy | just check the zope sources | 14:04 |
wiggy | can't be that hard to find | 14:04 |
*** redir has joined #zope3-dev | 14:05 | |
*** stub has quit IRC | 14:07 | |
*** elro has left #zope3-dev | 14:11 | |
sorindregan | ok wiggy, thx | 14:12 |
*** niemeyer has joined #zope3-dev | 14:14 | |
*** Newfie2007 has joined #zope3-dev | 14:17 | |
*** Ariel_Calzada has joined #zope3-dev | 14:21 | |
*** dunny_ has quit IRC | 14:24 | |
*** projet01_ has joined #zope3-dev | 14:39 | |
*** b52lap has joined #zope3-dev | 14:43 | |
*** b52laptop has quit IRC | 14:44 | |
*** jsadjohnson has quit IRC | 14:44 | |
*** rocky has quit IRC | 14:47 | |
*** MJ has quit IRC | 14:52 | |
*** rocky has joined #zope3-dev | 14:53 | |
*** romanofski has quit IRC | 14:54 | |
*** tarek__ has quit IRC | 14:55 | |
*** projekt01 has quit IRC | 14:59 | |
*** tarek has joined #zope3-dev | 15:01 | |
*** redir has quit IRC | 15:03 | |
*** benji has joined #zope3-dev | 15:04 | |
*** rcrafton has joined #zope3-dev | 15:07 | |
*** mgedmin has joined #zope3-dev | 15:11 | |
*** fcorrea has joined #zope3-dev | 15:13 | |
*** whit_ has quit IRC | 15:15 | |
*** whit_ has joined #zope3-dev | 15:18 | |
*** ignas has joined #zope3-dev | 15:22 | |
*** jukart has joined #zope3-dev | 15:30 | |
*** projet01_ is now known as projekt01 | 15:33 | |
*** whit_ has quit IRC | 15:36 | |
*** whit_ has joined #zope3-dev | 15:38 | |
*** greenman has quit IRC | 15:39 | |
*** jsadjohnson has joined #zope3-dev | 15:40 | |
*** yvl has quit IRC | 15:42 | |
*** cursor_ has quit IRC | 15:51 | |
*** norro has joined #zope3-dev | 15:55 | |
*** mrevoir has joined #zope3-dev | 15:55 | |
junkafarian | is it possible to expose a class with the ability to call any method? | 15:59 |
junkafarian | eg: www.example.com/class/method | 16:00 |
junkafarian | or better: | 16:00 |
junkafarian | www.example.com/class.method | 16:00 |
junkafarian | ? | 16:00 |
junkafarian | or are you only able to call a class? | 16:00 |
*** whit has joined #zope3-dev | 16:01 | |
*** stub has joined #zope3-dev | 16:02 | |
*** kleist has joined #zope3-dev | 16:02 | |
*** redir has joined #zope3-dev | 16:06 | |
*** baijum has joined #zope3-dev | 16:12 | |
*** edgordon has quit IRC | 16:16 | |
*** norro has quit IRC | 16:21 | |
*** baijum has quit IRC | 16:32 | |
*** whit has quit IRC | 16:33 | |
*** whit has joined #zope3-dev | 16:35 | |
junkafarian | also, is it possible to return a string rather than html through a browser:page directive | 16:39 |
junkafarian | ? | 16:39 |
afd | junkafarian: you can define your own __call__ for the class, which returns anything you want | 16:40 |
junkafarian | ah | 16:40 |
benji | and you can set the content type (via request.response, IIRC) | 16:40 |
junkafarian | sorry i was looking at the source in firebug | 16:40 |
junkafarian | didnt realise that it wasnt enveloped in html :$ | 16:41 |
*** whit_ has quit IRC | 16:50 | |
*** whit_ has joined #zope3-dev | 16:51 | |
*** whit has quit IRC | 16:52 | |
*** edgordon has joined #zope3-dev | 16:56 | |
*** rcrafton has quit IRC | 16:56 | |
*** edgordon_ has joined #zope3-dev | 16:56 | |
*** projekt01 has quit IRC | 17:09 | |
*** rcrafton has joined #zope3-dev | 17:09 | |
*** edgordon has quit IRC | 17:12 | |
*** whit has joined #zope3-dev | 17:17 | |
*** sorindregan has quit IRC | 17:18 | |
*** whit_ has quit IRC | 17:21 | |
*** whit_ has joined #zope3-dev | 17:24 | |
*** jukart has quit IRC | 17:28 | |
*** cursor has joined #zope3-dev | 17:42 | |
*** afd has quit IRC | 17:44 | |
*** chacha_chaudhry has quit IRC | 17:50 | |
edgordon_ | should extending IFolder be enough to grant IReadContainer and IWriteContainer permissions to an interface? The zcml requires zope.View for the interface that extends IFolder, but I get a permissions error when trying to call length on the folder's keys. | 18:03 |
*** gumpa has joined #zope3-dev | 18:12 | |
*** nathany has joined #zope3-dev | 18:18 | |
*** rlo has joined #zope3-dev | 18:22 | |
*** jfroche has joined #zope3-dev | 18:25 | |
*** redir has quit IRC | 18:30 | |
*** jsadjohnson has quit IRC | 18:30 | |
*** jfroche has quit IRC | 18:31 | |
*** norro has joined #zope3-dev | 18:33 | |
*** nerdalert has joined #zope3-dev | 18:33 | |
*** afd_ has joined #zope3-dev | 18:34 | |
*** vlado has quit IRC | 18:37 | |
*** ChrisW has joined #zope3-dev | 18:47 | |
ChrisW | hey all - how can I find out what subscribers are registered for a particular event? | 18:48 |
nerdalert | think you should be able to use zope.component.queryAdapters(ITheEventInterface) | 18:52 |
*** cursor has quit IRC | 18:52 | |
ChrisW | hmm, lemme try that | 18:53 |
nerdalert | let me know how it goes | 18:54 |
*** sm has joined #zope3-dev | 18:56 | |
ChrisW | um, queryAdapter takes an object | 18:56 |
ChrisW | which I need to adapter to an interface | 18:56 |
ChrisW | so I'm not sure how to use it as you suggest | 18:57 |
*** MrTopf has quit IRC | 19:00 | |
whit | ChrisW: iirc, zope.app.apidoc might help you here | 19:00 |
whit | maybe in component | 19:00 |
ChrisW | does it show what subscribers there are for a [articular type of event? | 19:01 |
whit | take a look... it lets you query for registration objects for adapters. you should be able to query by the event interface | 19:02 |
*** pcardune has quit IRC | 19:06 | |
*** rcrafton has quit IRC | 19:07 | |
ChrisW | any idea which bit of apidoc code Ishould be looking at? | 19:10 |
ChrisW | come to think of it, where does the apidoc code live? | 19:12 |
*** RaFromBRC has joined #zope3-dev | 19:15 | |
edgordon_ | how do i get implemented interfaces of a proxied object? | 19:21 |
*** whit has quit IRC | 19:21 | |
*** whit_ has quit IRC | 19:21 | |
*** whit_ has joined #zope3-dev | 19:21 | |
*** jodok has quit IRC | 19:22 | |
*** whit_ is now known as wbuntu | 19:22 | |
*** stub has quit IRC | 19:23 | |
afd_ | edgordon_: when dealing with proxied objects, from pdb, you can do something like: | 19:27 |
afd_ | from zope.proxy import getProxiedObject | 19:27 |
afd_ | the_obj = getProxiedObject(proxied_obj) | 19:28 |
afd_ | and then you can do providedBy(the_obj) | 19:28 |
*** jsadjohnson has joined #zope3-dev | 19:28 | |
edgordon_ | thanks, i was just reading through the interfaces of zope.proxy | 19:28 |
afd_ | providedBy(obj) might even work with the proxied object... | 19:29 |
afd_ | not sure | 19:29 |
*** alecm has joined #zope3-dev | 19:29 | |
edgordon_ | yeah, but doesn't providedBy have to know what interface you are looking for? | 19:30 |
edgordon_ | nevermind, i am stupid | 19:32 |
edgordon_ | that is what i was using anyways | 19:32 |
edgordon_ | yeah, works great | 19:32 |
sm | morning | 19:40 |
sm | a zmi find loads all objects into memory even if you're just searching by id, eh | 19:40 |
*** naro has quit IRC | 19:48 | |
*** redir has joined #zope3-dev | 20:10 | |
*** ferrafox has quit IRC | 20:17 | |
*** ChrisW has quit IRC | 20:21 | |
*** afd_ has quit IRC | 20:21 | |
*** rlo has quit IRC | 20:22 | |
*** wbuntu has quit IRC | 20:33 | |
*** wbuntu has joined #zope3-dev | 20:35 | |
*** edgordon_ has quit IRC | 20:42 | |
*** markusleist has quit IRC | 20:46 | |
*** redir has quit IRC | 20:48 | |
*** junkafarian has quit IRC | 20:48 | |
*** redir has joined #zope3-dev | 20:49 | |
*** rlo has joined #zope3-dev | 20:58 | |
*** b52lap has quit IRC | 21:01 | |
*** afd has joined #zope3-dev | 21:04 | |
*** mgedmin has quit IRC | 21:05 | |
*** redir has quit IRC | 21:05 | |
*** markusleist has joined #zope3-dev | 21:12 | |
*** norro_ has joined #zope3-dev | 21:13 | |
*** lisppaste6 has quit IRC | 21:16 | |
*** gumpa has quit IRC | 21:18 | |
*** lisppaste6 has joined #zope3-dev | 21:22 | |
*** rlo has quit IRC | 21:28 | |
*** jodok has joined #zope3-dev | 21:31 | |
*** rlo has joined #zope3-dev | 21:33 | |
*** dunny has joined #zope3-dev | 21:38 | |
*** redir has joined #zope3-dev | 21:43 | |
*** kleist has quit IRC | 21:45 | |
*** pbugni has quit IRC | 21:45 | |
*** rlo has quit IRC | 21:52 | |
*** mkerrin has quit IRC | 22:07 | |
*** Newfie2007 has quit IRC | 22:12 | |
*** ignas has quit IRC | 22:18 | |
*** ignas has joined #zope3-dev | 22:18 | |
*** ignas has quit IRC | 22:19 | |
*** b52laptop has joined #zope3-dev | 22:21 | |
*** wbuntu has quit IRC | 22:29 | |
*** wbuntu has joined #zope3-dev | 22:32 | |
*** greenman has joined #zope3-dev | 22:35 | |
*** edgordon has joined #zope3-dev | 22:36 | |
*** whit has joined #zope3-dev | 22:45 | |
*** reco has joined #zope3-dev | 22:52 | |
*** greenman has quit IRC | 22:54 | |
instantfoo | hi, is there an equivalent of zope.component.subscribers(objects, iface) that only takes a single object as first argument? | 22:57 |
instantfoo | from an article by Jim: "Adapters that adapt a single object are an important special case, so a simple interface-call API is provided to handle this special case" | 22:59 |
philiKON_ | zope.compoment.subscribers((theonlyobject,), iface) | 22:59 |
philiKON_ | in other words, you pass a 1-tuple | 23:00 |
philiKON_ | for 'objects' | 23:00 |
instantfoo | ok, I'm doing this already: subscribers([myobj], IFoo) | 23:00 |
philiKON_ | semantically, a tuple is preferred | 23:01 |
instantfoo | it'd be slightly quicker with a tuple? | 23:01 |
instantfoo | ok | 23:01 |
*** afd has quit IRC | 23:02 | |
*** pbugni has joined #zope3-dev | 23:25 | |
*** stub has joined #zope3-dev | 23:33 | |
*** edgordon has quit IRC | 23:35 | |
*** norro_ has quit IRC | 23:36 | |
*** mrevoir_ has joined #zope3-dev | 23:39 | |
*** Jell-O-Fishi has quit IRC | 23:43 | |
*** jsadjohnson has quit IRC | 23:47 | |
*** mrevoir has quit IRC | 23:51 | |
*** jsadjohnson has joined #zope3-dev | 23:52 | |
*** d2m has quit IRC | 23:54 | |
*** tarek has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!