#jython IRC Log (v0.9)

Index

IRC Log for 2011-04-25

Timestamps are in GMT/BST.

[0:38] * shashank (~shashank@ucb-np2-116.colorado.edu) Quit (Ping timeout: 240 seconds)
[1:01] * shashank (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[1:07] <pjenvey> talk? we talk all the time. blah blah blah blah, see?
[1:11] <agronholm> pjenvey: oh, you are awake.
[1:11] <agronholm> any 2 cents on my babel question?
[1:12] <agronholm> I posted on the ml too
[1:39] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[2:40] <lahwran> nope, I have nothing to talk about here
[2:40] <lahwran> I love jython, but it's straightforward enough that I never need to ask anything here
[2:40] <lahwran> :)
[3:21] * zz_Torpeo is now known as Torpeo
[3:22] * bogner (~bogner@d75-155-54-161.abhsia.telus.net) has joined #jython
[3:23] <bogner> Where can I find documentation on jython 2.2's socket module?
[3:23] <bogner> Its socket.error doesn't seem to have an errno member, which is somewhat troubling.
[3:28] <bogner> Hmm, looking at the python 2.2 docs, this doesn't look like a jython problem
[4:12] * Torpeo is now known as zz_Torpeo
[4:23] <pjenvey> agronholm - i gotta look at it again, i started replying to it then i realized i didn't understand the problem
[4:23] <pjenvey> might not get to it tonight though
[4:24] <agronholm> pretty simple
[4:24] <agronholm> why do we need separate gettext and ngettext functions?
[4:24] <agronholm> when it could be accomplished with varargs
[4:26] <pjenvey> so your new function is like better_gettext(*args)
[4:26] <agronholm> the two other arguments are optional
[4:26] <pjenvey> _ = better_gettext; could be called with _('foo') or _('stuff', sing, plural)
[4:26] <agronholm> yup
[4:26] <agronholm> err
[4:26] <agronholm> _(sing, plural, n)
[4:30] <agronholm> this is all good except message extraction does not work
[4:31] <pjenvey> what's the keyword line you specify?
[4:32] <agronholm> _ _:1,2
[4:33] <pjenvey> yea
[4:33] <agronholm> but the parser makes a dict out of them
[4:33] <pjenvey> what happens with that
[4:33] <pjenvey> do you get an exception
[4:33] <agronholm> so either one is always lost
[4:33] <agronholm> no, but it ignores all messages extracted for either one
[4:34] <agronholm> btw the documentation is wrong for the format of the keyword list
[4:34] <agronholm> you are supposed to separate keywords by space, not comma
[4:34] <pjenvey> i didn't even see docs for it
[4:34] <pjenvey> oh the --help docs
[4:34] <agronholm> I was looking at docs on the web
[4:35] <pjenvey> we might want a new way to pull this off
[4:35] <pjenvey> to keep the strictness the way it is
[4:35] <pjenvey> like _:1,2? 2 is optional or something
[4:35] <agronholm> http://babel.edgewall.org/wiki/Documentation/setup.html#id1
[4:36] <agronholm> the example clearly shows commas there
[4:37] <agronholm> but it's a little difficult to specify argument indices when comma is the separator
[4:37] <agronholm> besides the argument indices thing isn't even documented
[4:37] <agronholm> had to look it up in the source
[4:38] <pjenvey> yea that definitely needs more docs
[4:38] <pjenvey> babel has been really idle the past couple years, though devel has picked up slightly the past few months
[4:39] <pjenvey> yea I was gonna say, maybe it should support commas because most distutils and ini style lines support it
[4:39] <pjenvey> but the keywords have commas in them, so not a good idea to allow them
[4:41] <agronholm> the best workaround I have right now is _ __:1,2 L_ L__:1,2
[4:41] <agronholm> where L_ is the lazy version of _
[4:41] <agronholm> (I'm rewriting WebCore's i18n support)
[4:42] <agronholm> in doing so I stumbled onto another roadblock
[4:42] <agronholm> it appears that genshi's translation filter behaves differently when you give it a method as a translation function
[4:42] <agronholm> (as opposed to a pure function)
[6:09] * shashank (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Ping timeout: 250 seconds)
[6:43] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[7:11] * bogner (~bogner@d75-155-54-161.abhsia.telus.net) Quit (Quit: Ex-Chat)
[8:29] * lheuer (~heuer@unaffiliated/lheuer) has joined #jython
[9:16] * lheuer (~heuer@unaffiliated/lheuer) Quit (Ping timeout: 250 seconds)
[9:17] * lheuer (~heuer@unaffiliated/lheuer) has joined #jython
[9:32] * lheuer (~heuer@unaffiliated/lheuer) Quit (Ping timeout: 250 seconds)
[10:33] * zz_Torpeo is now known as Torpeo
[10:56] * juneau001 (~juneau@50.44.43.58) has joined #jython
[11:02] * thobe1 (~Adium@83.249.235.76) has joined #jython
[11:04] * thobe (~Adium@c83-249-235-76.bredband.comhem.se) Quit (Ping timeout: 248 seconds)
[11:09] * juneau001 (~juneau@50.44.43.58) Quit (Ping timeout: 264 seconds)
[11:33] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[11:51] * Torpeo is now known as zz_Torpeo
[12:02] * thobe (~Adium@c83-249-235-76.bredband.comhem.se) has joined #jython
[12:04] * thobe1 (~Adium@83.249.235.76) Quit (Ping timeout: 260 seconds)
[12:46] * juneau001 (~juneau@50.44.62.140) has joined #jython
[14:16] * shashank (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[14:31] * MarderIII (~marderii@enneman.demon.nl) has joined #jython
[14:48] * thobe (~Adium@c83-249-235-76.bredband.comhem.se) Quit (Ping timeout: 250 seconds)
[15:03] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[15:16] * MarderIII (~marderii@enneman.demon.nl) Quit (Quit: [IRSSI] I intend to live forever. So far, so good.)
[15:20] * thobe (~Adium@83.249.235.76) has joined #jython
[15:22] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 276 seconds)
[16:17] * shashank (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Quit: Leaving.)
[16:20] * thobe1 (~Adium@c83-249-235-76.bredband.comhem.se) has joined #jython
[16:22] * thobe (~Adium@83.249.235.76) Quit (Ping timeout: 260 seconds)
[17:23] * thobe1 (~Adium@c83-249-235-76.bredband.comhem.se) Quit (Ping timeout: 260 seconds)
[17:26] * zz_Torpeo is now known as Torpeo
[17:44] * thobe (~Adium@c83-249-235-76.bredband.comhem.se) has joined #jython
[19:03] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[19:16] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[19:17] * thobe (~Adium@c83-249-235-76.bredband.comhem.se) Quit (Read error: Operation timed out)
[19:24] * thobe (~Adium@83.249.235.76) has joined #jython
[19:36] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[20:43] * lopex (lopex@84-10-213-252.dynamic.chello.pl) has joined #jython
[22:34] * meggiepoo_Miny (~meggiepoo@212.158.167.202) has joined #jython
[22:54] * shashank (~shashank@ucb-np2-66.colorado.edu) has joined #jython

Index

These logs were automatically created by JythonLogBot_ on irc.freenode.net using a slightly modified version of the Java IRC LogBot (github).