#jython IRC Log

Index

IRC Log for 2014-06-12

Timestamps are in GMT/BST.

[0:06] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[0:06] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[1:56] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Ping timeout: 252 seconds)
[6:30] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[9:10] * nev123 (~matsk@extgw.wip.se) has joined #jython
[9:26] <nev123> Hi, I'm using jython to run python-code from java with the PythonInterpreter. When urllib2.urlopen() gets 404 jython is leaking filedescriptors (Sockets ends up in CLOSE_WAIT).
[9:26] <nev123> Is there a way to prevent this?
[10:21] <peke> nev123: have you looked at the code? my guess is that connection is not explicitly closed and with cpython garbage collector handles it as soon as the reference goes out of scope.
[10:23] <peke> with jython gc is not reference counting and you cannot count on objects being collected and resources freed. at least elementtree had a bug like that earlier.
[10:23] <peke> i think it was first fixed in jython stdlib and then fix moved to cpython.
[10:33] * nev123 (~matsk@extgw.wip.se) Quit (Quit: Lost terminal)
[10:38] * paolo (~paolo@unaffiliated/paolo) has joined #jython
[14:52] * oscar_toro (~Thunderbi@80-62-162-242-static.dk.customer.tdc.net) has joined #jython
[15:21] * paolo (~paolo@unaffiliated/paolo) Quit (Ping timeout: 245 seconds)
[15:34] * paolo (~paolo@unaffiliated/paolo) has joined #jython
[15:38] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[15:52] * paolo (~paolo@unaffiliated/paolo) Quit (Quit: Ex-Chat)
[16:11] * fwierzbicki (~Adium@99-106-170-162.lightspeed.sntcca.sbcglobal.net) Quit (Ping timeout: 252 seconds)
[16:13] * fwierzbicki (~Adium@99-106-170-162.lightspeed.sntcca.sbcglobal.net) has joined #jython
[16:28] * oscar_toro (~Thunderbi@80-62-162-242-static.dk.customer.tdc.net) Quit (Ping timeout: 272 seconds)
[16:39] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 272 seconds)
[16:45] * whg (whg@unaffiliated/whg) has joined #jython
[17:45] <jimbaker> converging on cjk support and more - it's going to be nice real soon now when we can support any available java charset encoding through the standard python codecs support
[17:59] <agronholm> indeed
[18:00] <agronholm> and that makes the html5lib fix possible, right?
[18:00] <agronholm> which in turn enables pip 1.5.7 to be released
[19:02] * mbooth (~mbooth@cpc68386-shef10-2-0-cust77.17-1.cable.virginm.net) Quit (*.net *.split)
[19:03] * mbooth (~mbooth@cpc68386-shef10-2-0-cust77.17-1.cable.virginm.net) has joined #jython
[19:13] <jimbaker> agronholm, correct
[19:14] <jimbaker> above & beyond the fact that we will have cjk support for windows users. windows consoles like to use specific encodings like shift-jis vs say something more portable like utf-8
[19:17] * oscar_toro (~Thunderbi@80-62-162-242-static.dk.customer.tdc.net) has joined #jython
[20:07] * siel (~siel@unaffiliated/motley) Quit (Ping timeout: 240 seconds)
[20:07] * siel (~siel@unaffiliated/motley) has joined #jython
[20:43] <jimbaker> one last test case to fix... then i will need to figure out how to generalize from shift_jis to looking up an arbitrary charset without a lot of boiler plate modules
[20:49] * whg is now known as zz_whg
[20:52] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[22:07] <jimbaker> and fixed that last test case. i'm not certain what to think about codecs. at the very least, this seems to be one case where the java api seems much simpler and elegant, except for the .encode/.decode methods on unicode/str, as well as error callbacks (which really should be functions, not strings that lookup to functions). anyway, it's not so much code to wrap once i figured out the corners of the api
[22:11] * paolo (~paolo@unaffiliated/paolo) has joined #jython
[22:16] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Ping timeout: 252 seconds)
[22:32] <peke> jimbaker: better codecs support sounds awesome! will it be in beta 3? what's latest guess when official b3 is out?

Index

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