IRC log of #zope3-dev for Thursday, 2007-11-01

*** rmarianski has quit IRC00:02
*** J1m has quit IRC00:04
*** davidstryker has quit IRC00:05
*** regebro has left #zope3-dev00:25
*** replicant has joined #zope3-dev00:26
*** TresEquis has quit IRC00:27
*** MrTopf has joined #zope3-dev00:36
*** whitmo has joined #zope3-dev00:38
*** jsadjohnson has quit IRC00:39
*** afd__ has quit IRC00:40
*** whit has quit IRC00:46
*** RaFromBRC|lunch has quit IRC00:48
*** RaFromBRC has joined #zope3-dev00:48
*** Pan] has quit IRC00:53
*** ignas has quit IRC00:55
*** stu1 has quit IRC00:55
*** Ariel_Calzada has joined #zope3-dev01:08
*** nathany has quit IRC01:11
*** danfairs has quit IRC01:19
*** fcorrea has quit IRC01:20
*** bigkevmcd has quit IRC01:25
*** alga has quit IRC01:26
*** Ariel_Calzada has quit IRC01:35
*** niemeyer_ has quit IRC01:36
*** alecm has quit IRC01:43
*** alecm has joined #zope3-dev01:44
*** pbugni has quit IRC01:51
*** Ariel_Calzada has joined #zope3-dev02:00
*** roym has joined #zope3-dev02:11
*** roym has left #zope3-dev02:11
*** huajie has joined #zope3-dev02:20
*** ccomb has joined #zope3-dev02:21
*** malthe has joined #zope3-dev02:24
*** whit has joined #zope3-dev02:33
*** malthe has quit IRC02:35
*** whitmo has quit IRC02:48
*** philiKON has quit IRC02:49
*** pcardune has quit IRC03:02
*** replicant has quit IRC03:12
*** replicant has joined #zope3-dev03:12
*** TresEquis has joined #zope3-dev03:15
*** pcardune has joined #zope3-dev03:20
*** huajie_ has joined #zope3-dev03:24
*** huajie has quit IRC03:24
*** niemeyer has joined #zope3-dev03:25
*** pcardune has quit IRC03:27
*** huajie_ has quit IRC03:46
*** pcardune has joined #zope3-dev03:51
*** greenman has quit IRC03:57
*** MrTopf has quit IRC03:57
*** greenman has joined #zope3-dev04:03
*** b52lap has quit IRC04:05
*** RaFromBRC has quit IRC04:30
*** redir has joined #zope3-dev04:36
*** rmarianski has joined #zope3-dev04:37
*** redir has quit IRC04:42
*** niemeyer has quit IRC04:57
*** rmarianski has quit IRC05:03
*** tarek has quit IRC05:05
*** baijum changes topic to "Zope 3.4.0b1 is out: http://www.zope.org/Products/Zope3/3.4.0b1 | Paste: http://paste.lisp.org/new/zope3-dev | Zope 3.4 bugs: http://tinyurl.com/yvyeo5 | bugs: https://bugs.launchpad.net/zope3/ | FAQ: http://wiki.zope.org/zope3/FAQ | wiki: http://wiki.zope.org/zope3 | irc logs: http://zope3.pov.lt/irclogs/ | Like gardening ? join us here: http://wiki.zope.org/zope3/WikiGarden"05:24
*** Ariel_Calzada has quit IRC05:33
*** fdrake has joined #zope3-dev06:10
fdrakeThe Zope 3 mega checkout still refers to zope.app.securitypolicy.zopepolicy.ZopeSecurityPolicy from ZCML; is there any reason for this not to use zope.securitypolicy.zopepolicy.ZopeSecurityPolicy?  Are the trunks of all the referring packages still using the old location, or has the Zope 3 mega-checkout just not been updated?06:12
* fdrake continues his hatred of deprecation warnings...06:12
*** bung_vijay_ has joined #zope3-dev06:28
*** ktwilight_ has joined #zope3-dev06:40
*** bung_vijay_ has quit IRC06:49
*** bung_vijay has joined #zope3-dev06:49
*** pcardune has quit IRC06:51
*** ktwilight has quit IRC06:54
*** fdrake has left #zope3-dev07:01
baijumfdrake, trunk is not update, two days back I updated 3.4 branch07:05
baijum*updated07:05
*** bung_vijay has quit IRC07:15
*** bung_vijay has joined #zope3-dev07:24
*** cursor has joined #zope3-dev07:26
*** bung_vijay__ has joined #zope3-dev07:46
*** bung_vijay has quit IRC07:47
*** aclark is now known as aclark|away07:56
*** hdima has joined #zope3-dev08:14
*** greenman has quit IRC08:23
*** rcrafton has quit IRC08:24
*** bung_vijay__ has quit IRC08:25
*** alecm has left #zope3-dev08:26
*** greenman has joined #zope3-dev08:33
*** sorin has joined #zope3-dev08:34
*** sorin is now known as sorindregan08:34
*** timte has joined #zope3-dev09:03
*** baijum has quit IRC09:13
*** cursor has quit IRC09:26
*** cursor has joined #zope3-dev09:27
*** romanofski has joined #zope3-dev09:30
*** romanofski has quit IRC09:32
*** romanofski has joined #zope3-dev09:32
romanofskimoin :)09:34
*** philiKON has joined #zope3-dev09:34
*** malthe has joined #zope3-dev09:37
*** tarek has joined #zope3-dev10:07
*** lisppaste6 has quit IRC10:07
*** pelle__ has joined #zope3-dev10:14
*** malthe has quit IRC10:17
*** tarek_ has joined #zope3-dev10:33
*** pelle__ has quit IRC10:34
*** tarek has quit IRC10:35
*** jukart has joined #zope3-dev10:40
*** regebro has joined #zope3-dev10:45
*** jukart has quit IRC10:47
*** markusleist has joined #zope3-dev10:52
*** gstratton has joined #zope3-dev10:53
*** MJ has joined #zope3-dev10:53
* MJ is at the sprint10:55
MJ:-)10:55
MJignore that, wrong channel10:55
MJ:-)10:55
*** MJ is now known as MJ|sprint10:56
*** afd__ has joined #zope3-dev10:57
*** gstratton has quit IRC11:03
*** cursor_ has joined #zope3-dev11:04
*** cursor has quit IRC11:04
*** pelle__ has joined #zope3-dev11:04
*** ignas has joined #zope3-dev11:08
*** salfield has quit IRC11:23
*** pelle_ has joined #zope3-dev11:33
*** pelle_ has quit IRC11:38
*** pelle_ has joined #zope3-dev11:40
*** pelle_ has quit IRC11:49
*** pelle__ has quit IRC11:50
*** pelle_ has joined #zope3-dev11:50
*** acsr has joined #zope3-dev12:03
*** dokai has quit IRC12:04
*** dokai has joined #zope3-dev12:04
*** thruflo has joined #zope3-dev12:06
*** thruflo is now known as thru|flo12:11
*** afd__ has quit IRC12:16
*** thru|flo is now known as thruflo12:17
*** norro has joined #zope3-dev12:26
*** huajie has joined #zope3-dev12:29
*** jsadjohnson has joined #zope3-dev12:38
*** greenman has quit IRC12:43
*** amaron has joined #zope3-dev12:45
*** malthe has joined #zope3-dev12:51
*** quodt has joined #zope3-dev12:58
*** b52laptop has joined #zope3-dev12:59
*** jinty has joined #zope3-dev13:01
*** thruflo has quit IRC13:02
*** philiKON has quit IRC13:04
*** quodt_ has joined #zope3-dev13:07
*** TresEquis has quit IRC13:08
*** thruflo has joined #zope3-dev13:20
*** Ariel_Calzada has joined #zope3-dev13:21
*** quodt has quit IRC13:24
*** quodt has joined #zope3-dev13:29
*** jinty has quit IRC13:38
*** jinty has joined #zope3-dev13:38
*** deo has joined #zope3-dev13:39
*** ignas has quit IRC13:43
*** quodt_ has quit IRC13:47
*** quodt_ has joined #zope3-dev13:48
*** agroszer has joined #zope3-dev13:53
*** afd__ has joined #zope3-dev13:53
*** mkerrin has joined #zope3-dev13:53
*** rcrafton has joined #zope3-dev14:00
*** quodt has quit IRC14:06
*** schwendinger has joined #zope3-dev14:10
*** yvl has joined #zope3-dev14:13
*** benji has joined #zope3-dev14:20
*** davidstryker has joined #zope3-dev14:20
*** huajie has quit IRC14:20
*** hazmat has joined #zope3-dev14:22
*** ChanServ sets mode: +o hazmat14:22
*** harobed has joined #zope3-dev14:24
*** rcrafton has quit IRC14:33
*** stub has joined #zope3-dev14:39
*** jinty has quit IRC14:42
*** J1m has joined #zope3-dev14:45
*** jinty has joined #zope3-dev14:52
*** jinty_ has joined #zope3-dev14:55
*** bigkevmcd has joined #zope3-dev15:02
*** jinty__ has joined #zope3-dev15:04
*** jinty_ has quit IRC15:05
*** jinty__ has quit IRC15:06
*** jinty has quit IRC15:13
*** MJ|sprint has quit IRC15:16
*** MJ|nickcollision has joined #zope3-dev15:16
*** MJ|nickcollision has joined #zope3-dev15:17
*** MJ|nickcollision is now known as MJ15:18
*** markusleist has quit IRC15:19
*** Ariel_Calzada has quit IRC15:20
*** alga has joined #zope3-dev15:21
*** Ariel_Calzada has joined #zope3-dev15:21
*** ignas has joined #zope3-dev15:23
*** MJ|nickcollision has joined #zope3-dev15:24
*** MJ|nickcollision has quit IRC15:25
*** MJ|nickcollision has joined #zope3-dev15:25
*** MJ has quit IRC15:26
*** MJ|nickcollision is now known as MJ15:26
*** MJ has joined #zope3-dev15:27
*** MJ|nickcollision has joined #zope3-dev15:29
*** MJ has quit IRC15:30
*** MJ|nickcollision is now known as MJ15:30
*** lisppaste6 has joined #zope3-dev15:30
*** danfairs has joined #zope3-dev15:39
*** MJ has joined #zope3-dev15:41
*** MJ has quit IRC15:47
*** MJ has joined #zope3-dev15:54
*** niemeyer has joined #zope3-dev15:59
*** MJ|nickcollision has joined #zope3-dev16:02
*** MJ|nickcollision has joined #zope3-dev16:02
*** MJ|nickcollision has joined #zope3-dev16:04
*** MJ|away has joined #zope3-dev16:06
*** MJ has quit IRC16:07
*** MJ|away is now known as MJ16:07
*** davidstryker has quit IRC16:08
*** djk001 has joined #zope3-dev16:09
*** cursor has joined #zope3-dev16:11
*** rcrafton has joined #zope3-dev16:14
*** cursor_ has quit IRC16:15
*** cursor_ has joined #zope3-dev16:15
*** cursor has quit IRC16:15
*** rmarianski has joined #zope3-dev16:19
*** J1m has quit IRC16:25
*** MJ|nickcollision has quit IRC16:26
*** quodt has joined #zope3-dev16:31
*** jinty has joined #zope3-dev16:35
*** thruflo_ has joined #zope3-dev16:36
*** thruflo has quit IRC16:36
*** rcrafton_ has joined #zope3-dev16:40
*** rcrafton__ has joined #zope3-dev16:42
*** quodt_ has quit IRC16:49
*** schwendinger has quit IRC16:53
*** aclark|away is now known as aclark16:55
*** rcrafton_ has quit IRC16:56
*** rcrafton has quit IRC16:56
*** pcardune has joined #zope3-dev17:01
*** pcardune has joined #zope3-dev17:02
*** reco has joined #zope3-dev17:06
*** hdima has quit IRC17:19
*** Ariel_Calzada has quit IRC17:20
*** pcardune has quit IRC17:26
*** alecm has joined #zope3-dev17:28
*** pcardune has joined #zope3-dev17:29
*** faassen has joined #zope3-dev17:29
*** sorindregan has quit IRC17:30
*** thruflo has joined #zope3-dev17:32
*** J1m has joined #zope3-dev17:32
*** markusleist has joined #zope3-dev17:33
*** J1m has quit IRC17:35
*** deo has quit IRC17:39
*** pcardune has quit IRC17:39
*** dobee has joined #zope3-dev17:41
*** thruflo has quit IRC17:41
*** thruflo has joined #zope3-dev17:41
*** thruflo_ has quit IRC17:46
*** bung_vijay has joined #zope3-dev17:51
*** bung_vijay has quit IRC18:12
*** yvl has quit IRC18:15
*** bung_vijay has joined #zope3-dev18:18
*** afd__ has quit IRC18:19
*** cursor_ has quit IRC18:22
*** aclark is now known as aclark|away18:30
*** jinty has quit IRC18:31
*** pcardune has joined #zope3-dev18:41
*** pbugni has joined #zope3-dev18:56
*** bigkevmcd has quit IRC18:56
*** jsadjohnson has quit IRC18:57
*** philiKON has joined #zope3-dev18:58
*** philiKON has quit IRC19:00
*** philiKON has joined #zope3-dev19:01
*** whit has quit IRC19:02
*** alecm has quit IRC19:07
*** jsadjohnson has joined #zope3-dev19:12
*** bung_vijay has quit IRC19:13
*** niemeyer has quit IRC19:13
*** romanofski has quit IRC19:15
*** philiKON has quit IRC19:15
*** bung_vijay has joined #zope3-dev19:15
*** philiKON has joined #zope3-dev19:15
*** sm is now known as sm-afk19:16
*** dagreener has joined #zope3-dev19:19
*** jodok has joined #zope3-dev19:24
*** danfairs has quit IRC19:29
*** whit has joined #zope3-dev19:31
*** tarek_ has quit IRC19:36
nouriSo I'm running my tests with --profile=hotshot; but I find that the test setup (i.e. the stuff in the layer) is not really interesting for me.19:38
nouriI guess it'd be useful if prof.start() happens after the call to setup_layer in testrunner19:39
*** aclark|away is now known as aclark19:40
*** bung_vijay has quit IRC19:41
*** bung_vijay has joined #zope3-dev19:42
*** niemeyer has joined #zope3-dev19:42
*** amaron has quit IRC19:44
*** gstratton has joined #zope3-dev19:44
*** pelle_ has quit IRC19:45
*** pcardune has quit IRC19:55
*** pbugni has quit IRC19:57
*** RaFromBRC has joined #zope3-dev20:01
*** bigkevmcd has joined #zope3-dev20:03
*** pelle_ has joined #zope3-dev20:06
*** bung_vijay has quit IRC20:09
*** bung_vijay has joined #zope3-dev20:14
MJso I am trying to run just zope.component in a buildout20:16
MJbut I can't run the tests because it cannot import transaction20:16
* MJ supposes a dependency on ZODB would be nice ;-)20:16
philiKONit's an optional dependency i think20:18
philiKONare you using zope.component's buildout.cfg?20:18
philiKONor a custom one?20:18
MJcustom20:20
philiKONuh huh20:20
MJjust a develop egg one20:20
philiKONright20:20
philiKONanyway20:20
MJwith a testrunning recipe20:20
philiKONlook at zope.component's own buildout20:20
philiKONi see20:20
* MJ looks20:20
philiKONwhy not use zope.component's own buildout.cfg then?20:21
* MJ completely missed that :-)20:21
philiKONsvn co svn://svn.zope.org/repos/main/zope.component/trunk :)20:21
MJ:-)20:21
MJgot that far :-)20:21
philiKONall our projects are buildouts nowadays20:22
MJjust didn't see the bootstrap and buildout files there.20:22
MJnice20:22
MJhandy20:22
philiKONit's not only handy, it's how we do development nowadays :)20:22
* MJ is slow as he is still recovering from flu.20:22
philiKONwhen i look at ploneout, i get the flu :)20:22
* MJ doesn't look at ploneout if possible.20:23
* MJ now sees the handy [test, zcml] additions.20:24
philiKONthey're evil, not handy :)20:25
MJphiliKON: I am looking at zope.component.interface.interfaceToName20:25
MJphiliKON: I'll take your word for it.20:25
MJthat method is inefficient as hell20:25
MJas it searches for interfaces that derive from the current one20:25
MJthen discards all extendors as it builds it's name..20:26
philiKONheh20:26
philiKONgo for it :)20:26
MJI'll add a doctest first..20:27
MJNow that I have you here anyway20:27
MJthe context parameter is obviously a holdover from the olden days20:27
MJany way we can deprecate it?20:27
MJit is never used.20:28
philiKONnot sure20:29
MJI imagine it's tricky because it's the first parameter20:31
MJwe'd have to detect that the methods are being called with 3 positional arguments and throw a bbb warning.20:31
MJso something like interfaceToName(interface, bbbPositional=None)20:32
MJand "if bbbPositional is not None: warn("context is ignored!")20:33
MJand interface = bbbPositional20:33
*** djk001 has left #zope3-dev20:34
philiKONMJ: i think there are already cases like these that you can borrow from20:38
MJokay20:38
MJI'll focus on the doctest first20:39
MJthis code is silly beyond measure20:39
*** jodok has quit IRC20:39
MJbut I am tired enough to not trust my judgement right now.20:39
philiKONMJ: :)20:39
MJit even asserts that there is only one id to return..20:39
MJah, I see a judgement error coming up20:41
MJit is possible to use a different id when registering an interface with the global registry.20:41
philiKONyes20:41
MJand interfaceToName should return that id.20:41
philiKONvery importnat use case20:41
MJright.20:42
philiKONi see20:42
*** nathany has joined #zope3-dev20:42
MJhowever, the interfaceToName code is still inefficient in that it searches for all interfaces plus subclasses of the interface20:42
MJthen discards the subclasses20:42
*** hazmat has quit IRC20:44
MJphiliKON: the original reason I have been looking into this is that interfaceToName is slow20:49
MJphiliKON: and Plone relies on it..20:49
MJphiliKON: every time object_provides is indexed, all provided interfaces go through that method.20:49
*** jodok has joined #zope3-dev20:49
* MJ is looking for performance wins here.20:49
MJthe codebase doesn't take advantage of iterators either here.20:50
philiKONnote that you can typically safely use   iface.__module__ + '.' + iface.name20:50
philiKONor something like that20:50
MJphiliKON: exactly20:50
MJphiliKON: except where an alternative id is given..20:50
philiKONbut...20:51
* MJ suddenly realizes that any search in the object_provides index uses __module__ + __name__ and doesn't use interfaceToName at all..20:51
philiKONthis is really only used for:20:51
philiKON- browser skins20:51
philiKON- ... ?20:52
MJright20:52
philiKONright20:52
MJthe indexing code should just not use interfaceToName.20:52
philiKONthat's my point20:52
MJand be done with it.20:52
*** agroszer has quit IRC20:52
*** mkerrin has quit IRC20:52
*** jodok has quit IRC20:53
dagreenerI am wondering if I found a problem with the zope book from worldcookery.  Going through chapter 8, it seems I have found two issues.   It seems the factory adapters need to add permission="zope.View" to them for the add pages to work.  Also, the named template adapter in the book has the line, for=".recipe.RecipeEditForm"  Well then it is later used by the RecipeAddForm as well.  Has anyone else noticed this?  Also, how do you make the for20:58
dagreenerrefer to many objects?  I added a for=".recipe.*" and that didn't work.20:58
philiKONyou make it refer to many objects by choosing an interface that's common to them20:59
philiKONalso, the code as shown should work21:00
*** malthe has quit IRC21:00
philiKONat least the example tarballs work21:00
dagreenerjust typing out of the book.  Guess I'll have to download it21:00
philiKONi suggest that21:00
*** nathany has quit IRC21:05
*** whit has quit IRC21:09
*** greenman has joined #zope3-dev21:17
*** thruflo has quit IRC21:19
*** quodt has quit IRC21:24
*** jinty has joined #zope3-dev21:26
*** bung_vijay has quit IRC21:27
*** bung_vijay has joined #zope3-dev21:30
*** nathany has joined #zope3-dev21:31
*** bung_vijay has quit IRC21:50
*** ignas has quit IRC21:56
*** rocky is now known as rocky|away22:02
*** greenman has quit IRC22:05
*** aclark is now known as aclark|away22:05
*** pbugni has joined #zope3-dev22:07
*** greenman has joined #zope3-dev22:17
*** dagreener has left #zope3-dev22:24
*** TresEquis has joined #zope3-dev22:25
*** greenman has quit IRC22:31
*** rmarianski has quit IRC22:37
*** rmarianski has joined #zope3-dev22:38
*** rmarianski has quit IRC22:39
*** MJ has quit IRC22:44
*** RaFromBRC is now known as RaFromBRC|lunch22:56
*** pelle__ has joined #zope3-dev23:02
*** pelle__ has quit IRC23:02
*** jinty has quit IRC23:12
*** rcrafton__ has quit IRC23:17
*** faassen has quit IRC23:21
*** replicant has quit IRC23:30
*** hazmat has joined #zope3-dev23:31
*** ChanServ sets mode: +o hazmat23:31
*** TresEquis has quit IRC23:37
*** MJ has joined #zope3-dev23:38
*** MJ has quit IRC23:38
*** pelle__ has joined #zope3-dev23:45
*** RaFromBRC|lunch is now known as RaFromBRC23:51
*** pcardune has joined #zope3-dev23:56
*** nathany has quit IRC23:56
*** hazmat has quit IRC23:58

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