#jython IRC Log (v0.9)

Index

IRC Log for 2015-06-02

Timestamps are in GMT/BST.

[1:03] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) has joined #jython
[1:34] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Leaving.)
[1:52] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) Quit (Ping timeout: 245 seconds)
[1:59] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) has joined #jython
[2:00] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) Quit (Client Quit)
[2:05] * ohumbel (5390f784@gateway/web/freenode/ip.83.144.247.132) Quit (Ping timeout: 246 seconds)
[2:20] * fwierzbicki (~Adium@2600:1010:b059:e3ae:81f9:19a5:564b:6d2e) has joined #jython
[2:55] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) has joined #jython
[3:19] * fwierzbicki (~Adium@2600:1010:b059:e3ae:81f9:19a5:564b:6d2e) Quit (Quit: Leaving.)
[3:41] <jimbaker> i have done most of the work for yield from, but still debugging. should be done this week!
[3:55] * koo6 (~koo5@236.152.broadband3.iol.cz) Quit (Ping timeout: 276 seconds)
[4:25] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[4:42] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Ping timeout: 246 seconds)
[4:51] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[5:36] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Leaving.)
[6:22] <ztane> mm need to merge int and long properly
[6:23] <ztane> is there any way to map 2 classes to the same python type?
[6:35] * ohumbel (5390f784@gateway/web/freenode/ip.83.144.247.132) has joined #jython
[6:55] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) Quit (Quit: Leaving)
[7:23] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[7:55] <ztane> thinking of the PyInteger vs PyLong,
[7:56] <ztane> it would be beneficial to have *2* types for these to minimize the memory usage...
[8:45] * lheuer (~Adium@unaffiliated/lheuer) Quit (Read error: Connection reset by peer)
[9:48] * koo6 (~koo5@236.152.broadband3.iol.cz) has joined #jython
[11:01] * koo6 (~koo5@236.152.broadband3.iol.cz) Quit (Remote host closed the connection)
[12:50] <agronholm> ztane: indeed, especially since integer can now be arbitrarily long
[12:50] <agronholm> (though of course that was already the case with the "long" type)
[13:00] * xemdetia (xemdetia@nat/ibm/x-aszarawjzditozwq) has joined #jython
[14:07] <ztane> the case ofc is that if a small int is stored, with ordinary java it would need a) type pointer, b) data area for the data < 64 bits and c) the optional pointer to the loooong data
[14:07] <ztane> somehow encoding 1024 in 192 bits does not sound exactly promising
[14:10] <ztane> *2* types means: 2 java classes obviously
[14:10] <ztane> 1 python type
[14:10] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[14:13] <agronholm> jimbaker: will you also do async/await? that should be very similar
[14:45] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[14:48] <jimbaker> agronholm, most likely
[15:06] <jimbaker> agronholm, this is also interesting http://bugs.jython.org/issue2361
[15:13] <jimbaker> fwiw, the regex performance has so many places where we can do much better, between not expanding into codepoint arrays to improving call site performance and avoiding reflection
[15:13] <jimbaker> just a good example of what can be done in jython in general
[15:32] <ztane> jimbaker: is it possible to map 2 java classes into 1 python type?
[15:32] <ztane> (the int<->long in python 3)
[15:44] <jimbaker> ztane, this is possible. just needs to be resolved in construction
[15:45] <jimbaker> we already use this functionality in jython, and PyInteger/PyLong almost do enough to make this happen
[15:51] <jimbaker> ztane, so PyType#type___new__ does this now in terms of making PyStringMap report its type as dict
[15:52] <jimbaker> (this functionality implements the one arg form of the type function)
[15:52] <jimbaker> (as well as the 3 arg form)
[16:01] <ztane> hmm... maybe there should be an interface like "PyInteger", with "PyShort" and "PyLong" implementations
[16:04] <ztane> (thinking about the issue of having 2 classes for int on java side)
[16:08] <jimbaker> well i would argue for the simplest possible change first, because it keeps our internal api parallel to cpython's
[16:08] <jimbaker> and that's also important for the jyni work
[16:09] <ztane> >= 192 bit integer variables :D
[16:09] <ztane> *values
[16:27] <ztane> agronholm: are you here or here? :D
[17:24] * gopar (~gopar@2601:9:1100:4c50:a6db:30ff:fea2:873) has joined #jython
[17:56] * gopar (~gopar@2601:9:1100:4c50:a6db:30ff:fea2:873) Quit (Remote host closed the connection)
[19:50] * [Arfrever] (~Arfrever@apache/committer/Arfrever) Quit (Ping timeout: 272 seconds)
[20:00] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[20:41] * gopar (~gopar@2601:9:1100:4c50:a6db:30ff:fea2:873) has joined #jython
[21:17] * gopar (~gopar@2601:9:1100:4c50:a6db:30ff:fea2:873) Quit (Quit: Leaving)
[21:34] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[22:45] * gopar (~gopar@2601:9:1100:4c50:a6db:30ff:fea2:873) has joined #jython
[23:19] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 264 seconds)

Index

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