= ReviewerMeeting20090701 = == summary == * noodles graduates * deryck and leonardr are new mentats * adeuring to update wiki pages regarding `except Exception`, `KeyboardInterrupt` and `SystemExit` == logs == === AMEU === {{{ Jul 01 10:00:11 #startmeeting Jul 01 10:00:12 Meeting started at 09:00. The chair is barry. Jul 01 10:00:12 Commands Available: [TOPIC], [IDEA], [ACTION], [AGREED], [LINK], [VOTE] Jul 01 10:00:18 * deryck (n=deryck@samba/team/deryck) has joined #launchpad-meeting Jul 01 10:00:23 hello everyone and welcome to this week's ameu meeting. who's here today? Jul 01 10:00:28 ni Jul 01 10:00:31 me Jul 01 10:00:33 yup Jul 01 10:00:35 me Jul 01 10:00:36 אני Jul 01 10:00:36 me Jul 01 10:00:40 me Jul 01 10:00:43 me Jul 01 10:00:47 good one intellectronica :) Jul 01 10:01:11 * gmb keeps needing to remind himself that it's not a problem with X when intellectronica has his keyboard in Hebrew mode. Jul 01 10:01:22 me Jul 01 10:01:36 me Jul 01 10:01:56 me Jul 01 10:01:59 me Jul 01 10:02:35 me Jul 01 10:02:41 barry, flacoste sends his apologies, he is celebrating Canada's birthday today Jul 01 10:02:58 mars: thanks Jul 01 10:03:17 allenap: ping Jul 01 10:03:22 bigjools: ping Jul 01 10:03:23 me Jul 01 10:03:25 barry, and gary is off sick Jul 01 10:03:27 BjornT: ping Jul 01 10:03:32 mars: k, thanks Jul 01 10:03:38 me Jul 01 10:03:44 EdwinGrubbs: ping Jul 01 10:04:14 [TOPIC] agenda Jul 01 10:04:14 me Jul 01 10:04:14 New Topic: agenda Jul 01 10:04:26 * Roll call Jul 01 10:04:26 * Action items Jul 01 10:04:26 * Mentoring update Jul 01 10:04:26 * jtv: if code catches `Exception`, make sure `KeyboardInterrupt` and `SystemExit` are not swallowed. Jul 01 10:04:26 * Peanut gallery (anything not on the agenda) Jul 01 10:04:37 [TOPIC] action items Jul 01 10:04:38 New Topic: action items Jul 01 10:04:46 * intellectronica to email list about higher JS branch limits Jul 01 10:05:27 sorry, i didn't Jul 01 10:05:35 k Jul 01 10:05:43 [TOPIC] mentoring update Jul 01 10:05:44 New Topic: mentoring update Jul 01 10:05:57 first, let's welcome leonardr to our cabal! Jul 01 10:06:08 thanks, barry Jul 01 10:06:16 leonardr did great last week. He'll be graduating in no time. Jul 01 10:06:19 barry: And deryck Jul 01 10:06:28 * jtv1 (n=jtv@124.120.192.78) has joined #launchpad-meeting Jul 01 10:06:29 gmb: you type faster than me :) Jul 01 10:06:33 :) Jul 01 10:06:34 and deryck Jul 01 10:06:39 me Jul 01 10:06:59 jtv1: you're not deryck Jul 01 10:07:01 me, sorry Jul 01 10:07:05 * jtv1 is now known as jtv Jul 01 10:07:29 also, noodles775 you're graduated! cprov has nothing but glowing reports. congratulations Jul 01 10:07:41 great! Thanks barry! Jul 01 10:07:44 noodles775: congrats! Jul 01 10:07:45 woohoo, noodles775 congratulations! Jul 01 10:07:49 noodles775: Glückwunsch! Jul 01 10:07:53 And thanks cprov for all the time you spend helping me :) Jul 01 10:08:01 congratulations noodles775! Jul 01 10:08:06 Cheers everyone :) Jul 01 10:08:07 felicitats Jul 01 10:08:11 congratulations noodles775 Jul 01 10:08:49 noodles775: you can stay on thursdays/euros or switch to monday or friday if you want. you're call and just ping me after the meeting if you want to rearrange your schedule Jul 01 10:09:03 barry: will do, thanks. Jul 01 10:09:13 does anybody have any other mentoring items today? Jul 01 10:09:42 k, moving on... Jul 01 10:09:54 [TOPIC] * jtv: if code catches `Exception`, make sure `KeyboardInterrupt` and `SystemExit` are not swallowed. Jul 01 10:09:55 New Topic: * jtv: if code catches `Exception`, make sure `KeyboardInterrupt` and `SystemExit` are not swallowed. Jul 01 10:10:06 jtv: this will go away in python 2.5 :) Jul 01 10:10:13 Hmm, that wiki markup doesn't look half as good on irc Jul 01 10:10:20 barry: are we there yet? :-) Jul 01 10:10:32 * barry looks to flacoste and gary... damn! Jul 01 10:10:43 jtv, barry, why not add a lint tool warning for "catch Exception"? Jul 01 10:11:07 There is one, actually. But it's not clear what it wants you to do. Jul 01 10:11:24 jtv, ah, fix the string it spits back at you? Jul 01 10:11:27 But yes, corollary: once we've upgraded, maybe that should go away :-) Jul 01 10:11:31 does anybody not know what we're talking about here? Jul 01 10:11:48 saying "This is bad" is one thing, saying "This is bad, ensure foobar" is another Jul 01 10:11:51 mars: right, it just notes that you're catching Exception. Which isn't the surprising part. Jul 01 10:11:58 :) Jul 01 10:12:12 is there an easy, or at least obvious, way to do that? Jul 01 10:12:29 or should you simply never catch Exception? Jul 01 10:12:36 intellectronica: until py2.5, you need separate except (KeyboardInterrupt, SystemExit) clause Jul 01 10:12:52 intellectronica: catching Exception is way better than a bare except (usually) Jul 01 10:13:11 intellectronica: except that in py2.4, "except Exception" catches KI and SE exceptions too Jul 01 10:13:36 in 2.5 the exception hierarchy was rearranged so that KI and SE are siblings of Exception, not children Jul 01 10:13:52 BaseException is the mother of all exceptions, and it rarely needs to be caught Jul 01 10:13:54 so, except KI: raise \n except SE: raise \n except Exception: stuff... ? Jul 01 10:14:07 intellectronica: yep, or except (KI, SE): raise Jul 01 10:14:12 can we just upgrade Python already ... Jul 01 10:14:26 bigjools: yes please Jul 01 10:14:34 We need more eggs I think Jul 01 10:14:34 bigjools: can you have it ready by Monday? Jul 01 10:14:39 i think an "except Exception" is in most cases bad as well:, unless you log an OOPS Jul 01 10:14:51 jtv: I'll get my wife to do it Jul 01 10:14:58 adeuring: +1 Jul 01 10:15:01 * barry hopes we do it before the open source release Jul 01 10:15:09 adeuring: right, I think that's the rule. Jul 01 10:15:15 adeuring, +1 Jul 01 10:15:31 it's right, but we have a few scripts that don't do that. Jul 01 10:15:48 adeuring: certainly, if you as a reviewer see "except Exception" or bare-except, you should ask lots of questions Jul 01 10:16:30 barry: right; but it can't hurt to update the wiki page ;) Jul 01 10:16:40 barry: right, that is the real point here. Jul 01 10:17:00 adeuring: sure. would you or jtv like to take that action? Jul 01 10:17:10 barry: I'll do it Jul 01 10:17:15 adeuring: thanks Jul 01 10:17:21 * jtv bows to adeuring who beat him to the Jul 01 10:17:22 *ow! Jul 01 10:17:44 [ACTION] adeuring to update wiki to describe 'except Exception' Jul 01 10:17:45 ACTION received: adeuring to update wiki to describe 'except Exception' Jul 01 10:18:06 adeuring: please also do include info on KI and SE, and that py2.5 changes things Jul 01 10:18:33 [TOPIC] peanut gallery Jul 01 10:18:34 New Topic: peanut gallery Jul 01 10:18:44 barry: I'm already wrote a note about that ;) Jul 01 10:18:45 that's everything on the agenda, does anybody have any other topics today? Jul 01 10:18:51 adeuring: thanks :) Jul 01 10:19:46 5 Jul 01 10:19:57 4 Jul 01 10:20:05 barry, me Jul 01 10:20:13 mars: go ahead Jul 01 10:20:57 so yesterday we had an issue with unescaped HTML data appearing in the browser Jul 01 10:21:18 the fix was to remove a "structure foo" statement from the TAL template Jul 01 10:21:37 given that the TAL "structure" statment is potentially dangerous, should it raise a lint warning? Jul 01 10:22:00 mars:  no, it's used legitimately way too often Jul 01 10:22:05 intellectronica: +1 Jul 01 10:22:08 intellectronica: +1 Jul 01 10:22:12 ok Jul 01 10:22:24 barry, that's all then :) Jul 01 10:22:33 mars: thanks Jul 01 10:22:41 anything else guys? Jul 01 10:23:12 5 Jul 01 10:23:24 oh come on already, we've been through that! Jul 01 10:23:27 4 Jul 01 10:23:36 3 Jul 01 10:23:38 2 Jul 01 10:23:41 1 Jul 01 10:23:44 #endmeeting }}} === AsiaPac === {{{ Jul 01 18:29:39 #startmeeting Jul 01 18:29:41 Meeting started at 17:29. The chair is barry. Jul 01 18:29:41 Commands Available: [TOPIC], [IDEA], [ACTION], [AGREED], [LINK], [VOTE] Jul 01 18:29:46 thumper, mwhudson hi Jul 01 18:30:06 hi Jul 01 18:30:07 * leonardr has quit ("Leaving") Jul 01 18:31:15 mwhudson: wanted to speed through today's meeting, so shall we start with a recap of ameu? Jul 01 18:31:33 noodle graduates, deryck and leonardr are new mentats Jul 01 18:32:02 barry: yep, I ready the backlog :) Jul 01 18:32:19 thumper: ah cool. i don't need to explain "except Exception" then :) Jul 01 18:32:39 not to me Jul 01 18:32:50 i'm sure not to mwhudson either Jul 01 18:33:07 other than that. i have nothing on my list. do you or mwhudson have anything? Jul 01 18:33:39 one thing Jul 01 18:33:55 the other day stub landed a method to help printing unicode in doctests Jul 01 18:33:59 * thumper looks for the method Jul 01 18:34:40 hmm... Jul 01 18:34:49 I recall a commit flying past, but I can't see it in pages.py Jul 01 18:35:00 it rings a vague memory Jul 01 18:35:10 * thumper checks loggerhead Jul 01 18:36:15 hi oops sorry Jul 01 18:36:42 hmm, can't find it right now Jul 01 18:36:50 barry: what was it about except Exception? Jul 01 18:37:07 oh right Jul 01 18:37:15 * mwhudson read enough backscroll Jul 01 18:37:22 r8714 Jul 01 18:37:23 mwhudson: cool Jul 01 18:37:27 added to doctest but not pages Jul 01 18:38:11 that always drives me crazy that they have different globs Jul 01 18:38:54 a bug should be filed :) Jul 01 18:39:02 also it needs to move to lp.testing Jul 01 18:39:46 thumper: jfdi man! Jul 01 18:39:49 barry: i heard a rumour that all javascript changes are supposed to be QAed before landing or something Jul 01 18:39:57 barry: do you know anything about that? Jul 01 18:40:30 mwhudson: we talked about that on the list a few weeks ago, but i don't know that anybody has actually done that Jul 01 18:40:52 ok Jul 01 18:41:18 over this side of the world it sometimes seems like decisions on process get made but that noone tells us :) Jul 01 18:41:36 mwhudson: we only do that when we don't follow those decisions ourselves :) Jul 01 18:42:09 but yeah, i hear ya. hopefully these meetings can help that Jul 01 18:42:57 anything else guys? Jul 01 18:43:02 nope Jul 01 18:43:26 barry: i guess a single place on the wiki to go and look this sort of thing up would be good Jul 01 18:43:35 barry: maybe there is one already! Jul 01 18:43:44 barry: nothing else Jul 01 18:44:06 mwhudson: agreed! it should be here if anywhere: https://dev.launchpad.net/Reviews Jul 01 18:44:14 cool. thanks guys Jul 01 18:44:20 #endmeeting }}}