IRC log of #zope3-dev for Tuesday, 2009-04-07

*** junkafarian has joined #zope3-dev00:04
*** aaronv has quit IRC00:08
*** harobed has quit IRC00:17
*** lucielejard has quit IRC00:17
*** runyaga has joined #zope3-dev00:17
*** iham has joined #zope3-dev00:43
*** greenman has joined #zope3-dev00:46
*** iham has quit IRC00:47
*** MJ has quit IRC00:55
*** junkafarian has quit IRC01:04
*** benji has quit IRC01:07
*** greenman has quit IRC01:07
*** greenman has joined #zope3-dev01:09
*** jamur2 has quit IRC01:10
*** yota has quit IRC01:19
*** romanofski has joined #zope3-dev01:29
*** davisagli is now known as MacYET01:45
*** MacYET is now known as davisagli01:45
*** lurkymclurkleton has quit IRC01:46
*** baijum has quit IRC01:49
*** hazmat has joined #zope3-dev02:02
*** ChanServ sets mode: +o hazmat02:02
*** redir has quit IRC02:05
*** J1m has quit IRC02:25
*** redir has joined #zope3-dev02:33
*** hazmat has quit IRC02:36
*** hazmat has joined #zope3-dev02:36
*** ChanServ sets mode: +o hazmat02:36
*** nathany has quit IRC02:38
*** romanofski has quit IRC02:39
*** hazmat has quit IRC02:45
*** hazmat has joined #zope3-dev02:45
*** ChanServ sets mode: +o hazmat02:45
*** romanofski has joined #zope3-dev02:46
*** regebro has quit IRC02:59
*** davisagli has quit IRC03:04
*** strichter has quit IRC03:18
*** redir has quit IRC04:18
*** edgordon has quit IRC04:27
*** danielblackburn_ has joined #zope3-dev04:47
*** danielblackburn has quit IRC04:47
*** djinni has quit IRC04:53
*** djinni has joined #zope3-dev04:56
*** strichter has joined #zope3-dev04:57
*** rocky has quit IRC05:00
*** alecm has quit IRC05:04
*** andycat2 has joined #zope3-dev05:38
*** andycat has quit IRC05:39
*** andycat2 is now known as andycat05:40
*** edgordon has joined #zope3-dev06:16
*** andycat2 has joined #zope3-dev06:17
*** andycat has quit IRC06:19
*** andycat2 is now known as andycat06:19
*** allisterb has quit IRC06:28
*** redir has joined #zope3-dev06:38
*** nathany has joined #zope3-dev06:47
*** afd_ has joined #zope3-dev07:30
*** redir has quit IRC07:40
*** pcardune_vm_ has joined #zope3-dev08:01
*** nathany has quit IRC08:02
*** greenman has quit IRC08:11
*** JaRoel|4D has quit IRC08:11
*** basti__ has joined #zope3-dev08:34
*** jukart has joined #zope3-dev08:45
*** Theuni1 has left #zope3-dev08:48
*** ktwilight has joined #zope3-dev08:53
*** zagy has joined #zope3-dev09:01
*** pelle_ has joined #zope3-dev09:05
*** ktwilight_ has quit IRC09:07
*** JaRoel|4D has joined #zope3-dev09:11
*** basti__ has quit IRC09:11
*** basti__ has joined #zope3-dev09:12
*** davisagli has joined #zope3-dev09:13
*** agroszer has joined #zope3-dev09:17
*** davisagli has left #zope3-dev09:27
*** stub has joined #zope3-dev09:29
*** malthe has joined #zope3-dev09:33
*** Theuni1 has joined #zope3-dev09:33
*** quodt has joined #zope3-dev09:41
*** quodt has quit IRC09:52
*** zagy has quit IRC09:57
*** zagy has joined #zope3-dev09:57
*** edgordon has quit IRC09:59
*** kursor has joined #zope3-dev10:02
*** __mac__ has joined #zope3-dev10:09
*** sm has quit IRC10:10
*** MrTopf has joined #zope3-dev10:10
*** mgedmin has joined #zope3-dev10:11
*** mkerrin has joined #zope3-dev10:13
*** jhauser has joined #zope3-dev10:15
*** kursor has quit IRC10:18
*** harobed has joined #zope3-dev10:20
*** El_Rolando has joined #zope3-dev10:28
*** iham has joined #zope3-dev10:33
*** jayaraj has joined #zope3-dev10:33
*** jpcw has joined #zope3-dev10:36
*** romanofski has quit IRC10:38
*** mkerrin has quit IRC10:41
*** mkerrin has joined #zope3-dev10:47
*** afd_ has quit IRC10:49
*** kursor has joined #zope3-dev10:52
*** Theuni1 has quit IRC10:52
*** kursor has quit IRC10:52
*** Theuni1 has joined #zope3-dev10:55
*** kursor has joined #zope3-dev11:06
*** iham has quit IRC11:09
*** kursor has quit IRC11:14
*** kursor has joined #zope3-dev11:15
*** junkafarian has joined #zope3-dev11:17
*** pcardune_vm_ has quit IRC11:18
*** iham has joined #zope3-dev11:26
*** MJ has joined #zope3-dev11:31
*** iham has quit IRC11:33
*** afd_ has joined #zope3-dev11:38
*** MJ is now known as MJ|afk11:47
*** greenman has joined #zope3-dev11:50
*** nyo has joined #zope3-dev12:01
*** danfairs has joined #zope3-dev12:05
*** danfairs has quit IRC12:05
*** alga has joined #zope3-dev12:27
*** afd_ has quit IRC12:30
*** jayaraj has quit IRC12:30
*** fRiSi has joined #zope3-dev12:32
*** MJ|afk is now known as MJ12:34
*** jayaraj has joined #zope3-dev12:40
*** stub has quit IRC12:41
*** kaeru has quit IRC12:54
*** __mac__ has quit IRC13:10
*** kaeru has joined #zope3-dev13:12
*** agroszer_ has joined #zope3-dev13:18
*** agroszer has quit IRC13:20
*** fcorrea has joined #zope3-dev13:24
*** agroszer_ is now known as agroszer13:27
*** fRiSi_ has joined #zope3-dev13:30
*** fRiSi has quit IRC13:43
*** menesis has joined #zope3-dev13:44
*** greenman has quit IRC13:53
*** __mac__ has joined #zope3-dev13:54
*** stub has joined #zope3-dev14:00
*** yotaff has joined #zope3-dev14:00
*** alga has quit IRC14:02
*** menesis has quit IRC14:06
*** menesis has joined #zope3-dev14:06
*** stub has quit IRC14:13
*** stub has joined #zope3-dev14:13
*** regebro has joined #zope3-dev14:14
*** rocky has joined #zope3-dev14:24
*** allisterb has joined #zope3-dev14:24
*** hazmat has quit IRC14:25
*** alga has joined #zope3-dev14:27
*** Aiste has joined #zope3-dev14:29
*** sawdog has joined #zope3-dev14:34
regebroOK, so zope.interface.implements already also comes as a decorator, called @implementer.14:37
regebroBut what should zope.interface.implementsOnly be called as a decorator?14:37
regebroI really don'14:37
regebrodon't like @implementerOnly. No grammar. :-D14:38
*** ignas has joined #zope3-dev14:41
mgedminregebro: how about @implementer(only=ISomeFoo)14:45
mgedminalso accept @implementer(only=[ISomeFoo, ISomeBar]) if you go that way14:45
regebromgedmin: Right, and that means different syntax from @implementer(ISomeFoo, ISomeBar) so I don14:46
regebrodon't like that either...14:46
mgedmin@implementerOfOnly(ISomeFoo, ISomeBar) ?14:46
mgedminyuck14:46
regebroYeah, but I did think about @implementor_of(IFoo).14:47
regebroBut the difference between implementor and implementor_of is too subtle...14:47
regebromgedmin: And so on. :) Tricky stuff.14:47
regebro@implementor_of_only is a candidate.14:48
regebroIt doens't matter that it's long, it's not used much. :)14:48
mgedminnames_with_underlines_break_existing_zope_conventions14:48
*** projekt01 has joined #zope3-dev14:54
*** redir has joined #zope3-dev14:56
*** benji has joined #zope3-dev15:11
*** menesis has quit IRC15:18
*** fRiSi|lunch has joined #zope3-dev15:20
regebromgedmin: namesWithCapitalsIsUnpythonic. :)15:20
*** iham has joined #zope3-dev15:24
*** menesis has joined #zope3-dev15:26
*** ignas has quit IRC15:28
*** fRiSi_ has quit IRC15:35
*** quodt has joined #zope3-dev15:42
*** menesis has quit IRC15:45
*** stub has quit IRC15:48
*** menesis has joined #zope3-dev15:52
*** pelle__ has joined #zope3-dev15:52
*** jayaraj has quit IRC15:55
*** kursor has quit IRC15:55
*** nyo has quit IRC15:56
*** nyo has joined #zope3-dev15:58
*** pelle_ has quit IRC15:58
*** jamur2 has joined #zope3-dev16:00
*** lurkymclurkleton has joined #zope3-dev16:04
*** baijum has joined #zope3-dev16:04
*** ignas has joined #zope3-dev16:06
*** aaronv has joined #zope3-dev16:08
*** fRiSi|lunch has quit IRC16:11
*** redir has quit IRC16:21
mgedminregebro: true, but local consistency beats global consistency16:22
*** danielblackburn_ has quit IRC16:42
*** danielblackburn has joined #zope3-dev16:42
*** andycat has quit IRC16:50
*** J1m has joined #zope3-dev16:55
*** __mac__ has quit IRC17:01
*** dunny has quit IRC17:08
*** sm has joined #zope3-dev17:17
*** redir has joined #zope3-dev17:26
*** iham has quit IRC17:30
*** malthe has quit IRC17:47
*** nathany has joined #zope3-dev17:50
*** jhauser has quit IRC17:54
*** jayaraj has joined #zope3-dev17:56
*** basti__ has quit IRC17:59
*** jukart has quit IRC18:04
*** JaRoel|4_ has joined #zope3-dev18:05
*** cshenton has joined #zope3-dev18:10
*** JaRoel|4_ has quit IRC18:21
*** JaRoel|4D has quit IRC18:22
*** El_Rolando has quit IRC18:26
*** Aiste has quit IRC18:28
*** jukart has joined #zope3-dev18:35
*** danielblackburn has quit IRC18:39
*** danielblackburn_ has joined #zope3-dev18:39
*** iham has joined #zope3-dev18:40
*** zagy has quit IRC18:43
*** davisagli has joined #zope3-dev18:44
*** baijum has quit IRC18:45
*** baijum has joined #zope3-dev18:47
*** baijum has quit IRC18:48
*** davisagli has left #zope3-dev18:54
*** jukart has quit IRC18:58
*** quodt has quit IRC18:58
*** redir_ has joined #zope3-dev19:00
*** pelle__ has quit IRC19:01
*** redir has quit IRC19:02
*** vimes656 has joined #zope3-dev19:03
*** jhauser has joined #zope3-dev19:05
*** jpcw has left #zope3-dev19:06
*** zagy has joined #zope3-dev19:07
*** zagy has quit IRC19:08
*** menesis has quit IRC19:10
*** menesis1 has joined #zope3-dev19:10
*** menesis1 is now known as menesis19:10
*** BjornT has quit IRC19:11
*** BjornT has joined #zope3-dev19:13
*** JaRoel|4D has joined #zope3-dev19:13
*** pcardune_vm_ has joined #zope3-dev19:17
*** dunny has joined #zope3-dev19:20
*** iham has quit IRC19:20
*** pcardune_vm_ has quit IRC19:28
*** projekt01 has quit IRC19:31
*** dunny_ has joined #zope3-dev19:31
*** menesis has quit IRC19:33
*** davisagli has joined #zope3-dev19:35
*** nyo has quit IRC19:36
*** MJ has quit IRC19:36
*** dunny has quit IRC19:40
*** harobed has quit IRC19:43
*** Theuni2 has joined #zope3-dev19:47
*** BjornT has quit IRC19:47
*** BjornT has joined #zope3-dev19:51
*** Theuni2 has quit IRC19:51
*** jukart has joined #zope3-dev19:53
*** agroszer_ has joined #zope3-dev19:58
*** agroszer has quit IRC19:58
*** Theuni1 has quit IRC20:04
*** redir_ has quit IRC20:05
*** afd_ has joined #zope3-dev20:06
*** strichter has quit IRC20:06
*** strichter has joined #zope3-dev20:09
*** alecm has joined #zope3-dev20:13
*** redir has joined #zope3-dev20:13
*** iham has joined #zope3-dev20:15
*** jukart has quit IRC20:19
*** menesis has joined #zope3-dev20:22
*** harobed has joined #zope3-dev20:24
*** jayaraj has quit IRC20:26
*** zagy has joined #zope3-dev20:27
*** iham has quit IRC20:31
*** pcardune has quit IRC20:43
*** pcardune has joined #zope3-dev20:44
*** junkafarian has quit IRC20:45
*** pcardune_ has joined #zope3-dev20:48
*** strichter has quit IRC20:49
*** pelle_ has joined #zope3-dev20:51
*** kiorky has quit IRC20:53
*** MrTopf has quit IRC20:55
*** redir_ has joined #zope3-dev21:01
*** brandon_rhodes has joined #zope3-dev21:06
*** redir has quit IRC21:08
*** afd_ has quit IRC21:11
*** strichter has joined #zope3-dev21:20
*** iham has joined #zope3-dev21:23
*** pelle_ has quit IRC21:23
*** menesis has quit IRC21:30
*** mgedmin has quit IRC21:32
*** Theuni1 has joined #zope3-dev21:34
*** __mac__ has joined #zope3-dev21:35
*** kiorky has joined #zope3-dev21:38
*** iham has quit IRC21:43
*** __mac__ has quit IRC21:44
*** markusleist has quit IRC21:48
*** ignas has quit IRC21:50
*** J1m has quit IRC21:50
*** alga has quit IRC21:53
*** mkerrin has quit IRC22:00
*** goschtl has joined #zope3-dev22:02
*** afd_ has joined #zope3-dev22:02
*** yotaff has quit IRC22:31
*** pcardune has quit IRC22:32
*** J1m has joined #zope3-dev22:33
*** agroszer_ has quit IRC22:35
*** alga has joined #zope3-dev22:39
*** pelle_ has joined #zope3-dev22:40
*** afd_ has quit IRC22:42
*** junkafarian has joined #zope3-dev22:50
*** lucielejard has joined #zope3-dev22:53
*** pelle_ has quit IRC22:53
*** junkafarian has quit IRC22:55
*** adamhutton has joined #zope3-dev23:15
*** mgedmin has joined #zope3-dev23:17
*** adamhutton has left #zope3-dev23:19
*** Theuni1 has quit IRC23:25
*** Theuni1 has joined #zope3-dev23:25
suptonzope.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 IRC23:26
mgedminwhee23:30
mgedminI once read an insightful blog post about how "validation" is meaningless without context23:30
mgedminyou usually want different kinds of validations for different use cases23:30
mgedminanyway, I would suggest that you relax your validation constraints23:31
mgedminand perhaps do the validation later23:31
mgedminhow exactly does your code look? (hint: pastebin)23:32
*** junkafarian has joined #zope3-dev23:34
suptonmgedmin: uses zope.schema.fieldproperty.FieldProperty, will paste trivial example in a minute23:35
mgedminahh23:36
mgedminpaste the interfaces please23:36
lisppaste6supton pasted "crazy recursive validation" at http://paste.lisp.org/display/7820023:46
suptonstrangely, relaxing IContainerish['children'].value_type.schema to Interface prevents this23:47
suptonwhich leads me to think this is some crazy edge case23:47
suptonand I just want to short-circuit validation somewhere23:47
suptonlikely on the parent field, maybe make that an Attribute on the interface instead of a schema field23:48
supton(or not use FieldProperty)23:48
suptonthe latter seems cleaner, since I should not have to change the interface just to tweak implementation bevavior23:48
suptonbehavior23:48
*** greenman has joined #zope3-dev23:59
mgedminI believe Interface.providedBy(None) is True23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!