#jython IRC Log

Index

IRC Log for 2014-05-15

Timestamps are in GMT/BST.

[2:23] * fwierzbicki (~Adium@99-106-170-162.lightspeed.sntcca.sbcglobal.net) has left #jython
[2:24] * fwierzbicki (~Adium@99-106-170-162.lightspeed.sntcca.sbcglobal.net) has joined #jython
[2:51] * lopex (uid4272@gateway/web/irccloud.com/x-qjdwcrxpqkgnscod) Quit (Ping timeout: 245 seconds)
[2:55] * lopex (uid4272@gateway/web/irccloud.com/x-smcqgomgyrxxnfth) has joined #jython
[3:28] <jimbaker> agronholm, support for pip (via my branch), requests, socket-reboot, plus other good fixes
[3:28] <jimbaker> it's what i hoped would be beta 2, but it has gotten a lot better due to the work we have been doing at rackspace to run keystone on it
[9:57] * oscar_toro (~Thunderbi@80-62-162-242-static.dk.customer.tdc.net) has joined #jython
[10:19] * oscar_toro (~Thunderbi@80-62-162-242-static.dk.customer.tdc.net) Quit (Ping timeout: 245 seconds)
[12:33] * smaudet (~smaudet@206-51-157-254.nktelco.net) has joined #jython
[12:45] * enebo (~enebo@77.252.68.250) has joined #jython
[12:46] * zz_whg is now known as whg
[13:34] * enebo (~enebo@77.252.68.250) Quit (Quit: enebo)
[13:59] * oscar_toro (~Thunderbi@80-62-162-242-static.dk.customer.tdc.net) has joined #jython
[14:04] <whg> Interesting: can't run the all-jars ant task on OpenJDK 8 (in FreeBSD 10, which was where I happened to have a current OpenJDK install)
[14:06] <whg> https://gist.github.com/gthank/db6466aad3d63c766cb4 is the output
[15:39] <jimbaker> whg, interesting. we do want to upgrade to antlr 4, but that's a major undertaking that i don't see happening before 2.7.1 at the earliest
[15:40] <jimbaker> it would be really nice to do so - antlr 4 would give us some very nice capabilities, besides just being a lot faster
[16:25] * oscar_toro (~Thunderbi@80-62-162-242-static.dk.customer.tdc.net) Quit (Ping timeout: 245 seconds)
[16:32] * ohumbel (5390f784@gateway/web/freenode/ip.83.144.247.132) has joined #jython
[16:55] * smaudet (~smaudet@206-51-157-254.nktelco.net) Quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
[18:17] * geggam (~geggam__@108-218-203-177.uvs.sntcca.sbcglobal.net) has joined #jython
[18:19] <geggam> so.... i have this tool called grinder.. uses jython... i have this python script im running inside grinder... i have installed simplejson in both jython ( easy install ) and python ( system package ) ... verified simplejson is in site packages... any cluebats you wanna hit me with as to why import simplejson as json wont work
[18:21] <pjenvey> can you import simplejson in the interactive interpreter?
[18:21] <geggam> yes
[18:22] <geggam> http://marc.info/?l=grinder-use&m=128685857628793 I think this might be relevant
[18:24] <pjenvey> yes, if grinder uses the embeddeding API (I have no idea if that's the case), that's a common issue, of site not automatically being imported
[18:24] <pjenvey> we have a bug about switching that behavior, to defualt to importing site when using that api, for 2.7
[18:24] <pjenvey> otherwise importing it yourself is an easy workaround
[18:28] <whg> pjenvey: Out of curiosity, why isn't that the default already?
[18:30] <whg> (I'm intrigued by the way expected usage of software changes over time; I wasn't trying to be snide or anything)
[18:31] * apollonovich (~rdowne@c-50-131-40-240.hsd1.ca.comcast.net) has joined #jython
[18:32] <apollonovich> So, I have a python module I wish to load in jython. I'm getting a java.lang.RuntimeException about "class file too large" on import -- I'm quite sure it's because the file in question loads a very large block of static data as a python set (the .py is 55k). Is there a way to accomplish this sort of thing?
[18:34] <agronholm> apollonovich: it's not reportlab by any chance?
[18:35] <apollonovich> no, it's my own in house module. Specifically, it's a list of all ISO language codes that's causing the issue.
[18:35] <agronholm> divide it to more than one module and import them
[18:35] <apollonovich> that's kinda grotesque -- you can't have a block of static data longer than 64k?
[18:37] <agronholm> apollonovich: JVM limitations :/
[18:39] <apollonovich> hrm...if I made it a resource, though, I wouldn't have this limitation, no?
[18:39] <agronholm> resource?
[18:39] <agronholm> you mean a text file which is read in?
[18:39] <apollonovich> yes.
[18:39] <agronholm> yeah
[18:40] <apollonovich> ideally, could do that pythonlib side, which would presumably allow jython to load it without preprocessing, but worst-case scenario, I add a build task to have python vent the contents of the set() as a text file, and replace the .py file with one that loads the static data at runtime...
[18:45] <pjenvey> whg - I don't think there's any good reasons for it, probably just historic, nobody noticed until it wasn't doing it until the 2.5 release
[18:45] <pjenvey> or around there
[18:52] * srcerer (~chatzilla@dns2.klsairexpress.com) Quit (Quit: ChatZilla 0.9.90.1 [Firefox 28.0/20140314220517])
[18:54] * srcerer (~chatzilla@dns2.klsairexpress.com) has joined #jython
[18:54] <whg> pjenvey: Makes sense.
[20:11] * siel (~siel@unaffiliated/motley) Quit (Remote host closed the connection)
[20:41] * siel (~siel@unaffiliated/motley) has joined #jython
[20:46] * geggam (~geggam__@108-218-203-177.uvs.sntcca.sbcglobal.net) Quit (Remote host closed the connection)
[20:57] * lopex (uid4272@gateway/web/irccloud.com/x-smcqgomgyrxxnfth) Quit (Ping timeout: 245 seconds)
[20:59] * lopex (uid4272@gateway/web/irccloud.com/x-niajzlcqqbpovkmh) has joined #jython
[21:08] * apollonovich (~rdowne@c-50-131-40-240.hsd1.ca.comcast.net) Quit (Quit: Leaving)
[21:13] * lopex (uid4272@gateway/web/irccloud.com/x-niajzlcqqbpovkmh) Quit (Ping timeout: 240 seconds)
[21:26] * lopex (uid4272@gateway/web/irccloud.com/x-xmupwzqcyuaznmhm) has joined #jython
[22:20] * ebarrett (~edd@host-78-148-187-81.as13285.net) Quit (Ping timeout: 252 seconds)
[22:22] * ebarrett (~edd@host-78-148-183-214.as13285.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.