IRC log of #zope for Friday, 2012-06-22

*** tiwula has joined #zope00:35
*** mr_jolly has quit IRC01:25
*** rbanffy has quit IRC01:34
*** eperez has quit IRC01:42
*** fredvd_ has quit IRC01:45
*** kosh has joined #zope01:47
koshgreetings lifeforms and those aspiring to be lifeforms01:50
*** J1m has quit IRC01:57
*** supton_ has joined #zope01:59
*** supton has quit IRC02:03
*** nande has joined #zope02:20
*** acsr1 has quit IRC02:23
*** acsr has joined #zope02:28
*** daMaestro has quit IRC02:37
*** sp0cksbeard has quit IRC02:43
*** RichyB has quit IRC02:46
*** _mup_ has quit IRC03:00
*** _mup_ has joined #zope03:00
*** tiwula has quit IRC03:40
*** polysix has quit IRC04:01
*** polysix has joined #zope04:08
*** polysix has quit IRC04:23
*** polysix has joined #zope04:31
*** nande has quit IRC04:44
*** tzicatl has joined #zope06:16
*** tiwula has joined #zope06:43
*** tiwula has quit IRC07:16
*** kosh has quit IRC07:18
*** __mac__ has joined #zope07:34
*** __mac__1 has joined #zope07:39
*** __mac__ has quit IRC07:42
*** __mac__1 has quit IRC07:49
*** tisto has joined #zope08:02
*** tisto_ has joined #zope08:03
*** tisto has quit IRC08:05
*** dayne has joined #zope08:07
*** dayne has quit IRC08:12
*** fredvd has joined #zope08:18
*** evilbungle has quit IRC08:32
*** tzicatl has quit IRC08:44
*** yvl has joined #zope08:51
*** __mac__ has joined #zope09:06
*** agroszer has joined #zope09:08
*** __mac__1 has joined #zope09:12
*** __mac__ has quit IRC09:12
*** __mac__1 has quit IRC09:16
*** __mac__ has joined #zope09:25
*** AnneGilles has joined #zope09:26
*** __mac__ has quit IRC09:45
*** agroszer has quit IRC09:55
*** running_clam has left #zope10:02
*** zagy has joined #zope10:03
*** giacomos has joined #zope10:07
*** AnneGilles_ has joined #zope10:37
*** AnneGilles has quit IRC10:37
*** AnneGilles_ is now known as AnneGilles10:37
*** running_clam has joined #zope10:48
*** running_clam has left #zope10:50
*** eperez has joined #zope10:53
*** River_Rat has quit IRC11:01
*** River_Rat has joined #zope11:02
*** sunew has joined #zope11:39
*** lahwran has quit IRC11:41
*** lahwran has joined #zope11:43
*** AnneGilles has quit IRC11:53
*** maurits has joined #zope11:54
*** __mac__ has joined #zope11:58
*** ccomb has joined #zope12:04
*** lahwran- has joined #zope12:04
*** __mac__1 has joined #zope12:23
*** __mac__1 has quit IRC12:26
*** __mac__ has quit IRC12:26
*** __mac__ has joined #zope12:27
*** agroszer has joined #zope12:29
*** __mac__1 has joined #zope12:29
*** __mac__ has quit IRC12:32
*** teix has joined #zope12:50
*** RichyB has joined #zope13:10
*** povbot has joined #zope13:19
*** tisto_ is now known as tisto13:27
*** J1m has joined #zope13:28
*** tisto has quit IRC13:33
*** evilbungle has joined #zope13:39
*** tisto has joined #zope13:46
*** fredvd has joined #zope13:49
*** J1m has quit IRC13:56
*** tisto is now known as tisto|lunch14:42
*** dayne has joined #zope14:49
*** thetet has joined #zope14:52
*** lahwran- has quit IRC15:39
*** lahwran- has joined #zope15:39
*** lahwran- is now known as lahwran15:39
*** Pumukel has joined #zope15:53
*** eperez has quit IRC15:57
*** J1m has joined #zope16:11
*** kosh has joined #zope16:12
*** goschtl has joined #zope16:14
*** J1m has quit IRC16:23
*** J1m has joined #zope16:28
*** J1m has quit IRC16:45
*** agroszer has quit IRC16:48
*** J1m has joined #zope16:50
*** __mac__1 has quit IRC16:54
*** tisto|lunch is now known as tisto16:58
*** tisto has quit IRC17:13
*** tisto has joined #zope17:14
*** thetet has quit IRC17:24
*** goschtl_ has joined #zope17:36
*** goschtl has quit IRC17:38
*** goschtl_ is now known as goschtl17:38
*** tzicatl has joined #zope17:42
*** hellhound has joined #zope17:49
hellhoundhi everybody17:50
hellhoundI was wondering if there was a way to get hold of a interface defined in a zcml file17:54
hellhoundI'm currently working with zope 317:54
hellhound*an interface17:54
*** goschtl has quit IRC17:56
*** dayne has quit IRC17:56
*** zenwryly has quit IRC17:59
*** sunew has quit IRC18:11
*** miano_ has quit IRC18:14
*** __mac__ has joined #zope18:15
*** Pumukel has quit IRC18:16
*** fredvd has quit IRC18:31
*** kosh has quit IRC18:39
*** tisto has quit IRC18:47
*** daMaestro has joined #zope18:53
*** ccomb has quit IRC19:00
hellhoundI was wondering if there's a way to get an interface defined in a zcml file19:00
hellhoundis there?19:01
hellhoundIn zope 319:01
*** giacomos has quit IRC19:01
*** tiwula has joined #zope19:02
*** __mac__ has quit IRC19:17
*** tzicatl has quit IRC19:22
mauritshellhound: No, you cannot define a new interface in zcml. You do that in Python.  In zcml you can only reference existing interfaces.19:30
hellhoundmaurits: not a new interface, but a reference19:31
hellhoundmaurits: I just want to get an adapter reference without importing the provided interface19:32
*** supton has joined #zope19:33
mauritsWell, if in your zcml you have "<adapter for="some.package.some.interface" … />" then zope will try to do 'from some.package.some import interface" when it loads the zcml file. It will break if the interface cannot be imported.19:34
mauritsBut maybe I misunderstand what you are trying to do.19:34
hellhoundmaurits: not the for attribute, but the "provides" one19:35
mauritssame principle19:35
hellhoundmaurits: when you retreive an adapter you have to specify the interface the adapter provides for the adaptee19:36
hellhoundmaurits: What I wanted to do is to avoid importing the interface in my test case19:37
mauritsMaybe this doc helps?
hellhoundlet's see19:37
mauritsIf you want to adapt some context to an interface in python code, then you do need to import it: if you do ISomeInterface(context), then ISomeInterface needs to be imported before that or your Python will break.19:39
hellhoundmaurits: I think you misunderstood me. But anyhow, thanks. I guess the only way to achieve this kind of decoupling is to write a metaclass factory for Interface...19:48
hellhounderr for my specific interface19:48
mauritsSounds like you are doing something more funky than I am used to. ;-)19:49
*** RichyB has quit IRC20:07
hellhoundmaurits: ok, that was very quickly, I realized that Zope 3 registers Interfaces as named utilities20:09
hellhoundnow it's completely decouple and I can die a happy man20:09
*** runyaga has joined #zope20:10
*** nande has joined #zope20:19
*** maurits has quit IRC20:41
*** __mac__ has joined #zope21:34
*** teix has left #zope21:49
*** ccomb has joined #zope21:58
*** davetoo has joined #zope21:59
*** daMaestro has quit IRC22:11
*** kosh has joined #zope22:13
*** alecm has quit IRC22:16
*** alecm has joined #zope22:18
*** alecm has joined #zope22:18
*** alecm has quit IRC22:29
*** goschtl has joined #zope22:42
*** rbanffy has joined #zope22:49
*** goschtl has quit IRC22:50
*** alejandro has joined #zope22:58
*** alejandro has left #zope22:59
*** daMaestro has joined #zope23:12
*** ccomb has quit IRC23:25
*** alecm has joined #zope23:40
*** alecm has joined #zope23:40
*** goschtl has joined #zope23:42
*** goschtl has quit IRC23:46
*** __mac__ has quit IRC23:50
*** frapell has quit IRC23:54
*** ccomb has joined #zope23:58

Generated by 2.15.1 by Marius Gedminas - find it at!