*** tiwula has joined #zope | 00:35 | |
*** mr_jolly has quit IRC | 01:25 | |
*** rbanffy has quit IRC | 01:34 | |
*** eperez has quit IRC | 01:42 | |
*** fredvd_ has quit IRC | 01:45 | |
*** kosh has joined #zope | 01:47 | |
kosh | greetings lifeforms and those aspiring to be lifeforms | 01:50 |
---|---|---|
*** J1m has quit IRC | 01:57 | |
*** supton_ has joined #zope | 01:59 | |
*** supton has quit IRC | 02:03 | |
*** nande has joined #zope | 02:20 | |
*** acsr1 has quit IRC | 02:23 | |
*** acsr has joined #zope | 02:28 | |
*** daMaestro has quit IRC | 02:37 | |
*** sp0cksbeard has quit IRC | 02:43 | |
*** RichyB has quit IRC | 02:46 | |
*** _mup_ has quit IRC | 03:00 | |
*** _mup_ has joined #zope | 03:00 | |
*** tiwula has quit IRC | 03:40 | |
*** polysix has quit IRC | 04:01 | |
*** polysix has joined #zope | 04:08 | |
*** polysix has quit IRC | 04:23 | |
*** polysix has joined #zope | 04:31 | |
*** nande has quit IRC | 04:44 | |
*** tzicatl has joined #zope | 06:16 | |
*** tiwula has joined #zope | 06:43 | |
*** tiwula has quit IRC | 07:16 | |
*** kosh has quit IRC | 07:18 | |
*** __mac__ has joined #zope | 07:34 | |
*** __mac__1 has joined #zope | 07:39 | |
*** __mac__ has quit IRC | 07:42 | |
*** __mac__1 has quit IRC | 07:49 | |
*** tisto has joined #zope | 08:02 | |
*** tisto_ has joined #zope | 08:03 | |
*** tisto has quit IRC | 08:05 | |
*** dayne has joined #zope | 08:07 | |
*** dayne has quit IRC | 08:12 | |
*** fredvd has joined #zope | 08:18 | |
*** evilbungle has quit IRC | 08:32 | |
*** tzicatl has quit IRC | 08:44 | |
*** yvl has joined #zope | 08:51 | |
*** __mac__ has joined #zope | 09:06 | |
*** agroszer has joined #zope | 09:08 | |
*** __mac__1 has joined #zope | 09:12 | |
*** __mac__ has quit IRC | 09:12 | |
*** __mac__1 has quit IRC | 09:16 | |
*** __mac__ has joined #zope | 09:25 | |
*** AnneGilles has joined #zope | 09:26 | |
*** __mac__ has quit IRC | 09:45 | |
*** agroszer has quit IRC | 09:55 | |
*** running_clam has left #zope | 10:02 | |
*** zagy has joined #zope | 10:03 | |
*** giacomos has joined #zope | 10:07 | |
*** AnneGilles_ has joined #zope | 10:37 | |
*** AnneGilles has quit IRC | 10:37 | |
*** AnneGilles_ is now known as AnneGilles | 10:37 | |
*** running_clam has joined #zope | 10:48 | |
*** running_clam has left #zope | 10:50 | |
*** eperez has joined #zope | 10:53 | |
*** River_Rat has quit IRC | 11:01 | |
*** River_Rat has joined #zope | 11:02 | |
*** sunew has joined #zope | 11:39 | |
*** lahwran has quit IRC | 11:41 | |
*** lahwran has joined #zope | 11:43 | |
*** AnneGilles has quit IRC | 11:53 | |
*** maurits has joined #zope | 11:54 | |
*** __mac__ has joined #zope | 11:58 | |
*** ccomb has joined #zope | 12:04 | |
*** lahwran- has joined #zope | 12:04 | |
*** __mac__1 has joined #zope | 12:23 | |
*** __mac__1 has quit IRC | 12:26 | |
*** __mac__ has quit IRC | 12:26 | |
*** __mac__ has joined #zope | 12:27 | |
*** agroszer has joined #zope | 12:29 | |
*** __mac__1 has joined #zope | 12:29 | |
*** __mac__ has quit IRC | 12:32 | |
*** teix has joined #zope | 12:50 | |
*** RichyB has joined #zope | 13:10 | |
*** povbot has joined #zope | 13:19 | |
*** tisto_ is now known as tisto | 13:27 | |
*** J1m has joined #zope | 13:28 | |
*** tisto has quit IRC | 13:33 | |
*** evilbungle has joined #zope | 13:39 | |
*** tisto has joined #zope | 13:46 | |
*** fredvd has joined #zope | 13:49 | |
*** J1m has quit IRC | 13:56 | |
*** tisto is now known as tisto|lunch | 14:42 | |
*** dayne has joined #zope | 14:49 | |
*** thetet has joined #zope | 14:52 | |
*** lahwran- has quit IRC | 15:39 | |
*** lahwran- has joined #zope | 15:39 | |
*** lahwran- is now known as lahwran | 15:39 | |
*** Pumukel has joined #zope | 15:53 | |
*** eperez has quit IRC | 15:57 | |
*** J1m has joined #zope | 16:11 | |
*** kosh has joined #zope | 16:12 | |
*** goschtl has joined #zope | 16:14 | |
*** J1m has quit IRC | 16:23 | |
*** J1m has joined #zope | 16:28 | |
*** J1m has quit IRC | 16:45 | |
*** agroszer has quit IRC | 16:48 | |
*** J1m has joined #zope | 16:50 | |
*** __mac__1 has quit IRC | 16:54 | |
*** tisto|lunch is now known as tisto | 16:58 | |
*** tisto has quit IRC | 17:13 | |
*** tisto has joined #zope | 17:14 | |
*** thetet has quit IRC | 17:24 | |
*** goschtl_ has joined #zope | 17:36 | |
*** goschtl has quit IRC | 17:38 | |
*** goschtl_ is now known as goschtl | 17:38 | |
*** tzicatl has joined #zope | 17:42 | |
*** hellhound has joined #zope | 17:49 | |
hellhound | hi everybody | 17:50 |
hellhound | I was wondering if there was a way to get hold of a interface defined in a zcml file | 17:54 |
hellhound | I'm currently working with zope 3 | 17:54 |
hellhound | *an interface | 17:54 |
*** goschtl has quit IRC | 17:56 | |
*** dayne has quit IRC | 17:56 | |
*** zenwryly has quit IRC | 17:59 | |
*** sunew has quit IRC | 18:11 | |
*** miano_ has quit IRC | 18:14 | |
*** __mac__ has joined #zope | 18:15 | |
*** Pumukel has quit IRC | 18:16 | |
*** fredvd has quit IRC | 18:31 | |
*** kosh has quit IRC | 18:39 | |
*** tisto has quit IRC | 18:47 | |
*** daMaestro has joined #zope | 18:53 | |
*** ccomb has quit IRC | 19:00 | |
hellhound | I was wondering if there's a way to get an interface defined in a zcml file | 19:00 |
hellhound | is there? | 19:01 |
hellhound | In zope 3 | 19:01 |
*** giacomos has quit IRC | 19:01 | |
*** tiwula has joined #zope | 19:02 | |
*** __mac__ has quit IRC | 19:17 | |
*** tzicatl has quit IRC | 19:22 | |
maurits | hellhound: No, you cannot define a new interface in zcml. You do that in Python. In zcml you can only reference existing interfaces. | 19:30 |
hellhound | maurits: not a new interface, but a reference | 19:31 |
hellhound | maurits: I just want to get an adapter reference without importing the provided interface | 19:32 |
*** supton has joined #zope | 19:33 | |
maurits | Well, 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 |
maurits | But maybe I misunderstand what you are trying to do. | 19:34 |
hellhound | maurits: not the for attribute, but the "provides" one | 19:35 |
maurits | same principle | 19:35 |
hellhound | maurits: when you retreive an adapter you have to specify the interface the adapter provides for the adaptee | 19:36 |
hellhound | maurits: What I wanted to do is to avoid importing the interface in my test case | 19:37 |
maurits | Maybe this doc helps? http://docs.zope.org/zope.component/zcml.html#declaring-for-and-provides-in-python | 19:37 |
hellhound | let's see | 19:37 |
maurits | If 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 |
hellhound | maurits: 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 |
hellhound | err for my specific interface | 19:48 |
maurits | Sounds like you are doing something more funky than I am used to. ;-) | 19:49 |
hellhound | yeah | 19:49 |
*** RichyB has quit IRC | 20:07 | |
hellhound | maurits: ok, that was very quickly, I realized that Zope 3 registers Interfaces as named utilities | 20:09 |
hellhound | :) | 20:09 |
hellhound | now it's completely decouple and I can die a happy man | 20:09 |
*** runyaga has joined #zope | 20:10 | |
*** nande has joined #zope | 20:19 | |
*** maurits has quit IRC | 20:41 | |
*** __mac__ has joined #zope | 21:34 | |
*** teix has left #zope | 21:49 | |
*** ccomb has joined #zope | 21:58 | |
*** davetoo has joined #zope | 21:59 | |
*** daMaestro has quit IRC | 22:11 | |
*** kosh has joined #zope | 22:13 | |
*** alecm has quit IRC | 22:16 | |
*** alecm has joined #zope | 22:18 | |
*** alecm has joined #zope | 22:18 | |
*** alecm has quit IRC | 22:29 | |
*** goschtl has joined #zope | 22:42 | |
*** rbanffy has joined #zope | 22:49 | |
*** goschtl has quit IRC | 22:50 | |
*** alejandro has joined #zope | 22:58 | |
alejandro | olaa | 22:58 |
*** alejandro has left #zope | 22:59 | |
*** daMaestro has joined #zope | 23:12 | |
*** ccomb has quit IRC | 23:25 | |
*** alecm has joined #zope | 23:40 | |
*** alecm has joined #zope | 23:40 | |
*** goschtl has joined #zope | 23:42 | |
*** goschtl has quit IRC | 23:46 | |
*** __mac__ has quit IRC | 23:50 | |
*** frapell has quit IRC | 23:54 | |
*** ccomb has joined #zope | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!