*** quodt has joined #zope3-dev | 00:08 | |
*** thekorn has joined #zope3-dev | 00:11 | |
*** cshenton has quit IRC | 00:20 | |
*** aaronv has quit IRC | 00:28 | |
*** redir has quit IRC | 00:28 | |
*** alga has joined #zope3-dev | 00:40 | |
*** benji has quit IRC | 00:49 | |
*** sp0cksbeard has quit IRC | 00:57 | |
*** fcorrea has joined #zope3-dev | 00:59 | |
*** aaronv has joined #zope3-dev | 01:07 | |
*** tisto has quit IRC | 01:10 | |
*** tisto has joined #zope3-dev | 01:11 | |
*** lurkymclurkleton has quit IRC | 01:14 | |
*** aaronv_ has joined #zope3-dev | 01:18 | |
*** thekorn has quit IRC | 01:21 | |
*** hath|away is now known as hathawsh | 01:22 | |
*** aaronv has quit IRC | 01:31 | |
*** harobed has quit IRC | 01:36 | |
*** aaronv_ has quit IRC | 01:41 | |
*** pyqwer has quit IRC | 01:49 | |
*** J1m has quit IRC | 01:57 | |
*** aaronv has joined #zope3-dev | 02:13 | |
*** aaronv has quit IRC | 02:15 | |
*** romanofski has joined #zope3-dev | 02:20 | |
*** quodt has quit IRC | 02:20 | |
*** tisto has quit IRC | 02:28 | |
*** junkafarian has joined #zope3-dev | 02:32 | |
*** greenman_ has quit IRC | 02:40 | |
*** nathany has quit IRC | 02:45 | |
*** kaeru has quit IRC | 03:01 | |
*** jhauser_ has joined #zope3-dev | 03:02 | |
*** hathawsh is now known as hath|away | 03:02 | |
*** jhauser has quit IRC | 03:03 | |
*** kaeru has joined #zope3-dev | 03:09 | |
*** danielblackburn has joined #zope3-dev | 03:18 | |
*** davisagli has left #zope3-dev | 03:24 | |
*** gary_poster_ has joined #zope3-dev | 03:36 | |
*** gary_poster has quit IRC | 03:53 | |
*** ignas has joined #zope3-dev | 03:53 | |
*** nathany has joined #zope3-dev | 03:59 | |
*** alga has quit IRC | 04:03 | |
*** gary_poster_ has quit IRC | 04:23 | |
*** greenman_ has joined #zope3-dev | 04:32 | |
*** ignas has quit IRC | 04:37 | |
*** hath|away is now known as hathawsh | 04:49 | |
*** sm has quit IRC | 04:50 | |
*** alecm has quit IRC | 05:22 | |
*** danielblackburn has quit IRC | 05:26 | |
*** afd_ has joined #zope3-dev | 05:47 | |
*** hathawsh is now known as hath|away | 05:53 | |
*** lisppaste6 has quit IRC | 06:02 | |
*** lisppaste6 has joined #zope3-dev | 06:03 | |
*** fcorrea has quit IRC | 06:19 | |
*** hath|away is now known as hathawsh | 06:21 | |
*** fcorrea has joined #zope3-dev | 06:27 | |
*** greenman_ has quit IRC | 06:32 | |
*** hathawsh is now known as hath|away | 06:35 | |
*** davisagli has joined #zope3-dev | 06:39 | |
*** afd_ has quit IRC | 06:42 | |
*** allisterb_ has quit IRC | 06:45 | |
*** allisterb has joined #zope3-dev | 06:46 | |
*** kursor has joined #zope3-dev | 07:03 | |
*** baijum has joined #zope3-dev | 07:36 | |
*** hath|away is now known as hathawsh | 07:49 | |
*** hathawsh is now known as hath|away | 07:59 | |
*** jukart has joined #zope3-dev | 08:21 | |
*** jukart_ has joined #zope3-dev | 08:26 | |
*** jukart has quit IRC | 08:27 | |
*** jukart has joined #zope3-dev | 08:27 | |
*** jukart has quit IRC | 08:36 | |
*** Theuni1 has quit IRC | 08:39 | |
*** Theuni1 has joined #zope3-dev | 08:39 | |
*** jukart_ has quit IRC | 08:40 | |
*** agroszer has joined #zope3-dev | 08:40 | |
*** JaRoel|4D has quit IRC | 08:43 | |
*** kursor has quit IRC | 08:44 | |
*** markusleist has quit IRC | 08:50 | |
*** basti__ has joined #zope3-dev | 08:52 | |
*** jukart has joined #zope3-dev | 09:03 | |
*** jfkw has quit IRC | 09:04 | |
*** __mac__ has joined #zope3-dev | 09:08 | |
*** thekorn has joined #zope3-dev | 09:10 | |
*** redir has joined #zope3-dev | 09:12 | |
*** __mac___ has joined #zope3-dev | 09:13 | |
*** pyqwer has joined #zope3-dev | 09:14 | |
*** zagy has joined #zope3-dev | 09:17 | |
*** __mac__ has quit IRC | 09:26 | |
*** redir has quit IRC | 09:34 | |
*** quodt has joined #zope3-dev | 09:40 | |
*** malthe|Zzz is now known as malthe|away | 09:42 | |
*** JaRoel|4D has joined #zope3-dev | 09:43 | |
*** pelle__ has quit IRC | 09:44 | |
*** zagy has quit IRC | 09:50 | |
*** zagy has joined #zope3-dev | 09:50 | |
*** hath|away is now known as hathawsh | 10:00 | |
*** tarek has joined #zope3-dev | 10:00 | |
*** JaRoel|4D has quit IRC | 10:03 | |
*** ignas has joined #zope3-dev | 10:04 | |
*** pelle_ has joined #zope3-dev | 10:12 | |
*** zagy has quit IRC | 10:15 | |
*** harobed has joined #zope3-dev | 10:17 | |
*** tisto has joined #zope3-dev | 10:19 | |
*** davisagli has quit IRC | 10:21 | |
*** markusleist has joined #zope3-dev | 10:25 | |
*** El_Rolando has joined #zope3-dev | 10:30 | |
*** zagy has joined #zope3-dev | 10:32 | |
*** markusleist has quit IRC | 10:34 | |
*** markusleist has joined #zope3-dev | 10:37 | |
*** __mac__ has joined #zope3-dev | 10:38 | |
*** junkafarian_ has joined #zope3-dev | 10:40 | |
*** junkafarian has quit IRC | 10:40 | |
*** pelle_ has quit IRC | 10:49 | |
*** __mac___ has quit IRC | 10:55 | |
*** ignas has quit IRC | 10:56 | |
*** pelle_ has joined #zope3-dev | 11:05 | |
*** DrogoNevets has joined #zope3-dev | 11:06 | |
*** lamike has joined #zope3-dev | 11:07 | |
*** lamike has left #zope3-dev | 11:07 | |
*** allisterb_ has joined #zope3-dev | 11:12 | |
*** allisterb__ has joined #zope3-dev | 11:15 | |
*** projekt01 has joined #zope3-dev | 11:21 | |
*** allisterb has quit IRC | 11:27 | |
*** allisterb has joined #zope3-dev | 11:29 | |
*** allisterb has quit IRC | 11:29 | |
*** ignas has joined #zope3-dev | 11:29 | |
*** JaRoel|4D has joined #zope3-dev | 11:30 | |
*** allisterb__ has quit IRC | 11:35 | |
*** allisterb has joined #zope3-dev | 11:37 | |
*** allisterb has quit IRC | 11:38 | |
*** junkafarian_ is now known as junk|home | 11:39 | |
*** allisterb has joined #zope3-dev | 11:41 | |
*** allisterb_ has quit IRC | 11:44 | |
*** junkafarian has joined #zope3-dev | 11:49 | |
*** baijum has quit IRC | 11:50 | |
*** baijum has joined #zope3-dev | 11:51 | |
*** baijum has quit IRC | 11:51 | |
*** baijum has joined #zope3-dev | 11:51 | |
*** allisterb_ has joined #zope3-dev | 11:53 | |
*** alga has joined #zope3-dev | 11:54 | |
*** allisterb has quit IRC | 11:55 | |
*** allisterb_ has quit IRC | 11:55 | |
*** allisterb_ has joined #zope3-dev | 11:56 | |
*** allisterb_ has quit IRC | 11:58 | |
*** DrogoNevets has left #zope3-dev | 11:59 | |
*** ktwilight_ has joined #zope3-dev | 12:00 | |
*** greenman has joined #zope3-dev | 12:02 | |
*** ktwilight__ has joined #zope3-dev | 12:05 | |
*** ktwilight has quit IRC | 12:06 | |
*** allisterb_ has joined #zope3-dev | 12:08 | |
*** allisterb__ has joined #zope3-dev | 12:12 | |
*** ktwilight_ has quit IRC | 12:16 | |
*** hazmat has joined #zope3-dev | 12:21 | |
*** ChanServ sets mode: +o hazmat | 12:21 | |
*** romanofski has quit IRC | 12:27 | |
*** ktwilight_ has joined #zope3-dev | 12:30 | |
*** allisterb_ has quit IRC | 12:31 | |
*** ktwilight__ has quit IRC | 12:44 | |
*** Theuni1 has quit IRC | 12:48 | |
*** hathawsh is now known as hath|away | 12:48 | |
*** romanofski has joined #zope3-dev | 13:03 | |
*** hop2e_ has joined #zope3-dev | 13:07 | |
*** hop2e_ has quit IRC | 13:07 | |
*** hop2e has joined #zope3-dev | 13:08 | |
*** greenman has quit IRC | 13:15 | |
*** baijum1 has joined #zope3-dev | 13:17 | |
*** baijum has quit IRC | 13:17 | |
*** pelle_ has quit IRC | 13:42 | |
*** hop2e has quit IRC | 13:52 | |
*** andycat has quit IRC | 13:59 | |
*** allisterb has joined #zope3-dev | 14:02 | |
*** allisterb has quit IRC | 14:04 | |
*** allisterb has joined #zope3-dev | 14:05 | |
*** allisterb has quit IRC | 14:07 | |
*** allisterb has joined #zope3-dev | 14:08 | |
*** allisterb has quit IRC | 14:10 | |
*** allisterb has joined #zope3-dev | 14:10 | |
*** allisterb has quit IRC | 14:12 | |
*** allisterb has joined #zope3-dev | 14:13 | |
*** allisterb has quit IRC | 14:15 | |
*** allisterb has joined #zope3-dev | 14:15 | |
*** allisterb has quit IRC | 14:17 | |
*** allisterb has joined #zope3-dev | 14:18 | |
*** menesis has joined #zope3-dev | 14:20 | |
*** allisterb__ has quit IRC | 14:22 | |
*** afd_ has joined #zope3-dev | 14:24 | |
*** allisterb_ has joined #zope3-dev | 14:30 | |
*** ccomb has quit IRC | 14:32 | |
*** allisterb_ has quit IRC | 14:33 | |
*** allisterb_ has joined #zope3-dev | 14:33 | |
*** allisterb__ has joined #zope3-dev | 14:35 | |
*** menesis has quit IRC | 14:38 | |
*** menesis has joined #zope3-dev | 14:39 | |
*** srichter has quit IRC | 14:40 | |
*** allisterb_ has quit IRC | 14:51 | |
*** allisterb_ has joined #zope3-dev | 14:52 | |
*** srichter has joined #zope3-dev | 14:52 | |
*** pelle_ has joined #zope3-dev | 14:53 | |
*** kursor has joined #zope3-dev | 14:55 | |
*** allisterb has quit IRC | 14:59 | |
*** allisterb_ has quit IRC | 15:01 | |
*** allisterb_ has joined #zope3-dev | 15:01 | |
*** allisterb_ has quit IRC | 15:04 | |
*** allisterb_ has joined #zope3-dev | 15:04 | |
*** agroszer has quit IRC | 15:05 | |
*** allisterb__ has quit IRC | 15:09 | |
*** danielblackburn has joined #zope3-dev | 15:34 | |
*** alga has quit IRC | 15:34 | |
*** benji has joined #zope3-dev | 15:34 | |
*** jhauser has joined #zope3-dev | 15:37 | |
*** gary_poster has joined #zope3-dev | 15:38 | |
*** cshenton has joined #zope3-dev | 15:40 | |
*** mgedmin has joined #zope3-dev | 15:49 | |
*** jhauser_ has quit IRC | 15:50 | |
*** Ariel_Calzada has joined #zope3-dev | 16:00 | |
*** lurkymclurkleton has joined #zope3-dev | 16:02 | |
*** J1m has joined #zope3-dev | 16:11 | |
*** jhauser has quit IRC | 16:14 | |
*** mgedmin has quit IRC | 16:21 | |
*** ccomb has joined #zope3-dev | 16:32 | |
*** yotaff has joined #zope3-dev | 16:34 | |
*** sp0cksbeard has joined #zope3-dev | 16:35 | |
*** romanofski has quit IRC | 16:48 | |
*** basti__ has quit IRC | 16:49 | |
*** basti__ has joined #zope3-dev | 16:49 | |
*** nathany has quit IRC | 16:50 | |
*** basti__ has quit IRC | 16:53 | |
*** basti__ has joined #zope3-dev | 16:55 | |
*** gc_basti has joined #zope3-dev | 16:59 | |
*** deux_ has joined #zope3-dev | 17:02 | |
*** El_Rolando has quit IRC | 17:11 | |
*** basti__ has quit IRC | 17:12 | |
*** aaronv has joined #zope3-dev | 17:14 | |
*** markusleist has quit IRC | 17:17 | |
*** redir has joined #zope3-dev | 17:21 | |
*** baijum1 has quit IRC | 17:23 | |
*** markusleist has joined #zope3-dev | 17:32 | |
*** jukart has quit IRC | 17:36 | |
*** mkerrin has joined #zope3-dev | 17:38 | |
*** mgedmin has joined #zope3-dev | 17:41 | |
*** Aiste has joined #zope3-dev | 17:43 | |
*** projekt01 has quit IRC | 17:45 | |
*** thekorn has quit IRC | 17:46 | |
*** El_Rolando has joined #zope3-dev | 17:47 | |
*** nathany has joined #zope3-dev | 18:00 | |
*** quodt has quit IRC | 18:05 | |
*** gc_basti has quit IRC | 18:19 | |
*** basti__ has joined #zope3-dev | 18:20 | |
*** __mac__ has quit IRC | 18:20 | |
*** junkafarian_ has joined #zope3-dev | 18:23 | |
*** __mac__ has joined #zope3-dev | 18:29 | |
*** lamike has joined #zope3-dev | 18:30 | |
*** lamike has left #zope3-dev | 18:30 | |
*** jukart has joined #zope3-dev | 18:33 | |
*** thekorn has joined #zope3-dev | 18:34 | |
*** junkafarian has quit IRC | 18:36 | |
*** davisagli has joined #zope3-dev | 18:41 | |
*** Theuni1 has joined #zope3-dev | 18:41 | |
*** afd__ has joined #zope3-dev | 18:46 | |
*** Theuni1 has quit IRC | 18:49 | |
*** Aiste has quit IRC | 18:51 | |
*** mcdonc has quit IRC | 18:56 | |
*** pyqwer has quit IRC | 18:56 | |
*** __mac__ has quit IRC | 18:58 | |
*** El_Rolando has quit IRC | 18:58 | |
*** JaRoel|4D has quit IRC | 19:02 | |
*** jukart has quit IRC | 19:05 | |
*** davisagli has quit IRC | 19:05 | |
*** afd_ has quit IRC | 19:05 | |
*** kaeru has quit IRC | 19:08 | |
*** kaeru has joined #zope3-dev | 19:09 | |
*** sm has joined #zope3-dev | 19:13 | |
*** harobed has quit IRC | 19:28 | |
*** markusleist has quit IRC | 19:29 | |
*** redir has quit IRC | 19:30 | |
*** gary_poster is now known as gary_poster-fud | 19:33 | |
*** davisagli has joined #zope3-dev | 19:35 | |
*** ignas has quit IRC | 19:37 | |
*** lucielejard has joined #zope3-dev | 19:41 | |
*** mkerrin has quit IRC | 19:44 | |
*** J1m has quit IRC | 19:47 | |
*** J1m has joined #zope3-dev | 19:49 | |
*** aaronv has quit IRC | 19:52 | |
*** aaronv has joined #zope3-dev | 19:55 | |
*** hath|away is now known as hathawsh | 19:56 | |
*** __mac__ has joined #zope3-dev | 19:56 | |
*** jfkw has joined #zope3-dev | 20:03 | |
*** J1m has quit IRC | 20:09 | |
*** J1m has joined #zope3-dev | 20:12 | |
*** yotaff has quit IRC | 20:14 | |
*** __mac__ has quit IRC | 20:15 | |
*** redir has joined #zope3-dev | 20:18 | |
*** lurkymclurkleton has quit IRC | 20:22 | |
*** lurkymclurkleton has joined #zope3-dev | 20:28 | |
*** iham is now known as iham|away | 20:29 | |
*** gary_poster-fud is now known as gary_poster | 20:36 | |
*** deux_ has quit IRC | 20:39 | |
*** menesis has quit IRC | 20:41 | |
*** menesis has joined #zope3-dev | 20:43 | |
*** cshenton has quit IRC | 20:48 | |
*** cshenton has joined #zope3-dev | 21:16 | |
*** yota has joined #zope3-dev | 21:23 | |
*** ccomb has quit IRC | 21:30 | |
*** menesis has quit IRC | 21:32 | |
*** kursor has quit IRC | 21:33 | |
*** kehander has joined #zope3-dev | 21:35 | |
*** menesis has joined #zope3-dev | 21:36 | |
kehander | Could someone please explain the arguments for adapter.AdapterRegistry.register to me? I just can't get my head around it. | 21:37 |
---|---|---|
afd__ | kehander: you shouldn't use that API | 21:38 |
afd__ | look here: http://www.muthukadan.net/docs/zca.html | 21:38 |
afd__ | provideAdapter, in particular | 21:38 |
kehander | I'm looking at someone else's old code, actually. | 21:39 |
kehander | I'd rather not have to rewrite large swaths of it. | 21:40 |
afd__ | post that particular line and I may be able to help you | 21:40 |
kehander | Well, take the interfaces readme for example: registry.register([IR1], IP2, '', 12) | 21:42 |
kehander | By the way, that page of yours seems to suggest you should avoid provideAdapter. | 21:42 |
afd__ | yeah... In zope usually the adapters are declared in ZCML, and the adapts() and @adapter are used to declare the necessary registration bits | 21:45 |
afd__ | in your example | 21:45 |
afd__ | register object "12" as a named adapter with name "", providing interface IP2, for (context) objects of type IR1 | 21:46 |
mgedmin | IIRC there's more than one provideAdapter | 21:46 |
mgedmin | the one in ztapi should die | 21:47 |
mgedmin | the one in zope.component... *shrug*, I still use it for test fixtures | 21:47 |
kehander | That almost makes sense. So if the first argument is an empty list, then the object in the fourth argument can adapt any object, right? | 21:47 |
mgedmin | kehander: that example means you're registering an unnamed adapter that adapts IR1 to IP2, and the adapter is 12 | 21:48 |
mgedmin | which means that when you have an object providing IR1, and you write IP2(my_object), you'll get an error since the adapter registry will try to call 12(my_object) | 21:48 |
mgedmin | int's aren't callable | 21:48 |
mgedmin | the first arg can't be an empty list, I think... | 21:48 |
mgedmin | maybe it can | 21:49 |
mgedmin | if you do getMultiAdapter((), IFoo), you'll get that one | 21:49 |
mgedmin | if you want an adapter that adapts anything, you want to register it for [None] | 21:49 |
mgedmin | or [Interface] | 21:49 |
mgedmin | I believe the two are equivalent | 21:49 |
*** mgedmin has quit IRC | 21:50 | |
kehander | You lost me there. | 21:52 |
kehander | Also, is the adapter name only useful if you're using lookup or something? | 21:57 |
*** menesis has quit IRC | 22:12 | |
*** hathawsh is now known as hath|away | 22:16 | |
*** hath|away is now known as hathawsh | 22:16 | |
*** kehander has quit IRC | 22:24 | |
*** hathawsh is now known as hath|away | 22:28 | |
*** agroszer has joined #zope3-dev | 22:31 | |
*** hath|away is now known as hathawsh | 22:49 | |
*** greenman has joined #zope3-dev | 23:21 | |
*** afd__ has quit IRC | 23:36 | |
*** thekorn has quit IRC | 23:38 | |
*** aaronv has quit IRC | 23:49 | |
*** aaronv has joined #zope3-dev | 23:50 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!