#jython IRC Log (v0.9)

Index

IRC Log for 2012-02-09

Timestamps are in GMT/BST.

[0:52] * stakkars (~tismer@p5DDB6985.dip.t-dialin.net) Quit (Ping timeout: 265 seconds)
[0:58] * stakkars (~tismer@p5DDB6985.dip.t-dialin.net) has joined #jython
[2:02] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[2:05] * shashank (~shashank@ucb-np2-217.colorado.edu) has joined #jython
[2:15] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[2:19] * lheuer1 (~Adium@blfd-4d08266e.pool.mediaWays.net) has joined #jython
[2:22] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 276 seconds)
[2:44] * juneau001 (~juneau@50-103-53-55.dklb.il.frontiernet.net) has joined #jython
[3:35] * juneau001 (~juneau@50-103-53-55.dklb.il.frontiernet.net) Quit (Quit: Take care...)
[3:35] * agronholm (~Demi-god@91.113.184.146) has joined #jython
[5:09] * shashank (~shashank@ucb-np2-217.colorado.edu) Quit (Ping timeout: 272 seconds)
[6:08] * dideler (d879821e@gateway/web/freenode/ip.216.121.130.30) has joined #jython
[6:10] <dideler> hello, i'm helping a friend with jython, but i have never used jython before -- i'm using my little python knowledge to help her. the issue is that the print statement isn't printing right away
[6:10] <dideler> i tried flushing output but that didn't help
[6:11] <dideler> it works fine in my python version
[6:14] * shashank (~shashank@63-228-87-227.hlrn.qwest.net) has joined #jython
[6:26] * lheuer1 is now known as lheuer
[6:26] * lheuer (~Adium@blfd-4d08266e.pool.mediaWays.net) Quit (Changing host)
[6:26] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[6:50] * dideler (d879821e@gateway/web/freenode/ip.216.121.130.30) Quit (Quit: Page closed)
[7:04] * shashank (~shashank@63-228-87-227.hlrn.qwest.net) Quit (Ping timeout: 272 seconds)
[8:34] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[8:34] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[8:38] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Remote host closed the connection)
[8:39] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[8:50] * agronholm (~Demi-god@91.113.184.146) Quit (Ping timeout: 244 seconds)
[9:03] * agronholm (~Demi-god@91.113.184.146) has joined #jython
[11:26] * wmeissner (~wmeissner@ppp59-167-223-31.static.internode.on.net) has joined #jython
[12:13] * juneau001 (~juneau@131.225.24.172) has joined #jython
[12:16] * aquarius1973 (~aquarius1@egress-frr.sf.nat.aol.com) has joined #jython
[14:10] * stakkars_ (~tismer@89.204.130.110) has joined #jython
[14:10] * wmeissner (~wmeissner@ppp59-167-223-31.static.internode.on.net) Quit (Read error: Connection reset by peer)
[14:10] * wmeissner (~wmeissner@ppp59-167-223-31.static.internode.on.net) has joined #jython
[14:21] * clajo04 (clajo04@72.sub-75-192-192.myvzw.com) has joined #jython
[14:31] * clajo04 (clajo04@72.sub-75-192-192.myvzw.com) Quit (Ping timeout: 260 seconds)
[14:32] * clajo04 (clajo04@72.sub-75-192-192.myvzw.com) has joined #jython
[14:55] * stakkars_ (~tismer@89.204.130.110) Quit (Quit: schnarch)
[15:02] * enebo (~enebo@75-168-50-253.mpls.qwest.net) has joined #jython
[15:33] * shashank (~shashank@63-228-87-227.hlrn.qwest.net) has joined #jython
[16:15] * stakkars_ (~tismer@82.113.121.35) has joined #jython
[16:16] * wmeissner (~wmeissner@ppp59-167-223-31.static.internode.on.net) Quit (Quit: wmeissner)
[16:49] * pjenvey (~pjenvey@underboss.org) Quit (Ping timeout: 272 seconds)
[16:51] * shashank (~shashank@63-228-87-227.hlrn.qwest.net) Quit (Ping timeout: 252 seconds)
[16:56] * pjenvey (~pjenvey@underboss.org) has joined #jython
[17:04] * stakkars_ (~tismer@82.113.121.35) Quit (Quit: schnarch)
[17:37] * srcerer (~chatzilla@dns2.klsairexpress.com) Quit (Ping timeout: 244 seconds)
[17:43] * enebo (~enebo@75-168-50-253.mpls.qwest.net) Quit (Quit: enebo)
[17:57] * clajo04 (clajo04@72.sub-75-192-192.myvzw.com) Quit (Ping timeout: 252 seconds)
[17:57] * clajo04 (clajo04@73.sub-75-197-185.myvzw.com) has joined #jython
[18:33] * clajo04 (clajo04@73.sub-75-197-185.myvzw.com) Quit (Ping timeout: 252 seconds)
[18:33] * clajo04 (clajo04@43.sub-75-243-236.myvzw.com) has joined #jython
[18:46] * srcerer (~chatzilla@dns2.klsairexpress.com) has joined #jython
[19:19] * JStoker (jstoker@unaffiliated/jstoker) Quit (Excess Flood)
[19:29] * JStoker (jstoker@unaffiliated/jstoker) has joined #jython
[20:14] * juneau001 (~juneau@131.225.24.172) Quit (Quit: juneau001)
[20:18] * stakkars_ (~tismer@88.130.165.138) has joined #jython
[20:40] * clajo04 (clajo04@43.sub-75-243-236.myvzw.com) Quit (Ping timeout: 260 seconds)
[20:40] * clajo04 (clajo04@211.sub-75-197-147.myvzw.com) has joined #jython
[20:55] * shashank (~shashank@ucb-np2-177.colorado.edu) has joined #jython
[21:01] * clajo04 (clajo04@211.sub-75-197-147.myvzw.com) Quit ()
[21:07] * agronholm (~Demi-god@91.113.184.146) Quit (Ping timeout: 248 seconds)
[21:39] * shashank (~shashank@ucb-np2-177.colorado.edu) Quit (Ping timeout: 240 seconds)
[21:54] * cleanup_hang (ada04c41@gateway/web/freenode/ip.173.160.76.65) has joined #jython
[22:00] * enebo (~enebo@mobile-166-147-101-032.mycingular.net) has joined #jython
[22:10] <cleanup_hang> in jython 2.5.2, embedded in a java application, is it supported to have multiple java threads each running jython code in separate interpreters? ie, each java thread has its own org.python.util.PythonInterpreter instance, however the same *ython script may be running in each?
[22:11] <cleanup_hang> the reason I ask is that the PythonInterpreter.cleanup() method is hanging indefinitely on some threads in my thread pool, stuck in a Thread.join() deep down under a PySystemState.callExitFunc() call
[22:13] <cleanup_hang> to wit:
[22:13] <cleanup_hang> java.lang.Thread.State: WAITING (on object monitor)
[22:13] <cleanup_hang> at java.lang.Object.wait(Native Method)
[22:13] <cleanup_hang> - waiting on <0x000000079d162290> (a java.lang.Thread)
[22:13] <cleanup_hang> at java.lang.Thread.join(Unknown Source)
[22:13] <cleanup_hang> - locked <0x000000079d162290> (a java.lang.Thread)
[22:13] <cleanup_hang> at java.lang.Thread.join(Unknown Source)
[22:13] <cleanup_hang> ...
[22:13] <cleanup_hang> at org.python.core.PyFunction.__call__(PyFunction.java:302)
[22:13] <cleanup_hang> at org.python.core.PySystemState.callExitFunc(PySystemState.java:523)
[22:14] <cleanup_hang> at org.python.util.PythonInterpreter.cleanup(PythonInterpreter.java:344)
[22:14] <cleanup_hang> so each thread has its own PythonInterpreter, each PythonInterpreter has its own PySystemState, and each PySystemState has .shadow() called on it.
[22:17] <cleanup_hang> all threads are running in a ThreadPoolExecutor, but I've tracked down that Thread.join() to be a different thread in the pool. Ie, ThreadPoolThread#1 calling .cleanup() is calling Thread.join() on the "ThreadPoolThread#2" Thread object.
[22:18] <cleanup_hang> but an interpreter is created and destroyed for each thread runnable, so one thread should have absolutely no concept (much less a reference to) of the other threads in the pool.
[22:24] * shashank (~shashank@ucb-np2-177.colorado.edu) has joined #jython
[22:26] <cleanup_hang> so it feels like some system state or thread state is leaking across interpreters
[22:35] * enebo (~enebo@mobile-166-147-101-032.mycingular.net) Quit (Quit: enebo)
[22:41] * cleanup_hang (ada04c41@gateway/web/freenode/ip.173.160.76.65) Quit (Ping timeout: 245 seconds)
[22:48] * cleanup_hang (ada04c41@gateway/web/freenode/ip.173.160.76.65) has joined #jython
[23:00] * shashank (~shashank@ucb-np2-177.colorado.edu) Quit (Ping timeout: 252 seconds)
[23:27] * stakkars__ (~tismer@88.130.165.138) has joined #jython
[23:30] * stakkars_ (~tismer@88.130.165.138) Quit (Ping timeout: 252 seconds)

Index

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