*** junkafarian has joined #zope3-dev | 00:04 | |
*** aaronv has quit IRC | 00:08 | |
*** harobed has quit IRC | 00:17 | |
*** lucielejard has quit IRC | 00:17 | |
*** runyaga has joined #zope3-dev | 00:17 | |
*** iham has joined #zope3-dev | 00:43 | |
*** greenman has joined #zope3-dev | 00:46 | |
*** iham has quit IRC | 00:47 | |
*** MJ has quit IRC | 00:55 | |
*** junkafarian has quit IRC | 01:04 | |
*** benji has quit IRC | 01:07 | |
*** greenman has quit IRC | 01:07 | |
*** greenman has joined #zope3-dev | 01:09 | |
*** jamur2 has quit IRC | 01:10 | |
*** yota has quit IRC | 01:19 | |
*** romanofski has joined #zope3-dev | 01:29 | |
*** davisagli is now known as MacYET | 01:45 | |
*** MacYET is now known as davisagli | 01:45 | |
*** lurkymclurkleton has quit IRC | 01:46 | |
*** baijum has quit IRC | 01:49 | |
*** hazmat has joined #zope3-dev | 02:02 | |
*** ChanServ sets mode: +o hazmat | 02:02 | |
*** redir has quit IRC | 02:05 | |
*** J1m has quit IRC | 02:25 | |
*** redir has joined #zope3-dev | 02:33 | |
*** hazmat has quit IRC | 02:36 | |
*** hazmat has joined #zope3-dev | 02:36 | |
*** ChanServ sets mode: +o hazmat | 02:36 | |
*** nathany has quit IRC | 02:38 | |
*** romanofski has quit IRC | 02:39 | |
*** hazmat has quit IRC | 02:45 | |
*** hazmat has joined #zope3-dev | 02:45 | |
*** ChanServ sets mode: +o hazmat | 02:45 | |
*** romanofski has joined #zope3-dev | 02:46 | |
*** regebro has quit IRC | 02:59 | |
*** davisagli has quit IRC | 03:04 | |
*** strichter has quit IRC | 03:18 | |
*** redir has quit IRC | 04:18 | |
*** edgordon has quit IRC | 04:27 | |
*** danielblackburn_ has joined #zope3-dev | 04:47 | |
*** danielblackburn has quit IRC | 04:47 | |
*** djinni has quit IRC | 04:53 | |
*** djinni has joined #zope3-dev | 04:56 | |
*** strichter has joined #zope3-dev | 04:57 | |
*** rocky has quit IRC | 05:00 | |
*** alecm has quit IRC | 05:04 | |
*** andycat2 has joined #zope3-dev | 05:38 | |
*** andycat has quit IRC | 05:39 | |
*** andycat2 is now known as andycat | 05:40 | |
*** edgordon has joined #zope3-dev | 06:16 | |
*** andycat2 has joined #zope3-dev | 06:17 | |
*** andycat has quit IRC | 06:19 | |
*** andycat2 is now known as andycat | 06:19 | |
*** allisterb has quit IRC | 06:28 | |
*** redir has joined #zope3-dev | 06:38 | |
*** nathany has joined #zope3-dev | 06:47 | |
*** afd_ has joined #zope3-dev | 07:30 | |
*** redir has quit IRC | 07:40 | |
*** pcardune_vm_ has joined #zope3-dev | 08:01 | |
*** nathany has quit IRC | 08:02 | |
*** greenman has quit IRC | 08:11 | |
*** JaRoel|4D has quit IRC | 08:11 | |
*** basti__ has joined #zope3-dev | 08:34 | |
*** jukart has joined #zope3-dev | 08:45 | |
*** Theuni1 has left #zope3-dev | 08:48 | |
*** ktwilight has joined #zope3-dev | 08:53 | |
*** zagy has joined #zope3-dev | 09:01 | |
*** pelle_ has joined #zope3-dev | 09:05 | |
*** ktwilight_ has quit IRC | 09:07 | |
*** JaRoel|4D has joined #zope3-dev | 09:11 | |
*** basti__ has quit IRC | 09:11 | |
*** basti__ has joined #zope3-dev | 09:12 | |
*** davisagli has joined #zope3-dev | 09:13 | |
*** agroszer has joined #zope3-dev | 09:17 | |
*** davisagli has left #zope3-dev | 09:27 | |
*** stub has joined #zope3-dev | 09:29 | |
*** malthe has joined #zope3-dev | 09:33 | |
*** Theuni1 has joined #zope3-dev | 09:33 | |
*** quodt has joined #zope3-dev | 09:41 | |
*** quodt has quit IRC | 09:52 | |
*** zagy has quit IRC | 09:57 | |
*** zagy has joined #zope3-dev | 09:57 | |
*** edgordon has quit IRC | 09:59 | |
*** kursor has joined #zope3-dev | 10:02 | |
*** __mac__ has joined #zope3-dev | 10:09 | |
*** sm has quit IRC | 10:10 | |
*** MrTopf has joined #zope3-dev | 10:10 | |
*** mgedmin has joined #zope3-dev | 10:11 | |
*** mkerrin has joined #zope3-dev | 10:13 | |
*** jhauser has joined #zope3-dev | 10:15 | |
*** kursor has quit IRC | 10:18 | |
*** harobed has joined #zope3-dev | 10:20 | |
*** El_Rolando has joined #zope3-dev | 10:28 | |
*** iham has joined #zope3-dev | 10:33 | |
*** jayaraj has joined #zope3-dev | 10:33 | |
*** jpcw has joined #zope3-dev | 10:36 | |
*** romanofski has quit IRC | 10:38 | |
*** mkerrin has quit IRC | 10:41 | |
*** mkerrin has joined #zope3-dev | 10:47 | |
*** afd_ has quit IRC | 10:49 | |
*** kursor has joined #zope3-dev | 10:52 | |
*** Theuni1 has quit IRC | 10:52 | |
*** kursor has quit IRC | 10:52 | |
*** Theuni1 has joined #zope3-dev | 10:55 | |
*** kursor has joined #zope3-dev | 11:06 | |
*** iham has quit IRC | 11:09 | |
*** kursor has quit IRC | 11:14 | |
*** kursor has joined #zope3-dev | 11:15 | |
*** junkafarian has joined #zope3-dev | 11:17 | |
*** pcardune_vm_ has quit IRC | 11:18 | |
*** iham has joined #zope3-dev | 11:26 | |
*** MJ has joined #zope3-dev | 11:31 | |
*** iham has quit IRC | 11:33 | |
*** afd_ has joined #zope3-dev | 11:38 | |
*** MJ is now known as MJ|afk | 11:47 | |
*** greenman has joined #zope3-dev | 11:50 | |
*** nyo has joined #zope3-dev | 12:01 | |
*** danfairs has joined #zope3-dev | 12:05 | |
*** danfairs has quit IRC | 12:05 | |
*** alga has joined #zope3-dev | 12:27 | |
*** afd_ has quit IRC | 12:30 | |
*** jayaraj has quit IRC | 12:30 | |
*** fRiSi has joined #zope3-dev | 12:32 | |
*** MJ|afk is now known as MJ | 12:34 | |
*** jayaraj has joined #zope3-dev | 12:40 | |
*** stub has quit IRC | 12:41 | |
*** kaeru has quit IRC | 12:54 | |
*** __mac__ has quit IRC | 13:10 | |
*** kaeru has joined #zope3-dev | 13:12 | |
*** agroszer_ has joined #zope3-dev | 13:18 | |
*** agroszer has quit IRC | 13:20 | |
*** fcorrea has joined #zope3-dev | 13:24 | |
*** agroszer_ is now known as agroszer | 13:27 | |
*** fRiSi_ has joined #zope3-dev | 13:30 | |
*** fRiSi has quit IRC | 13:43 | |
*** menesis has joined #zope3-dev | 13:44 | |
*** greenman has quit IRC | 13:53 | |
*** __mac__ has joined #zope3-dev | 13:54 | |
*** stub has joined #zope3-dev | 14:00 | |
*** yotaff has joined #zope3-dev | 14:00 | |
*** alga has quit IRC | 14:02 | |
*** menesis has quit IRC | 14:06 | |
*** menesis has joined #zope3-dev | 14:06 | |
*** stub has quit IRC | 14:13 | |
*** stub has joined #zope3-dev | 14:13 | |
*** regebro has joined #zope3-dev | 14:14 | |
*** rocky has joined #zope3-dev | 14:24 | |
*** allisterb has joined #zope3-dev | 14:24 | |
*** hazmat has quit IRC | 14:25 | |
*** alga has joined #zope3-dev | 14:27 | |
*** Aiste has joined #zope3-dev | 14:29 | |
*** sawdog has joined #zope3-dev | 14:34 | |
regebro | OK, so zope.interface.implements already also comes as a decorator, called @implementer. | 14:37 |
---|---|---|
regebro | But what should zope.interface.implementsOnly be called as a decorator? | 14:37 |
regebro | I really don' | 14:37 |
regebro | don't like @implementerOnly. No grammar. :-D | 14:38 |
*** ignas has joined #zope3-dev | 14:41 | |
mgedmin | regebro: how about @implementer(only=ISomeFoo) | 14:45 |
mgedmin | also accept @implementer(only=[ISomeFoo, ISomeBar]) if you go that way | 14:45 |
regebro | mgedmin: Right, and that means different syntax from @implementer(ISomeFoo, ISomeBar) so I don | 14:46 |
regebro | don't like that either... | 14:46 |
mgedmin | @implementerOfOnly(ISomeFoo, ISomeBar) ? | 14:46 |
mgedmin | yuck | 14:46 |
regebro | Yeah, but I did think about @implementor_of(IFoo). | 14:47 |
regebro | But the difference between implementor and implementor_of is too subtle... | 14:47 |
regebro | mgedmin: And so on. :) Tricky stuff. | 14:47 |
regebro | @implementor_of_only is a candidate. | 14:48 |
regebro | It doens't matter that it's long, it's not used much. :) | 14:48 |
mgedmin | names_with_underlines_break_existing_zope_conventions | 14:48 |
*** projekt01 has joined #zope3-dev | 14:54 | |
*** redir has joined #zope3-dev | 14:56 | |
*** benji has joined #zope3-dev | 15:11 | |
*** menesis has quit IRC | 15:18 | |
*** fRiSi|lunch has joined #zope3-dev | 15:20 | |
regebro | mgedmin: namesWithCapitalsIsUnpythonic. :) | 15:20 |
*** iham has joined #zope3-dev | 15:24 | |
*** menesis has joined #zope3-dev | 15:26 | |
*** ignas has quit IRC | 15:28 | |
*** fRiSi_ has quit IRC | 15:35 | |
*** quodt has joined #zope3-dev | 15:42 | |
*** menesis has quit IRC | 15:45 | |
*** stub has quit IRC | 15:48 | |
*** menesis has joined #zope3-dev | 15:52 | |
*** pelle__ has joined #zope3-dev | 15:52 | |
*** jayaraj has quit IRC | 15:55 | |
*** kursor has quit IRC | 15:55 | |
*** nyo has quit IRC | 15:56 | |
*** nyo has joined #zope3-dev | 15:58 | |
*** pelle_ has quit IRC | 15:58 | |
*** jamur2 has joined #zope3-dev | 16:00 | |
*** lurkymclurkleton has joined #zope3-dev | 16:04 | |
*** baijum has joined #zope3-dev | 16:04 | |
*** ignas has joined #zope3-dev | 16:06 | |
*** aaronv has joined #zope3-dev | 16:08 | |
*** fRiSi|lunch has quit IRC | 16:11 | |
*** redir has quit IRC | 16:21 | |
mgedmin | regebro: true, but local consistency beats global consistency | 16:22 |
*** danielblackburn_ has quit IRC | 16:42 | |
*** danielblackburn has joined #zope3-dev | 16:42 | |
*** andycat has quit IRC | 16:50 | |
*** J1m has joined #zope3-dev | 16:55 | |
*** __mac__ has quit IRC | 17:01 | |
*** dunny has quit IRC | 17:08 | |
*** sm has joined #zope3-dev | 17:17 | |
*** redir has joined #zope3-dev | 17:26 | |
*** iham has quit IRC | 17:30 | |
*** malthe has quit IRC | 17:47 | |
*** nathany has joined #zope3-dev | 17:50 | |
*** jhauser has quit IRC | 17:54 | |
*** jayaraj has joined #zope3-dev | 17:56 | |
*** basti__ has quit IRC | 17:59 | |
*** jukart has quit IRC | 18:04 | |
*** JaRoel|4_ has joined #zope3-dev | 18:05 | |
*** cshenton has joined #zope3-dev | 18:10 | |
*** JaRoel|4_ has quit IRC | 18:21 | |
*** JaRoel|4D has quit IRC | 18:22 | |
*** El_Rolando has quit IRC | 18:26 | |
*** Aiste has quit IRC | 18:28 | |
*** jukart has joined #zope3-dev | 18:35 | |
*** danielblackburn has quit IRC | 18:39 | |
*** danielblackburn_ has joined #zope3-dev | 18:39 | |
*** iham has joined #zope3-dev | 18:40 | |
*** zagy has quit IRC | 18:43 | |
*** davisagli has joined #zope3-dev | 18:44 | |
*** baijum has quit IRC | 18:45 | |
*** baijum has joined #zope3-dev | 18:47 | |
*** baijum has quit IRC | 18:48 | |
*** davisagli has left #zope3-dev | 18:54 | |
*** jukart has quit IRC | 18:58 | |
*** quodt has quit IRC | 18:58 | |
*** redir_ has joined #zope3-dev | 19:00 | |
*** pelle__ has quit IRC | 19:01 | |
*** redir has quit IRC | 19:02 | |
*** vimes656 has joined #zope3-dev | 19:03 | |
*** jhauser has joined #zope3-dev | 19:05 | |
*** jpcw has left #zope3-dev | 19:06 | |
*** zagy has joined #zope3-dev | 19:07 | |
*** zagy has quit IRC | 19:08 | |
*** menesis has quit IRC | 19:10 | |
*** menesis1 has joined #zope3-dev | 19:10 | |
*** menesis1 is now known as menesis | 19:10 | |
*** BjornT has quit IRC | 19:11 | |
*** BjornT has joined #zope3-dev | 19:13 | |
*** JaRoel|4D has joined #zope3-dev | 19:13 | |
*** pcardune_vm_ has joined #zope3-dev | 19:17 | |
*** dunny has joined #zope3-dev | 19:20 | |
*** iham has quit IRC | 19:20 | |
*** pcardune_vm_ has quit IRC | 19:28 | |
*** projekt01 has quit IRC | 19:31 | |
*** dunny_ has joined #zope3-dev | 19:31 | |
*** menesis has quit IRC | 19:33 | |
*** davisagli has joined #zope3-dev | 19:35 | |
*** nyo has quit IRC | 19:36 | |
*** MJ has quit IRC | 19:36 | |
*** dunny has quit IRC | 19:40 | |
*** harobed has quit IRC | 19:43 | |
*** Theuni2 has joined #zope3-dev | 19:47 | |
*** BjornT has quit IRC | 19:47 | |
*** BjornT has joined #zope3-dev | 19:51 | |
*** Theuni2 has quit IRC | 19:51 | |
*** jukart has joined #zope3-dev | 19:53 | |
*** agroszer_ has joined #zope3-dev | 19:58 | |
*** agroszer has quit IRC | 19:58 | |
*** Theuni1 has quit IRC | 20:04 | |
*** redir_ has quit IRC | 20:05 | |
*** afd_ has joined #zope3-dev | 20:06 | |
*** strichter has quit IRC | 20:06 | |
*** strichter has joined #zope3-dev | 20:09 | |
*** alecm has joined #zope3-dev | 20:13 | |
*** redir has joined #zope3-dev | 20:13 | |
*** iham has joined #zope3-dev | 20:15 | |
*** jukart has quit IRC | 20:19 | |
*** menesis has joined #zope3-dev | 20:22 | |
*** harobed has joined #zope3-dev | 20:24 | |
*** jayaraj has quit IRC | 20:26 | |
*** zagy has joined #zope3-dev | 20:27 | |
*** iham has quit IRC | 20:31 | |
*** pcardune has quit IRC | 20:43 | |
*** pcardune has joined #zope3-dev | 20:44 | |
*** junkafarian has quit IRC | 20:45 | |
*** pcardune_ has joined #zope3-dev | 20:48 | |
*** strichter has quit IRC | 20:49 | |
*** pelle_ has joined #zope3-dev | 20:51 | |
*** kiorky has quit IRC | 20:53 | |
*** MrTopf has quit IRC | 20:55 | |
*** redir_ has joined #zope3-dev | 21:01 | |
*** brandon_rhodes has joined #zope3-dev | 21:06 | |
*** redir has quit IRC | 21:08 | |
*** afd_ has quit IRC | 21:11 | |
*** strichter has joined #zope3-dev | 21:20 | |
*** iham has joined #zope3-dev | 21:23 | |
*** pelle_ has quit IRC | 21:23 | |
*** menesis has quit IRC | 21:30 | |
*** mgedmin has quit IRC | 21:32 | |
*** Theuni1 has joined #zope3-dev | 21:34 | |
*** __mac__ has joined #zope3-dev | 21:35 | |
*** kiorky has joined #zope3-dev | 21:38 | |
*** iham has quit IRC | 21:43 | |
*** __mac__ has quit IRC | 21:44 | |
*** markusleist has quit IRC | 21:48 | |
*** ignas has quit IRC | 21:50 | |
*** J1m has quit IRC | 21:50 | |
*** alga has quit IRC | 21:53 | |
*** mkerrin has quit IRC | 22:00 | |
*** goschtl has joined #zope3-dev | 22:02 | |
*** afd_ has joined #zope3-dev | 22:02 | |
*** yotaff has quit IRC | 22:31 | |
*** pcardune has quit IRC | 22:32 | |
*** J1m has joined #zope3-dev | 22:33 | |
*** agroszer_ has quit IRC | 22:35 | |
*** alga has joined #zope3-dev | 22:39 | |
*** pelle_ has joined #zope3-dev | 22:40 | |
*** afd_ has quit IRC | 22:42 | |
*** junkafarian has joined #zope3-dev | 22:50 | |
*** lucielejard has joined #zope3-dev | 22:53 | |
*** pelle_ has quit IRC | 22:53 | |
*** junkafarian has quit IRC | 22:55 | |
*** adamhutton has joined #zope3-dev | 23:15 | |
*** mgedmin has joined #zope3-dev | 23:17 | |
*** adamhutton has left #zope3-dev | 23:19 | |
*** Theuni1 has quit IRC | 23:25 | |
*** Theuni1 has joined #zope3-dev | 23:25 | |
supton | zope.schema question: how does one prevent recursive validation when one has Object fields that create circular references? I have a case with two objects have parent/child relationship and references both ways, I get infinite recursion on validation. | 23:26 |
*** goschtl has quit IRC | 23:26 | |
mgedmin | whee | 23:30 |
mgedmin | I once read an insightful blog post about how "validation" is meaningless without context | 23:30 |
mgedmin | you usually want different kinds of validations for different use cases | 23:30 |
mgedmin | anyway, I would suggest that you relax your validation constraints | 23:31 |
mgedmin | and perhaps do the validation later | 23:31 |
mgedmin | how exactly does your code look? (hint: pastebin) | 23:32 |
*** junkafarian has joined #zope3-dev | 23:34 | |
supton | mgedmin: uses zope.schema.fieldproperty.FieldProperty, will paste trivial example in a minute | 23:35 |
mgedmin | ahh | 23:36 |
mgedmin | paste the interfaces please | 23:36 |
lisppaste6 | supton pasted "crazy recursive validation" at http://paste.lisp.org/display/78200 | 23:46 |
supton | strangely, relaxing IContainerish['children'].value_type.schema to Interface prevents this | 23:47 |
supton | which leads me to think this is some crazy edge case | 23:47 |
supton | and I just want to short-circuit validation somewhere | 23:47 |
supton | likely on the parent field, maybe make that an Attribute on the interface instead of a schema field | 23:48 |
supton | (or not use FieldProperty) | 23:48 |
supton | the latter seems cleaner, since I should not have to change the interface just to tweak implementation bevavior | 23:48 |
supton | behavior | 23:48 |
*** greenman has joined #zope3-dev | 23:59 | |
mgedmin | I believe Interface.providedBy(None) is True | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!