#jython IRC Log

Index

IRC Log for 2015-05-31

Timestamps are in GMT/BST.

[0:32] * m01_ (~quassel@2a02:2658:1011:1::2:4044) Quit (Ping timeout: 276 seconds)
[0:34] * m01_ (~quassel@2a02:2658:1011:1::2:4044) has joined #jython
[1:09] * m01_ (~quassel@2a02:2658:1011:1::2:4044) Quit (Ping timeout: 276 seconds)
[1:12] * m01_ (~quassel@2a02:2658:1011:1::2:4044) has joined #jython
[2:27] * femtobot (~quassel@2a02:2658:1011:1::2:4044) has joined #jython
[2:27] * m01_ (~quassel@2a02:2658:1011:1::2:4044) Quit (Read error: Connection reset by peer)
[3:38] * femtobot (~quassel@2a02:2658:1011:1::2:4044) Quit (Ping timeout: 276 seconds)
[3:38] * m01 (~quassel@2a02:2658:1011:1::2:4044) has joined #jython
[4:13] * femtobot (~quassel@2a02:2658:1011:1::2:4044) has joined #jython
[4:13] * m01 (~quassel@2a02:2658:1011:1::2:4044) Quit (Read error: Connection reset by peer)
[4:23] * femtobot (~quassel@2a02:2658:1011:1::2:4044) Quit (Quit: No Ping reply in 180 seconds.)
[4:23] * m01 (~quassel@2a02:2658:1011:1::2:4044) has joined #jython
[4:30] <ztane> hmm I forgot my pull request
[4:57] * m01 (~quassel@2a02:2658:1011:1::2:4044) Quit (Ping timeout: 276 seconds)
[4:58] * m01 (~quassel@176.227.202.44) has joined #jython
[5:27] <ztane> ah btw bytearray.strip is wrong
[5:30] <ztane> bytearray(b'\x1f').strip()
[5:31] <ztane> should be using a custom isspace...
[5:35] <ztane> will report for jython 2.7
[6:12] <ztane> hmm jython bug tracker registration doesn't work
[6:26] <ztane> >>> bytes(b'123')
[6:26] <ztane> Traceback (most recent call last): File "<stdin>", line 1, in <module>
[6:26] <ztane> TypeError: sequence(): expected 40 args; got 1
[6:26] <ztane> eh :P
[6:26] <ztane> almost there
[6:27] <ztane> -> need to write __new__
[7:21] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) Quit (Remote host closed the connection)
[9:27] <ztane> this is a good crash course to jython internals :D
[9:40] <ztane> http://paste.ofcode.org/zYcgYr4WNAfvgADWyhhPVt
[9:51] * m01 (~quassel@176.227.202.44) Quit (Quit: No Ping reply in 180 seconds.)
[9:51] * m01 (~quassel@2a02:2658:1011:1::2:4044) has joined #jython
[10:36] <ztane> quite some pull request
[10:36] <ztane> +6,566 -12,563
[10:36] <ztane> https://github.com/jython/jython3/pull/4
[11:31] <ztane> http://bugs.jython.org/issue2364
[11:37] * m01 (~quassel@2a02:2658:1011:1::2:4044) Quit (Remote host closed the connection)
[11:39] * m01_ (~quassel@2a02:2658:1011:1::2:4044) has joined #jython
[12:08] * pdurbin wonders how long the code review will be :)
[12:09] * koo6 (~koo5@236.152.broadband3.iol.cz) has joined #jython
[12:19] <agronholm> I merged the first PR, but someone more knowledgeable should probably review the second one
[13:46] * koo6 (~koo5@236.152.broadband3.iol.cz) Quit (Ping timeout: 264 seconds)
[14:11] <ztane> haha :d
[14:11] <ztane> now ofc the question also is, if someone still wants to do the "python 2 and 3 together in 1 runtime" as discussed on the jython-dev list
[14:16] <ztane> I wonder how to reply to a jython-dev list message that I didn't receive in my mail :D
[14:23] <ztane> the suggestion that there be a "greatest common divisor of Python 2, Python 3 and Java" is ... "fascinating" :D
[14:23] <ztane> it would mean that no existing code would run on it without porting, for the sake of allowing one to not decide whether to write python 2 or 3.
[14:35] <agronholm> -1 on keeping the python 2 cruft
[14:37] * m01_ (~quassel@2a02:2658:1011:1::2:4044) Quit (Quit: No Ping reply in 180 seconds.)
[14:37] * femtobot (~quassel@2a02:2658:1011:1::2:4044) has joined #jython
[14:39] <ztane> equally easy to make python2-3 polyglot libraries as it would be to convert an existing program that would run on the "common set"
[14:40] <ztane> what could work though is to have jython 2 and 3 interpreter in the same process and have bridge proxies that could work out things like proxy python 2 dictionaries to python 3 and vice versa ... :
[14:59] <ztane> agronholm: stupid github btw...
[14:59] <ztane> still displays the pr based on the previous state, even though 1 commit was merged already
[15:06] <ztane> hmm 1 bug, stupid me
[18:59] <ztane> (was fixed long time ago)
[19:13] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) has joined #jython
[19:20] <agronholm> https://bpaste.net/show/a44d8eb1a8a8
[19:20] <agronholm> viikonlopun ahkeroinnin tulos :)
[19:42] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) Quit (Quit: Leaving)
[19:53] * koo6 (~koo5@236.152.broadband3.iol.cz) has joined #jython
[20:25] <ztane> nice
[20:25] <ztane> the nice thing about the serialization formats is that there are so many to choose from :P
[20:26] <ztane> wish Jython 3 soon got to a stage where running some automated tests would be feasible....
[20:28] <agronholm> that's what fwierzbicki is trying to do
[20:28] <ztane> next in line for jython 3: merge string + unicode, merge int + long for good...
[20:33] <ztane> hem, jython caches integers -100 - 900?
[20:38] <ztane> agronholm: in our series: undocumented features:
[20:38] <ztane> int('123', -909) vs int('123', -908)
[20:38] * ztane doesn't like
[20:46] <agronholm> :/
[20:51] <ztane> agronholm: guess what, it is bug compatible with python 2.7 :D
[20:52] <agronholm> what do you mean
[20:53] <ztane> int('123', -909) behaviour
[20:53] <ztane> bug compatible with cpython 2.7
[20:54] <agronholm> yeah, that shouldn't work at all...but I doubt that will actually come up anywhere
[20:55] <ztane> good news is that it is fixed in CPython 3.4
[21:06] * gopar (~gopar@c-73-162-171-146.hsd1.ca.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.