#jython IRC Log (v0.9)

Index

IRC Log for 2014-04-15

Timestamps are in GMT/BST.

[0:19] * shashank (~shashank@208.91.2.1) Quit (Ping timeout: 252 seconds)
[0:26] * shashank (~shashank@208.91.2.1) has joined #jython
[0:36] * agronholm (~agronholm@2001:1bc8:102:6f29:4026:e43a:47af:2e40) Quit (Ping timeout: 252 seconds)
[0:41] * agronholm (~agronholm@2001:1bc8:102:6f29:51b2:28da:2204:97f4) has joined #jython
[0:41] * ChanServ sets mode +o agronholm
[1:22] * whg is now known as zz_whg
[2:42] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) Quit (Quit: Leaving.)
[3:12] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[3:13] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[3:42] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) has joined #jython
[3:47] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) Quit (Ping timeout: 265 seconds)
[3:59] * lopex (uid4272@gateway/web/irccloud.com/x-xhfbubuwzktmbskc) Quit (Ping timeout: 258 seconds)
[4:00] * Oti (~ohumbel@adsl-89-217-232-86.adslplus.ch) Quit (Quit: Oti)
[4:00] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Quit: Konversation terminated!)
[4:02] * lopex (uid4272@gateway/web/irccloud.com/x-ybubttljiluxqnea) has joined #jython
[4:12] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) has joined #jython
[4:13] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[4:17] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) Quit (Ping timeout: 252 seconds)
[5:13] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) has joined #jython
[5:18] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) Quit (Ping timeout: 252 seconds)
[5:38] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[5:38] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[6:14] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) has joined #jython
[6:18] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) Quit (Ping timeout: 265 seconds)
[6:19] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 252 seconds)
[6:29] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[7:15] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) has joined #jython
[7:20] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) Quit (Ping timeout: 276 seconds)
[8:15] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) has joined #jython
[8:20] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) Quit (Ping timeout: 252 seconds)
[8:34] * sinistersnare (~sinisters@pool-108-28-93-153.washdc.fios.verizon.net) Quit (Ping timeout: 240 seconds)
[8:34] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 252 seconds)
[8:47] * sinistersnare (~sinisters@pool-108-28-93-153.washdc.fios.verizon.net) has joined #jython
[9:16] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) has joined #jython
[9:21] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) Quit (Ping timeout: 276 seconds)
[10:17] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) has joined #jython
[10:22] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) Quit (Ping timeout: 265 seconds)
[11:18] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) has joined #jython
[11:22] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) Quit (Ping timeout: 245 seconds)
[12:19] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) has joined #jython
[12:23] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) Quit (Ping timeout: 245 seconds)
[12:31] * zz_whg is now known as whg
[13:08] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) has joined #jython
[13:31] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[14:35] * jorgew1 (~Adium@cpe-70-114-12-39.satx.res.rr.com) Quit (Quit: Leaving.)
[14:43] * ohumbel (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[14:45] * chrisseaton (~chrisseat@79-76-253-86.dynamic.dsl.as9105.com) has joined #jython
[14:49] * chrisseaton (~chrisseat@79-76-253-86.dynamic.dsl.as9105.com) Quit (Client Quit)
[15:02] * jorgew1 (~Adium@50.56.228.68) has joined #jython
[15:22] * smaudet (~smaudet@206-51-157-254.nktelco.net) has joined #jython
[16:09] * jorgew1 (~Adium@50.56.228.68) has left #jython
[16:40] <jimbaker> it's sort of funny have the new daemon attribute on threads not currently work on jython - it's not linked to the older way of specifying Thread.setDaemon(flag) and Thread.isDaemon() - but is instead quietly ignored. but this only impacts shutdown, so hard to diagnose at a distance
[16:59] * valtih_ (~chatzilla@sushi.pld.ttu.ee) has joined #jython
[17:03] <valtih_> what does PythonInterpreter.set(name, val) do? How can I use the initialized varaiables? I need to pass the command line argument to the script. I cannot understand anything. What are the `local variables`?
[17:35] <whg> valtih_: I think you need to provide some more context.
[18:15] <valtih_> whg: The PythonInterpreter object has a method to execute a file. When I execute a file from a command line, I can pass the arguments to it. I want to do the same when I start the file from by the means of PythonInterpreter. Should I explain that are the command line arguments?
[18:16] <valtih_> There is initialize() method but it is suspiciously static
[18:17] <whg> So you're running a Java program from the command line, and inside you want to set up a Python interpreter and have it evaluate the command-line objects?
[18:17] <whg> arguments, even
[18:18] <whg> If so, then maybe http://www.jython.org/archive/21/docs/embedding.html helps?
[18:23] <valtih_> I fail to understand how this can answer my question. I see nothing about the arguments.
[18:25] <whg> Just handle the arguments in Java and pass them to Jython yourself
[18:25] <whg> If you wanted Jython to handle the arguments, write the program in Python and use Jython as your interpreter
[18:28] <whg> Maybe somebody more experience than me knows of some way to automagically pass through command-line arguments from Java to Jython, but the straightforward, "I'm just getting introduced to Jython" approach is to read the arguments from Java and pass them in (assuming you're dealing with an embedded Jython).
[18:34] * vIkSiT (~vIkSiT|2@50-0-250-34.dedicated.static.sonic.net) has joined #jython
[18:34] * vIkSiT (~vIkSiT|2@50-0-250-34.dedicated.static.sonic.net) Quit (Changing host)
[18:34] * vIkSiT (~vIkSiT|2@unaffiliated/viksit) has joined #jython
[18:36] <jimbaker> well, i have some experience - and it sounds like valtih_ should be using using bin/jython, or if there's an embedded case that doesn't capture that, using org.python.util.jython as a model
[18:36] * vIkSiT (~vIkSiT|2@unaffiliated/viksit) has left #jython
[18:38] * weems (hestia@unaffiliated/weems) has joined #jython
[18:39] <valtih_> whg: How do you read the arguments in Java and pass them in? How do you read the arguments in Java and pass them in? How do you read the arguments in Java and pass them in?
[18:40] <whg> valtih_ As jimbaker mentioned, can you just use the `jython` executable?
[18:40] <valtih_> What is that? I have PythonInterpreter object.
[18:41] <whg> valtih_: From where?
[18:41] <valtih_> What is that? I have PythonInterpreter object in Java program
[18:42] <whg> valtih_ Are your required to have a Java program?
[18:42] <whg> valtih_ Or can it be a Jython program?
[18:43] <valtih_> I ask how to pass the argument to PythonInterpreter object in java program. You say that I can pass aruguments in? Why do you twist and offer alternatives instead of answering what I want?
[18:43] <whg> Jython is not just a library for Java programs; it is a complete Python implementation, and comes with its own shell, etc.
[18:43] <whg> valtih_ I'm trying to tell you it is easier to do this in Jython
[18:43] <whg> valtih_ If you can write it as Jython, instead of as a Java program that embeds Jython, you should.
[18:43] <whg> valtih_ If you can't, say so. I asked like 10 times.
[18:44] <valtih_> I cannot
[18:44] <whg> valtih_ Then in Java, there's a `public static void main` method somewhere
[18:45] <whg> Depending on how old it is, the parameters are typically a String[] or String...
[18:45] <whg> Those are your command-line arguments (more or less)
[18:46] <valtih_> whg: I am experienced in Java. Do not teach me basics. I ask about PythonInterpreter object. There is a fucking "execute(phthon file)" method but what is supposed to be used for the arugment line?
[18:46] <whg> I try to never parse that stuff manually, especially not in Java
[18:47] * mantovani (~mantovani@74.207.232.187) Quit (Remote host closed the connection)
[18:54] * weems (hestia@unaffiliated/weems) Quit (Quit: Leaving)
[18:56] <valtih_> whg: If I wanted anybody for kidding me, I would choose another channel.
[18:56] <jimbaker> that was a fun diversion, i fixed the outstanding buggy tests (including actual test bugs) in test_threading
[18:56] <jimbaker> now i can get back to more interesting questions in fixing import logic, which is its can of worms
[18:58] <jimbaker> valtih_, it's best if you can post a gist
[19:04] <jimbaker> biab, time to get a run in
[19:26] <whg> The fun part was that if he had been civil in the last message, I would have pointed him to the docs on execfile instead of dropping him in my killfile
[19:51] * chrisseaton (~chrisseat@79-76-253-86.dynamic.dsl.as9105.com) has joined #jython
[20:05] * valtih_ (~chatzilla@sushi.pld.ttu.ee) Quit (Ping timeout: 265 seconds)
[20:30] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[20:47] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 265 seconds)
[20:51] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[21:00] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 252 seconds)
[21:03] * smaudet (~smaudet@206-51-157-254.nktelco.net) Quit (Ping timeout: 246 seconds)
[21:06] * vIkSiT (~vIkSiT|2@unaffiliated/viksit) has joined #jython
[21:19] * valtih_ (~chatzilla@sushi.pld.ttu.ee) has joined #jython
[21:33] * chrisseaton (~chrisseat@79-76-253-86.dynamic.dsl.as9105.com) Quit ()
[21:36] * vIkSiT (~vIkSiT|2@unaffiliated/viksit) Quit (Quit: This computer has gone to sleep)
[21:41] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[21:48] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 240 seconds)
[21:52] * chrisseaton (~chrisseat@79-76-253-86.dynamic.dsl.as9105.com) has joined #jython
[21:53] <jimbaker> i'm feeling good about beta 3 after looking through failing unit tests, including ones that we should no longer be skipping (and are mostly passing)
[21:56] <pjenvey> how do the failures look?
[21:59] * vIkSiT (~vIkSiT|2@50-0-250-34.dedicated.static.sonic.net) has joined #jython
[21:59] * vIkSiT (~vIkSiT|2@50-0-250-34.dedicated.static.sonic.net) Quit (Changing host)
[21:59] * vIkSiT (~vIkSiT|2@unaffiliated/viksit) has joined #jython
[22:01] <jimbaker> pjenvey, well, they mostly look minor. stuff around jython/cpython issues (testing specifically for pyc comes to mind, or pyc format)
[22:01] <jimbaker> or things that should be fixed with socket-reboot, such as test_ftplib
[22:03] <jimbaker> pjenvey, right now the biggest thing is to come up w/ a good patch for relative star imports (my first one is not quite right), then fix the remaining test_import issues (test_import interesting was an example of a skipped test)
[22:07] * valtih_ (~chatzilla@sushi.pld.ttu.ee) Quit (Ping timeout: 245 seconds)
[22:09] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[22:12] * vIkSiT (~vIkSiT|2@unaffiliated/viksit) Quit (Quit: This computer has gone to sleep)
[22:43] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[23:15] * vIkSiT (~vIkSiT|2@unaffiliated/viksit) has joined #jython
[23:16] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[23:23] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 265 seconds)
[23:30] * vIkSiT (~vIkSiT|2@unaffiliated/viksit) Quit (Quit: This computer has gone to sleep)
[23:30] * chrisseaton (~chrisseat@79-76-253-86.dynamic.dsl.as9105.com) Quit ()
[23:33] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 252 seconds)
[23:36] * vIkSiT (~vIkSiT|2@unaffiliated/viksit) has joined #jython
[23:46] * vIkSiT (~vIkSiT|2@unaffiliated/viksit) Quit (Quit: This computer has gone to sleep)
[23:59] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) 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).