*** mcdonc has quit IRC | 00:00 | |
*** nouri has joined #zope3-dev | 00:04 | |
*** mcdonc_ has quit IRC | 00:09 | |
*** niemeyer has quit IRC | 00:12 | |
*** jsadjohnson has joined #zope3-dev | 00:17 | |
*** greenman has joined #zope3-dev | 00:18 | |
*** dunny has joined #zope3-dev | 00:18 | |
*** natea has quit IRC | 00:20 | |
*** nouri has quit IRC | 00:23 | |
*** benji has quit IRC | 00:28 | |
*** amit_am has left #zope3-dev | 00:44 | |
*** lucielejard has quit IRC | 00:49 | |
*** rcrafton has quit IRC | 00:49 | |
*** malthe has joined #zope3-dev | 00:54 | |
*** jsadjohnson has quit IRC | 00:56 | |
*** RaFromBRC|mtg has quit IRC | 00:59 | |
*** tuxella has quit IRC | 01:06 | |
*** projekt01 has left #zope3-dev | 01:11 | |
*** Aiste has quit IRC | 01:12 | |
*** tarek has left #zope3-dev | 01:13 | |
*** norro has quit IRC | 01:15 | |
*** nathany has quit IRC | 01:16 | |
*** regebro|away has left #zope3-dev | 01:18 | |
*** rcrafton has joined #zope3-dev | 01:25 | |
*** ktwilight_ has joined #zope3-dev | 01:28 | |
*** natea|boston has joined #zope3-dev | 01:31 | |
*** RaFromBRC has joined #zope3-dev | 01:32 | |
*** dunny has quit IRC | 01:38 | |
*** ktwilight has quit IRC | 01:41 | |
*** tuxella has joined #zope3-dev | 01:56 | |
*** RaFromBRC has quit IRC | 02:03 | |
*** J1m has quit IRC | 02:10 | |
*** timte has quit IRC | 02:13 | |
*** philiKON has quit IRC | 02:13 | |
*** philiKON has joined #zope3-dev | 02:14 | |
*** philiKON has quit IRC | 02:17 | |
*** philiKON has joined #zope3-dev | 02:17 | |
*** b52laptop has quit IRC | 02:18 | |
*** tuxella has quit IRC | 02:42 | |
*** pbugni has quit IRC | 03:05 | |
*** strichter has joined #zope3-dev | 03:08 | |
*** tuxella has joined #zope3-dev | 03:11 | |
*** srichter has quit IRC | 03:23 | |
*** rcrafton has quit IRC | 03:25 | |
*** tuxella has quit IRC | 03:27 | |
*** pbugni has joined #zope3-dev | 03:49 | |
*** tuxella_ has joined #zope3-dev | 03:56 | |
*** huajie has joined #zope3-dev | 04:20 | |
*** RaFromBRC has joined #zope3-dev | 04:29 | |
*** dunny has joined #zope3-dev | 04:39 | |
*** greenman has quit IRC | 05:01 | |
*** dunny has quit IRC | 05:08 | |
*** natea|boston is now known as natea|busy | 05:32 | |
*** alecm has quit IRC | 05:42 | |
*** RaFromBRC has quit IRC | 05:43 | |
*** rcrafton has joined #zope3-dev | 05:54 | |
*** rcrafton has quit IRC | 06:35 | |
*** yvl has joined #zope3-dev | 06:53 | |
*** amit_am has joined #zope3-dev | 06:57 | |
*** yvl has left #zope3-dev | 07:07 | |
*** whit has quit IRC | 07:13 | |
*** baijum has joined #zope3-dev | 07:42 | |
*** alecm has joined #zope3-dev | 08:02 | |
*** afd_ has joined #zope3-dev | 08:16 | |
*** greenman has joined #zope3-dev | 08:17 | |
*** jukart has joined #zope3-dev | 08:20 | |
*** jukart has quit IRC | 08:50 | |
*** sorin has joined #zope3-dev | 09:03 | |
*** sorin is now known as sorindregan | 09:03 | |
*** dobee has quit IRC | 09:10 | |
*** jukart has joined #zope3-dev | 09:13 | |
*** jodok has joined #zope3-dev | 09:20 | |
*** dobee has joined #zope3-dev | 09:21 | |
*** d2m has joined #zope3-dev | 09:24 | |
*** gimni has joined #zope3-dev | 09:29 | |
*** quodt has joined #zope3-dev | 09:30 | |
*** __mac__ has joined #zope3-dev | 09:34 | |
*** greenman has quit IRC | 10:03 | |
*** greenman has joined #zope3-dev | 10:07 | |
*** jpcw2002 has joined #zope3-dev | 10:22 | |
*** gstratton has joined #zope3-dev | 10:27 | |
*** stub has quit IRC | 10:38 | |
*** stu1 has joined #zope3-dev | 10:38 | |
*** stu1 is now known as stub | 10:38 | |
*** acsr has quit IRC | 10:40 | |
*** harobed has joined #zope3-dev | 10:46 | |
*** agroszer has joined #zope3-dev | 10:49 | |
*** zagy has joined #zope3-dev | 10:49 | |
*** tarek has joined #zope3-dev | 10:51 | |
*** greenman has quit IRC | 10:53 | |
*** greenman has joined #zope3-dev | 10:55 | |
*** gstratton has quit IRC | 10:55 | |
*** ignas has joined #zope3-dev | 10:56 | |
*** toutpt has joined #zope3-dev | 10:57 | |
*** alecm has quit IRC | 10:58 | |
*** pelle_ has joined #zope3-dev | 11:06 | |
*** philiKON_ has joined #zope3-dev | 11:06 | |
*** philiKON has quit IRC | 11:14 | |
*** baijum has quit IRC | 11:18 | |
*** regebro has joined #zope3-dev | 11:33 | |
*** malthe has quit IRC | 11:36 | |
*** dunny has joined #zope3-dev | 11:36 | |
*** mgedmin has joined #zope3-dev | 11:43 | |
*** mkerrin has joined #zope3-dev | 11:49 | |
*** ghendi has joined #zope3-dev | 11:57 | |
*** acsr has joined #zope3-dev | 11:57 | |
*** jinty has joined #zope3-dev | 12:11 | |
*** jinty_ has joined #zope3-dev | 12:16 | |
*** jinty has quit IRC | 12:16 | |
*** duckman has quit IRC | 12:27 | |
*** malthe has joined #zope3-dev | 12:29 | |
*** wreutz has joined #zope3-dev | 12:39 | |
*** jpcw2002_ has joined #zope3-dev | 12:54 | |
*** Rolando has joined #zope3-dev | 13:05 | |
*** jpcw2002 has quit IRC | 13:05 | |
*** projekt01 has joined #zope3-dev | 13:06 | |
Rolando | projekt01, http://www.pcmasters.de/forum/prozessoren/6210-passive-und-aktive-kuehlung.html | 13:06 |
---|---|---|
*** Theuni has quit IRC | 13:07 | |
Rolando | projekt01, http://forum.chip.de/cpu-board-speicher/amd-64-box-net-boxed-unterschied-welches-mainboard-help-478808.html | 13:07 |
*** Theuni has joined #zope3-dev | 13:07 | |
*** __mac__ has quit IRC | 13:10 | |
*** malthe has quit IRC | 13:15 | |
*** malthe has joined #zope3-dev | 13:15 | |
*** b52laptop has joined #zope3-dev | 13:16 | |
*** romanofski has joined #zope3-dev | 13:18 | |
*** Aiste has joined #zope3-dev | 13:19 | |
*** strichter is now known as srichter | 13:23 | |
*** ChanServ sets mode: +o srichter | 13:23 | |
*** Theuni_ has joined #zope3-dev | 13:24 | |
*** niemeyer has joined #zope3-dev | 13:25 | |
amit_am | hi, is there a way to search a zope.app.catalog for objects providing a spezified Interface? | 13:25 |
amit_am | like one would have searched for meta_type in zope2 | 13:25 |
srichter | you have to write a specific index to do that for you | 13:26 |
srichter | usually I have one catalog per object type | 13:26 |
amit_am | Ah! | 13:26 |
*** gstratton has joined #zope3-dev | 13:27 | |
amit_am | if you have say 5 catalogs and want to query over 3 of them. wouldn't it be better to have one and a special index? | 13:29 |
srichter | amit_am: no, querying over several catalogs is not an issue in Zope 3 | 13:29 |
*** nouri has joined #zope3-dev | 13:30 | |
amit_am | ok, so you make three querys and collect the objects in one list? | 13:30 |
*** Theuni has quit IRC | 13:31 | |
amit_am | srichter: thanks, so far, I'll try that | 13:31 |
*** dunny has quit IRC | 13:32 | |
*** thruflo has joined #zope3-dev | 13:49 | |
*** jinty_ has quit IRC | 13:49 | |
*** jinty has joined #zope3-dev | 13:49 | |
*** wreutz has quit IRC | 13:51 | |
*** jinty_ has joined #zope3-dev | 13:52 | |
*** jinty has quit IRC | 13:52 | |
mgedmin | so, had anybody successfully copied a Data.fs from a 32-bit to a 64-bit machine and used it without problems? | 13:54 |
* mgedmin just discovered that hash(a_string) gets a different value on a 64-bit machine | 13:54 | |
*** rcrafton has joined #zope3-dev | 13:54 | |
*** jinty has joined #zope3-dev | 13:55 | |
*** jinty_ has quit IRC | 13:55 | |
*** __mac__ has joined #zope3-dev | 14:01 | |
projekt01 | mgedmin, can you move from 42 to 64, is the BTree family flag not instanciated? Is it a class variable on BTreeContainer instances? | 14:02 |
*** jinty has quit IRC | 14:08 | |
*** jinty has joined #zope3-dev | 14:09 | |
*** jinty_ has joined #zope3-dev | 14:11 | |
*** jinty has quit IRC | 14:11 | |
mgedmin | what is a "BTree family flag"? | 14:14 |
*** greenman has quit IRC | 14:15 | |
tarek | hi, all. in my zope 3 buildout, if i put in find-links al link to a tag for my egg, it looks like it's not properly downloaded in my download-cache folder. | 14:15 |
tarek | for example: | 14:15 |
*** alga has joined #zope3-dev | 14:15 | |
tarek | find-links = http://mysvn/mypackage/tags/0.1#egg=mypackage-0.1 | 14:16 |
tarek | this will result in the creation of a 0.1 folder in downloads/dist (if my download-cache is set to downloads) | 14:16 |
tarek | then to an IOError when buildout is launched | 14:16 |
tarek | what is the right way to do this ? | 14:17 |
*** MJ has joined #zope3-dev | 14:18 | |
*** malthe has quit IRC | 14:18 | |
*** philiKON_ has quit IRC | 14:22 | |
*** thruflo_ has joined #zope3-dev | 14:23 | |
*** jinty has joined #zope3-dev | 14:26 | |
*** jinty_ has quit IRC | 14:27 | |
*** rocky has joined #zope3-dev | 14:27 | |
*** gstratton has quit IRC | 14:32 | |
*** agroszer has quit IRC | 14:32 | |
*** tuxella_ has quit IRC | 14:32 | |
*** dokai has quit IRC | 14:32 | |
*** projekt01 has quit IRC | 14:32 | |
*** Rolando has quit IRC | 14:32 | |
*** acsr has quit IRC | 14:32 | |
*** SteveA has quit IRC | 14:32 | |
*** MJ has quit IRC | 14:32 | |
*** alga has quit IRC | 14:32 | |
*** ghendi has quit IRC | 14:32 | |
*** tarek has quit IRC | 14:32 | |
*** sorindregan has quit IRC | 14:32 | |
*** ktwilight_ has quit IRC | 14:32 | |
*** tomus has quit IRC | 14:32 | |
*** rocky has quit IRC | 14:32 | |
*** mkerrin has quit IRC | 14:32 | |
*** pelle_ has quit IRC | 14:32 | |
*** harobed has quit IRC | 14:32 | |
*** sweh has quit IRC | 14:32 | |
*** jinty has quit IRC | 14:32 | |
*** jpcw2002_ has quit IRC | 14:32 | |
*** zagy has quit IRC | 14:32 | |
*** dobee has quit IRC | 14:32 | |
*** afd_ has quit IRC | 14:32 | |
*** amit_am has quit IRC | 14:32 | |
*** vod has quit IRC | 14:32 | |
*** lisppaste6 has quit IRC | 14:32 | |
*** foodels has quit IRC | 14:32 | |
*** mubix has quit IRC | 14:32 | |
*** nouri has quit IRC | 14:32 | |
*** regebro has quit IRC | 14:32 | |
*** toutpt has quit IRC | 14:32 | |
*** gimni has quit IRC | 14:32 | |
*** huajie has quit IRC | 14:32 | |
*** srichter has quit IRC | 14:32 | |
*** ccomb has quit IRC | 14:32 | |
*** tlotze has quit IRC | 14:32 | |
*** chaoflow has quit IRC | 14:32 | |
*** jfroche has quit IRC | 14:32 | |
*** thruflo_ has quit IRC | 14:32 | |
*** romanofski has quit IRC | 14:32 | |
*** b52laptop has quit IRC | 14:32 | |
*** BjornT has quit IRC | 14:32 | |
*** rcrafton has quit IRC | 14:32 | |
*** thruflo has quit IRC | 14:32 | |
*** d2m has quit IRC | 14:32 | |
*** thruflo_ has joined #zope3-dev | 14:33 | |
*** MJ has joined #zope3-dev | 14:33 | |
*** alga has joined #zope3-dev | 14:33 | |
*** rcrafton has joined #zope3-dev | 14:33 | |
*** thruflo has joined #zope3-dev | 14:33 | |
*** gstratton has joined #zope3-dev | 14:33 | |
*** romanofski has joined #zope3-dev | 14:33 | |
*** b52laptop has joined #zope3-dev | 14:33 | |
*** projekt01 has joined #zope3-dev | 14:33 | |
*** Rolando has joined #zope3-dev | 14:33 | |
*** acsr has joined #zope3-dev | 14:33 | |
*** ghendi has joined #zope3-dev | 14:33 | |
*** tarek has joined #zope3-dev | 14:33 | |
*** agroszer has joined #zope3-dev | 14:33 | |
*** d2m has joined #zope3-dev | 14:33 | |
*** sorindregan has joined #zope3-dev | 14:33 | |
*** tuxella_ has joined #zope3-dev | 14:33 | |
*** ktwilight_ has joined #zope3-dev | 14:33 | |
*** BjornT has joined #zope3-dev | 14:33 | |
*** dokai has joined #zope3-dev | 14:33 | |
*** tomus has joined #zope3-dev | 14:33 | |
*** SteveA has joined #zope3-dev | 14:33 | |
*** rocky has joined #zope3-dev | 14:33 | |
*** mkerrin has joined #zope3-dev | 14:33 | |
*** pelle_ has joined #zope3-dev | 14:33 | |
*** harobed has joined #zope3-dev | 14:33 | |
*** sweh has joined #zope3-dev | 14:33 | |
*** gstratton has quit IRC | 14:33 | |
*** dokai has quit IRC | 14:33 | |
*** agroszer has quit IRC | 14:33 | |
*** tuxella_ has quit IRC | 14:33 | |
*** srichter has joined #zope3-dev | 14:33 | |
*** nouri has joined #zope3-dev | 14:33 | |
*** regebro has joined #zope3-dev | 14:33 | |
*** toutpt has joined #zope3-dev | 14:33 | |
*** gimni has joined #zope3-dev | 14:33 | |
*** huajie has joined #zope3-dev | 14:33 | |
*** ccomb has joined #zope3-dev | 14:33 | |
*** tlotze has joined #zope3-dev | 14:33 | |
*** chaoflow has joined #zope3-dev | 14:33 | |
*** jfroche has joined #zope3-dev | 14:33 | |
*** irc.freenode.net sets mode: +o srichter | 14:33 | |
*** d21 has joined #zope3-dev | 14:33 | |
*** gstratton has joined #zope3-dev | 14:33 | |
*** agroszer has joined #zope3-dev | 14:33 | |
*** tuxella_ has joined #zope3-dev | 14:33 | |
*** dokai has joined #zope3-dev | 14:33 | |
*** jinty has joined #zope3-dev | 14:34 | |
*** jpcw2002_ has joined #zope3-dev | 14:34 | |
*** zagy has joined #zope3-dev | 14:34 | |
*** dobee has joined #zope3-dev | 14:34 | |
*** afd_ has joined #zope3-dev | 14:34 | |
*** amit_am has joined #zope3-dev | 14:34 | |
*** vod has joined #zope3-dev | 14:34 | |
*** lisppaste6 has joined #zope3-dev | 14:34 | |
*** foodels has joined #zope3-dev | 14:34 | |
*** mubix has joined #zope3-dev | 14:34 | |
*** thruflo has quit IRC | 14:37 | |
*** huajie has quit IRC | 14:38 | |
*** MJ is now known as MJ|out | 14:44 | |
*** jsadjohnson has joined #zope3-dev | 14:45 | |
*** malthe has joined #zope3-dev | 14:46 | |
*** d2m has quit IRC | 14:50 | |
*** J1m has joined #zope3-dev | 14:55 | |
*** jinty has quit IRC | 14:59 | |
*** jinty has joined #zope3-dev | 14:59 | |
*** jinty has quit IRC | 15:00 | |
*** jinty_ has joined #zope3-dev | 15:00 | |
*** projet01_ has joined #zope3-dev | 15:02 | |
*** benji_ has joined #zope3-dev | 15:13 | |
*** zagy has quit IRC | 15:14 | |
*** toutpt has quit IRC | 15:15 | |
*** projekt01 has quit IRC | 15:20 | |
regebro | Hmmm. I just encoutered an interesting usecase... | 15:20 |
regebro | I have an adapter that I want to be used for objects that implement two specific interfaces. | 15:21 |
regebro | I.e, I want the object to implement both IAnInterface *and* IAnotherInterface. | 15:21 |
*** malthe has quit IRC | 15:22 | |
regebro | I can let the adapter adapt IAnInterface, and then make sure that they adapt IAnotehrInterface as well, with | 15:22 |
regebro | self.context=IAnotherInterface(context) in the __init__. | 15:23 |
*** philiKON has joined #zope3-dev | 15:26 | |
*** projet01_ is now known as projekt01 | 15:26 | |
*** rcrafton has quit IRC | 15:29 | |
*** zagy has joined #zope3-dev | 15:30 | |
*** jinty_ has quit IRC | 15:30 | |
*** jinty has joined #zope3-dev | 15:30 | |
mgedmin | regebro: is there something that prevents you from having a class ICombinedInterface(IAnInterface, IAnotherInterface) and having your adapter adapt ICombinedInterface? | 15:31 |
regebro | mgedmin: Yes. :) | 15:32 |
mgedmin | thought so :) | 15:32 |
tarek | Hi J1m i have a question about find-links in zc.buildout | 15:36 |
*** jinty has quit IRC | 15:36 | |
*** jinty has joined #zope3-dev | 15:36 | |
tarek | when i use it to point an egg on a subversion, let's say: | 15:36 |
tarek | find-links = http://mysvn/mypackage/tags/0.1#egg=mypackage-0.1 | 15:36 |
tarek | this created in my download-cache a folder called dist/0.1 | 15:37 |
tarek | so i get an IOError with my buildout | 15:37 |
*** jsadjohnson has quit IRC | 15:37 | |
tarek | is my find-link notation is wrong ? | 15:37 |
*** jinty has quit IRC | 15:38 | |
*** jsadjohnson has joined #zope3-dev | 15:38 | |
*** jinty has joined #zope3-dev | 15:38 | |
regebro | mgedmin: One of the interfaces is just a marker interface that needs to be toggable, that's basically why. | 15:38 |
mgedmin | aha | 15:39 |
mgedmin | hm | 15:39 |
mgedmin | how about IMarkerInterface(IAnInterface) then? | 15:39 |
*** mgedmin has quit IRC | 15:49 | |
*** mgedmin has joined #zope3-dev | 15:49 | |
*** MJ|out is now known as MJ | 15:53 | |
*** harobed has quit IRC | 15:54 | |
tarek | J1m, it works if i get rid of -0.1. I guess buildout should allow it since it is the standard notation IIRC | 15:55 |
regebro | mgedmin: No, because IMarkerInterface does not and should not inherit from IAnInterface. | 15:56 |
*** Aiste has quit IRC | 15:56 | |
regebro | My idea above seems to work fine though. | 15:56 |
regebro | mgedmin: A bit of more flesh: The marker interface is the interface that says "This event is a recurring event". | 15:57 |
*** thruflo has joined #zope3-dev | 15:57 | |
regebro | Which means it gets views and stuff. | 15:57 |
*** natea|busy has quit IRC | 15:57 | |
regebro | The view in turn gets an adapter, and there are different adapters for different event types. So far so good. | 15:58 |
regebro | But the adapter I need for the ATEvent uses annotations. | 15:59 |
regebro | So, I need that adapter to use an ATEvent that has annotations. | 15:59 |
regebro | So it becomes a "serial" adaptation. :) The adapter is registered for ATEvent, but it in turn does IAnnotation(context) before it does anything. :) | 16:00 |
regebro | Drawback: I can mark something as recurring even if it actually doens't support it. | 16:01 |
regebro | ah well. | 16:02 |
*** jinty has quit IRC | 16:03 | |
*** jinty_ has joined #zope3-dev | 16:03 | |
*** jinty_ has quit IRC | 16:05 | |
*** jinty has joined #zope3-dev | 16:06 | |
*** MJ is now known as MJ|out | 16:08 | |
*** niemeyer_ has joined #zope3-dev | 16:10 | |
*** thruflo_ has quit IRC | 16:12 | |
*** lucielejard has joined #zope3-dev | 16:12 | |
*** natea|boston has joined #zope3-dev | 16:13 | |
*** jodok has quit IRC | 16:15 | |
*** jodok has joined #zope3-dev | 16:16 | |
*** natea|boston is now known as natea | 16:16 | |
*** thruflo has quit IRC | 16:25 | |
*** niemeyer has quit IRC | 16:27 | |
*** philiKON has quit IRC | 16:28 | |
*** philiKON has joined #zope3-dev | 16:29 | |
*** romanofski has quit IRC | 16:29 | |
*** benji_ has quit IRC | 16:30 | |
Theuni_ | j1m: pong | 16:30 |
*** whit has joined #zope3-dev | 16:30 | |
*** benji_ has joined #zope3-dev | 16:32 | |
*** jinty_ has joined #zope3-dev | 16:34 | |
*** jinty has quit IRC | 16:34 | |
amit_am | z3c.widgets and z3c.form or inkompatible, right? | 16:36 |
*** run|home has joined #zope3-dev | 16:45 | |
srichter | amit_am: yes | 16:48 |
amit_am | ok, is this intended and there should be a new start for using tinymce with z3c.form? | 16:49 |
mgedmin | regebro: why shouldn't a IRecurringEvent marker interface inherit from the IEvent interface? | 16:50 |
mgedmin | ok, maybe I'm misunderstanding the problem | 16:51 |
regebro | mgedmin: Well... no. Because IRecurringevent is just a marker. Maybe I actualy should rename it IRecurringMarker. :) | 16:51 |
mgedmin | or maybe there's no problem because you've solved it already | 16:51 |
*** benji__ has joined #zope3-dev | 16:51 | |
regebro | And ATEvent doens't implement IEvent anyway. ;) | 16:51 |
*** benji__ is now known as benji | 16:52 | |
mgedmin | regebro: my understanding of marker interfaces says that 'class IMarkerInterface(ISomeOtherInterface): pass' is perfectly valid for markers that should only be applied on objects that already provide ISomeOtherInterface | 16:52 |
*** benji_ has quit IRC | 16:52 | |
benji | who benji__ | 16:52 |
regebro | mgedmin: Well, yeah, you are right about that. | 16:53 |
regebro | So it can inherit from IEvent. It doens't hurt anyway. | 16:53 |
*** __mac__ has quit IRC | 16:54 | |
regebro | But it doesn't help either, as the interfaces that I need the object to implement i IRecurrentEvent, IATEvent and IAnnotation. | 16:54 |
regebro | and IRecurrentEvent can't inherit from any of the other two. | 16:54 |
*** whit has quit IRC | 16:54 | |
*** jodok has quit IRC | 16:54 | |
regebro | And if fact, some to think of it, even this leaves out one of the interfaces involved. :) | 16:55 |
*** bung_vijay has joined #zope3-dev | 16:57 | |
*** mcdonc has joined #zope3-dev | 16:57 | |
*** jodok has joined #zope3-dev | 17:02 | |
mgedmin | I doubt you want the object to implement IAnnotation | 17:05 |
mgedmin | you want it to implement IAnnotatable | 17:05 |
*** jodok has quit IRC | 17:06 | |
mgedmin | hmm | 17:06 |
*** jodok has joined #zope3-dev | 17:06 | |
regebro | mgedmin: Yeah, that. | 17:06 |
mgedmin | fwiw if your adapter class has a __new__ that returns None when IAnnotations(context, None) is None, then, e.g. queryAdapter will act as if there was no adapter for your context | 17:06 |
mgedmin | I wonder if raising TypeError in __init__ has the same consequences or not | 17:07 |
*** niemeyer__ has joined #zope3-dev | 17:08 | |
regebro | mgedmin: I think so. | 17:08 |
regebro | queryAdapter raises a Type error if no adapter is found, right. Unless you provide None as a default? | 17:09 |
regebro | I tested that and it seems to work, at least. | 17:09 |
*** niemeyer_ has quit IRC | 17:09 | |
mgedmin | queryAdapter doesn't, it's getAdapter or IAdapter(context) that raises a TypeError | 17:09 |
mgedmin | queryAdapter or IAdapter(context, default) return the default | 17:10 |
*** MJ|out is now known as MJ | 17:11 | |
regebro | mgedmin: OK, then it doesn't have the same behaviour. | 17:11 |
regebro | Raising a TypeError in __init__, I mean. it makes queryAdapter raise an error too. | 17:12 |
mgedmin | okay | 17:13 |
mgedmin | although I admit that the thought of using __new__ makes me uneasy | 17:13 |
regebro | mgedmin: Yeah, me too. :) | 17:13 |
mgedmin | I'd probably create a global function getAdapter(context): if IAnnotations(context, None) is None: return None; else: return MyAdapter(context) | 17:14 |
mgedmin | one downside from a semi-available adapter like this | 17:14 |
mgedmin | is that if you have an adapter on IBaseInterface, and a more specific semi-adapter on ISubInterface, then you'll never get the base adapter | 17:14 |
mgedmin | you'll always get the more specific one or none at all, when the more-specific one returns None | 17:15 |
* mgedmin thinks this was too confusing | 17:15 | |
*** norro has joined #zope3-dev | 17:18 | |
*** niemeyer has joined #zope3-dev | 17:20 | |
J1m | Theuni_, ayt? | 17:25 |
Theuni_ | jup | 17:26 |
J1m | What do you think about the current state of zodb 3.8? | 17:27 |
Theuni_ | rc | 17:27 |
*** ghendi has quit IRC | 17:28 | |
Theuni_ | All bugs that I assumed were blocking a 3.8 release are done | 17:28 |
J1m | cool | 17:28 |
J1m | do you need help with the release? | 17:28 |
Theuni_ | the bugs i'm currently fiddling with are <= medium | 17:28 |
Theuni_ | As you did the betas I'd love if you could do the release. | 17:29 |
*** sorindregan has quit IRC | 17:29 | |
Theuni_ | (Hmm. Ok. That's your beloved counter argument *G) | 17:29 |
Theuni_ | Whoever does the most work can do even more =) | 17:29 |
Theuni_ | Honestly, I'd feel better if you did the release. I'm somewhat not trusting myself to that right now. | 17:30 |
*** toutpt has joined #zope3-dev | 17:30 | |
J1m | np, maybe I'll get this done this weekend. | 17:30 |
J1m | btw, I finally managed to get a 64-bit linux machine to test on. | 17:31 |
Theuni_ | yay! | 17:31 |
Theuni_ | I just found out that all core 2 duos are 64-bit actually | 17:31 |
Theuni_ | that means I actually have three different 64-bit machines around | 17:31 |
Theuni_ | only that i'm not running a 64-bit kernel on my notebook | 17:32 |
J1m | yes, this machine is an old core 2 duo laptop that got replaced by a mac. | 17:32 |
Theuni_ | :) | 17:32 |
Theuni_ | actually i wondered: shouldn't mac be a 64-bit platform then too? | 17:32 |
J1m | My mac is an older core duo. | 17:33 |
Theuni_ | ah | 17:33 |
Theuni_ | btw: notice the shiny tests i wrote for the file cache =) | 17:34 |
*** niemeyer__ has quit IRC | 17:34 | |
J1m | I saw them go by. I wasn't in a position to appreciate their gloss. | 17:35 |
Theuni_ | no problem. if you have some spare time (sic) I'd love to get some feedback. | 17:36 |
Theuni_ | I was writing them when I hunted alans bug | 17:36 |
*** nathany has joined #zope3-dev | 17:37 | |
J1m | I know. | 17:42 |
*** natea|boston has joined #zope3-dev | 17:42 | |
* mgedmin misread that as "alien bug" | 17:43 | |
Theuni_ | hehe | 17:45 |
Theuni_ | now i have to kill you as you found out the truth | 17:45 |
* Theuni_ implants an Alien into mgedmin | 17:45 | |
*** natea has quit IRC | 17:48 | |
mgedmin | so that's why roger started talking about 42-bit CPUs | 17:48 |
Theuni_ | 42-bit CPUs are Intels `Answer to Life, the Universe, and Everything` | 17:50 |
*** rcrafton has joined #zope3-dev | 17:50 | |
*** pelle_ has quit IRC | 17:50 | |
*** benji has quit IRC | 17:52 | |
*** amit_am has left #zope3-dev | 17:52 | |
*** jinty_ has quit IRC | 17:54 | |
*** jinty has joined #zope3-dev | 17:55 | |
*** benji_ has joined #zope3-dev | 17:55 | |
*** benji_ is now known as benji | 17:56 | |
*** malthe has joined #zope3-dev | 17:58 | |
*** afd__ has joined #zope3-dev | 18:04 | |
*** afd_ has quit IRC | 18:19 | |
*** whit has joined #zope3-dev | 18:27 | |
*** Rolando has quit IRC | 18:29 | |
*** J1m has quit IRC | 18:36 | |
*** J1m has joined #zope3-dev | 18:37 | |
*** J1m has joined #zope3-dev | 18:38 | |
*** stub has quit IRC | 18:45 | |
*** stub has joined #zope3-dev | 18:46 | |
*** bung_vijay has quit IRC | 18:47 | |
ccomb | Is there a convenient event I can use at startup to create a needed object? | 18:49 |
mgedmin | IDatabaseOpenedEvent, IIRC | 18:52 |
mgedmin | check out how zope.app.appsetup does it | 18:52 |
ccomb | that's it thanks, (I was just finding IObjectEvents) | 18:53 |
* ccomb wil add this one on the FAQ | 18:54 | |
mgedmin | check the spelling first | 18:54 |
mgedmin | I might have misremembered the name | 18:54 |
ccomb | I'll first make it work | 18:55 |
*** projekt01 has quit IRC | 18:55 | |
ccomb | or maybe IProcessStartingEvent | 18:56 |
*** gimni has quit IRC | 18:57 | |
*** jodok has quit IRC | 18:59 | |
*** quodt has quit IRC | 18:59 | |
*** jukart has quit IRC | 18:59 | |
*** dobee has quit IRC | 18:59 | |
*** jodok has joined #zope3-dev | 18:59 | |
*** quodt has joined #zope3-dev | 18:59 | |
*** dobee has joined #zope3-dev | 18:59 | |
*** jukart has joined #zope3-dev | 18:59 | |
*** jinty_ has joined #zope3-dev | 19:04 | |
*** jinty has quit IRC | 19:04 | |
ccomb | mgedmin actually the correct event is IDatabaseOpenedWithRoot | 19:07 |
mgedmin | that's why I told you to check :) | 19:08 |
ccomb | :) thanks again | 19:08 |
*** MJ has quit IRC | 19:09 | |
*** dobee has quit IRC | 19:15 | |
*** quodt has quit IRC | 19:17 | |
*** natea_ has joined #zope3-dev | 19:22 | |
*** natea|boston has quit IRC | 19:22 | |
*** jinty_ has quit IRC | 19:22 | |
*** jinty has joined #zope3-dev | 19:22 | |
*** jodok has quit IRC | 19:23 | |
*** toutpt has quit IRC | 19:25 | |
*** amit_am has joined #zope3-dev | 19:32 | |
*** alecm has joined #zope3-dev | 19:32 | |
*** jinty_ has joined #zope3-dev | 19:48 | |
*** jinty has quit IRC | 19:48 | |
*** natea_ has quit IRC | 19:48 | |
*** natea|boston has joined #zope3-dev | 19:49 | |
*** jukart has quit IRC | 19:50 | |
*** mcdonc has quit IRC | 20:03 | |
*** jinty has joined #zope3-dev | 20:04 | |
*** jinty_ has quit IRC | 20:04 | |
*** pbugni has joined #zope3-dev | 20:05 | |
*** jinty_ has joined #zope3-dev | 20:07 | |
*** jinty has quit IRC | 20:07 | |
*** jinty_ has quit IRC | 20:08 | |
*** jinty_ has joined #zope3-dev | 20:10 | |
*** jukart has joined #zope3-dev | 20:14 | |
*** jpcw2002_ has quit IRC | 20:16 | |
*** afd__ has quit IRC | 20:16 | |
*** afd__ has joined #zope3-dev | 20:16 | |
*** jinty_ has quit IRC | 20:19 | |
*** jinty has joined #zope3-dev | 20:19 | |
*** mgedmin has quit IRC | 20:25 | |
*** malthe has quit IRC | 20:25 | |
*** RaFromBRC has joined #zope3-dev | 20:33 | |
*** agroszer_ has joined #zope3-dev | 20:35 | |
*** mgedmin has joined #zope3-dev | 20:37 | |
*** mkerrin has quit IRC | 20:38 | |
*** Aiste has joined #zope3-dev | 20:41 | |
*** jinty_ has joined #zope3-dev | 20:47 | |
*** jinty has quit IRC | 20:47 | |
*** agroszer has quit IRC | 20:48 | |
*** natea|boston has quit IRC | 20:49 | |
*** natea|boston has joined #zope3-dev | 20:50 | |
*** gstratton has quit IRC | 20:52 | |
*** jukart has quit IRC | 21:04 | |
*** jukart has joined #zope3-dev | 21:06 | |
*** pelle_ has joined #zope3-dev | 21:10 | |
*** agroszer_ has quit IRC | 21:12 | |
*** jukart has quit IRC | 21:22 | |
*** jinty has joined #zope3-dev | 21:24 | |
*** jinty_ has quit IRC | 21:24 | |
*** tuxella_ is now known as tuxella | 21:28 | |
*** mgedmin has quit IRC | 21:29 | |
*** jinty has quit IRC | 21:34 | |
*** jinty has joined #zope3-dev | 21:34 | |
*** jinty_ has joined #zope3-dev | 21:42 | |
*** jinty has quit IRC | 21:42 | |
*** mcdonc has joined #zope3-dev | 21:50 | |
*** dunny has joined #zope3-dev | 21:56 | |
*** jinty_ has quit IRC | 22:01 | |
*** jinty has joined #zope3-dev | 22:01 | |
*** jinty has quit IRC | 22:03 | |
*** afd__ has quit IRC | 22:06 | |
*** tarek has quit IRC | 22:27 | |
*** mgedmin has joined #zope3-dev | 22:33 | |
*** jsadjohnson_ has joined #zope3-dev | 22:36 | |
*** dunny has quit IRC | 22:52 | |
*** Jell-O-Fishi has joined #zope3-dev | 22:55 | |
*** run|home has quit IRC | 22:59 | |
*** jsadjohnson has quit IRC | 23:01 | |
*** dunny has joined #zope3-dev | 23:01 | |
*** ignas has quit IRC | 23:09 | |
*** amit_am has quit IRC | 23:25 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!