#jython IRC Log


IRC Log for 2015-04-14

Timestamps are in GMT/BST.

[0:51] * xemdetia (xemdetia@nat/ibm/x-yjbvxcdzrhqbksna) Quit (Ping timeout: 246 seconds)
[2:46] * stewori (~stefan@ has joined #jython
[2:56] * qwebirc51607 (dcff0192@gateway/web/freenode/ip. has joined #jython
[2:57] * qwebirc51607 (dcff0192@gateway/web/freenode/ip. has left #jython
[3:02] * zesus_ (zesus@peruna.fi) has joined #jython
[3:07] * zesus (zesus@ Quit (*.net *.split)
[3:07] * m01_ (~quassel@2a02:2658:1011:1::2:4044) Quit (*.net *.split)
[3:07] * paolo (~paolo@unaffiliated/paolo) Quit (*.net *.split)
[3:13] * m01_ (~quassel@2a02:2658:1011:1::2:4044) has joined #jython
[3:13] * paolo (~paolo@unaffiliated/paolo) has joined #jython
[3:54] * stewori (~stefan@ Quit (Read error: No route to host)
[4:40] * clajo04 (~clajo04@pool-108-54-80-65.nycmny.fios.verizon.net) Quit (Ping timeout: 256 seconds)
[4:56] * clajo04 (~clajo04@pool-108-54-80-65.nycmny.fios.verizon.net) has joined #jython
[6:16] * clajo04_ (~clajo04@pool-108-54-80-65.nycmny.fios.verizon.net) has joined #jython
[6:16] * clajo04 (~clajo04@pool-108-54-80-65.nycmny.fios.verizon.net) Quit (Ping timeout: 245 seconds)
[6:16] * clajo04_ is now known as clajo04
[7:09] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 248 seconds)
[7:27] * srcerer_ (~chatzilla@dns2.klsairexpress.com) has joined #jython
[7:28] * srcerer (~chatzilla@dns2.klsairexpress.com) Quit (Ping timeout: 264 seconds)
[8:47] * malinoff (~Dmitry@gw-ip-pashkevich.ll-omk.zsttk.ru) has joined #jython
[8:47] * malinoff (~Dmitry@gw-ip-pashkevich.ll-omk.zsttk.ru) has left #jython
[9:04] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[9:08] <grey_> So I just thought to test rc2 on my linux vm.
[9:08] <grey_> echo $(which -a jython)
[9:08] <grey_> /home/build/bin/jython /usr/local/bin/jython /usr/bin/jython
[9:09] <grey_> Some local options, and then the installer generated scripts from version 2.5.3
[9:09] <grey_> Have to figure out the new launching style
[9:11] <grey_> oops, my bad. Those were from the Debian package
[11:22] * stewori (~stefan@ has joined #jython
[13:23] * xemdetia (xemdetia@nat/ibm/x-sabqmducqnhjkoqw) has joined #jython
[13:43] * stewori (~stefan@ Quit (Quit: Leaving.)
[13:43] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[14:04] * stewori (stefan@gateway/conference/pycon/x-gtvjkswddrfvpmyb) has joined #jython
[14:07] <m01_> So I've been chewing on this calling-Python-from-Java-without-Python-Interpreter issue where my .py file isn't being found. Yesterday I got that to work by setting the python.path property using PySystemState.initialize(props, null).. now in production it turns out that we ALSO pass in a JYTHONPATH environment variable, which takes precendence. Setting PySystemState.path afterwards didn't work. Does anyone have ideas on how I can modify python.path
[14:07] <m01_> post initialisation?
[14:08] <agronholm> m01_: append to sys.path?
[14:08] <m01_> That was my original attempt and it didn't work
[14:08] <m01_> The difference seems to be that a foo$.class file wasn't being generated when I used sys.path
[14:09] <agronholm> hrm
[14:09] <m01_> (for foo.py)
[14:10] <m01_> yeah "hrm" indeed! I feel like I'm going mad ;)
[14:10] <agronholm> I'm still very much in the process of learning how Jython internals work
[14:13] <m01_> yeah, I've been trying to read PySystemState.java and reverse-engineer different ways of feeding it data
[14:14] <m01_> looks like if I pass the python.path property as post init property then it works, but I override the JYTHONPATH, so I need to manually merge the two
[14:20] <m01_> that seems to work
[14:20] <m01_> wow.
[14:20] <m01_> such hackery
[14:26] <agronholm> jimbaker: are you coming?
[14:31] <m01_> btw, the release candidates are much appreciated :-)
[15:03] <agronholm> why do we have two sandbox repos for jython 3?
[15:03] <agronholm> jython3 and jy3k
[15:49] <m01_> does anyone know what sys.prefix should be set to in Jython?
[15:50] <m01_> (i'm having some trouble with gettext not finding the default locale directory
[15:51] <m01_> I suspect it needs to be point somewhere in the jar..
[15:56] * stewori (stefan@gateway/conference/pycon/x-gtvjkswddrfvpmyb) Quit (Quit: Leaving.)
[15:56] * stewori (stefan@gateway/conference/pycon/x-ddfxzavyrixvsbjg) has joined #jython
[16:24] <agronholm> fwierzbicki: you around?
[16:24] <agronholm> I'm replacing the standard library with that of 3.5.0a3
[16:24] <agronholm> in sandbox/jython3
[16:25] <fwierzbicki> agronholm: sure go for it — you have a script that tries to reapply the diffs right?
[16:26] <fwierzbicki> I have only partially updated the grammar though - lots of things are going to fail just because of that
[16:26] <agronholm> fwierzbicki: I don't -- do you?
[16:26] <agronholm> yeah, I realize things are going to fail big time
[16:26] <fwierzbicki> I don't - hmmm I must be thinking of something else
[16:27] <fwierzbicki> I remember someone had some kind of script that managed to work with "hg diff"
[16:28] <agronholm> I can just write something from scratch
[16:28] <fwierzbicki> sounds great!
[16:29] <fwierzbicki> I plan to keep the 2.7 only features in the grammar until the 3.x really starts to work
[16:29] <fwierzbicki> (so things like the print statement)
[16:29] <agronholm> ok
[16:30] <fwierzbicki> so that 2.7 regrtest still works - but I can replace the Lib/ manually in my local build. It would be cool to see if any 3.x Lib/ works....
[16:31] <agronholm> I'm going to update the version too. 3.5.0a1+ ?
[16:31] <fwierzbicki> sounds good to me
[16:31] <agronholm> ok
[16:32] <fwierzbicki> Let me know if you see obvious grammar issues in regrtest.py - that would lead me to prioritize those
[16:32] <fwierzbicki> Well, if that interests you :)
[16:32] <agronholm> what's jython.release_serial?
[16:32] <fwierzbicki> Generally 0
[16:32] <fwierzbicki> for rc2 it is 2
[16:32] <fwierzbicki> that's what it means
[16:33] <agronholm> ok so I should set it to 1 for alpha 1?
[16:33] <fwierzbicki> sure that makes sense
[16:33] <agronholm> ok
[16:38] <fwierzbicki> I'll put a boolean in the grammar to turn print_function and unicode_literal "on" for python3 and "off" for python2.
[16:38] <agronholm> how will that work then
[16:39] <fwierzbicki> I will set it to true in the repo so you'll get those on — it will be for me to switch back to 2.7
[16:39] <fwierzbicki> so basically you won't have to worry about it
[16:41] <fwierzbicki> ok done, so print will be a function only, and unicode literals is on
[16:41] <fwierzbicki> oops wait, did the bool the wrong way, fixing :)
[16:44] * stewori (stefan@gateway/conference/pycon/x-ddfxzavyrixvsbjg) Quit (Quit: Leaving.)
[16:44] * stewori (stefan@gateway/conference/pycon/x-cddurdevquyzgunp) has joined #jython
[16:45] * srcerer_ is now known as srcerer
[17:14] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 264 seconds)
[17:42] * stewori (stefan@gateway/conference/pycon/x-cddurdevquyzgunp) Quit (Quit: Leaving.)
[17:42] * stewori1 (stefan@gateway/conference/pycon/x-qmxojynatxtimpow) has joined #jython
[17:55] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[18:41] * GothAlice (~amcgregor@unaffiliated/gothalice) has joined #jython
[18:41] <GothAlice> eatkin: https://web.archive.org/web/20130925042333/http://tech.matchfwd.com/your-code-style-guide-is-crap-but-still-better-than-nothing/
[18:44] <jimbaker> m01_, any feedback would be appreciated on these issues
[18:44] <jimbaker> i appreciate this is hacky, but it's also really hard to figure out what it should be to make it better without breaking lots of users
[18:44] <jimbaker> so we have punted
[18:46] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 245 seconds)
[18:55] <agronholm> bug tracker going to break temporarily
[19:26] <agronholm> bug tracker updates
[19:26] <agronholm> *updated
[19:26] <agronholm> we now have a milestone field
[19:26] <agronholm> I've added a number of milestones
[19:26] <agronholm> I also assigned developer privileges to stefan and coordinator privileges to jimbaker
[19:32] <GothAlice> \o/
[20:01] <jimbaker> agronholm, thanks
[20:05] * stewori1 (stefan@gateway/conference/pycon/x-qmxojynatxtimpow) Quit (Quit: Leaving.)
[20:05] * stewori (stefan@gateway/conference/pycon/x-fszmtldkuvbwbnub) has joined #jython
[20:09] <agronholm> jimbaker: do we have a custom version of virtualenv for jython?
[20:10] <agronholm> jimbaker: I'm trying to figure out how to get it to work
[20:10] <agronholm> jimbaker: I'm mostly concerned about the virtualenv_support directory contents
[20:11] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 265 seconds)
[22:27] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[22:29] <m01_> jimbaker: re your earlier message with my name in it: yes. I'm hoping to somehow spare others of this, either through doing something to the docs, or filing a bug, whatever. At the moment it's not clear to me what the expected/desired behaviour even is. I'll need to finish this bit to get stuff working, but after that I really hope to be able to do something about it
[22:30] <m01_> this whole investigation started because I was trying to figure out why it's taking 1.5min on our production system to load and run a simple script...
[22:31] <m01_> I thought it was the Python interpreter, so I was looking into how to avoid that, etc. Now I'm worried it's actually the imports (we have a grand total of 8 imports, all but 1 of which are python standard libs, and the custom one should be pretty straightforward)..
[22:37] <m01_> I'm trying to profile it with the oracle java mission control and flight recorder tools. It looks like I'm spending most of my time in java.lang.Object.wait()
[22:37] <m01_> who knows, maybe I'm misinterpreting something.
[22:39] * stewori (stefan@gateway/conference/pycon/x-fszmtldkuvbwbnub) Quit (Read error: Connection reset by peer)
[22:39] * stewori (stefan@gateway/conference/pycon/x-zwwvduvgwgiltoqt) has joined #jython
[23:09] * stewori (stefan@gateway/conference/pycon/x-zwwvduvgwgiltoqt) Quit (Quit: Leaving.)
[23:09] * stewori (stefan@gateway/conference/pycon/x-nzmjbddwndfrtpdm) has joined #jython
[23:36] * stewori (stefan@gateway/conference/pycon/x-nzmjbddwndfrtpdm) Quit (Quit: Leaving.)
[23:36] * stewori (stefan@gateway/conference/pycon/x-nzgzhhxrdxwgvnou) has joined #jython
[23:51] * stewori (stefan@gateway/conference/pycon/x-nzgzhhxrdxwgvnou) Quit (Quit: Leaving.)


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