#jython IRC Log (v0.9)

Index

IRC Log for 2012-07-14

Timestamps are in GMT/BST.

[0:23] <Arfrever> fwierzbicki: Could you review patch for issue #1929? `ant template` needs to be run after applying this patch.
[0:30] * Epona (~Angel@cpe-24-208-141-92.insight.res.rr.com) Quit (Ping timeout: 252 seconds)
[0:37] * Trundle (~andy@python/site-packages/trundle) Quit (Remote host closed the connection)
[1:43] * vayer (~vayer@173-164-129-225-SFBA.hfc.comcastbusiness.net) Quit (Quit: Leaving)
[2:05] <pjenvey> there ya go Arfrever
[2:05] <Arfrever> pjenvey: What will res.asInt() do?
[2:07] <pjenvey> give you a java int while going through all the right conversions
[2:08] <pjenvey> its on PyObject
[2:08] <pjenvey> PyInteger/Long overwrite it
[2:09] <Arfrever> pjenvey: What does PyLong(2**70).asInt() do?
[2:09] <pjenvey> fail to convert it to an integer and then throw the overflow exception you're expecting =]
[2:10] <Arfrever> pjenvey: What exception type exactly?
[2:12] <pjenvey> OverflowError
[2:12] <pjenvey> w/ that exact message too
[2:12] <pjenvey> try it
[2:15] <Arfrever> pjenvey: So you suggest to replace 'throw Py.OverflowError("long int too large to convert to int");' line with:
[2:15] <Arfrever> return res.asInt();
[2:16] <pjenvey> I think you can replace basically everything
[2:16] <pjenvey> return impl.__get__(this,self_type).__call__().asInt();
[2:17] <pjenvey> bbiab
[2:17] <Arfrever> pjenvey: I do not want to change behavior for old-style classes.
[2:20] <Arfrever> pjenvey: Old-style classes in CPython also raise TypeError.
[2:34] <pjenvey> old style classes don't actually go through that derived code
[2:34] <pjenvey> they go through PyClass/PyInstance
[2:44] <Arfrever> pjenvey: In which file?
[3:07] <pjenvey> Arfrever - hrmm?
[3:08] <Arfrever> pjenvey: Which file contains code used by __len__ of old-style classes.
[3:08] <pjenvey> len(oldStyleInstance) would call PyInstance.__len__
[3:08] <pjenvey> which looking at it, I'm going to guess might need the asInt() call too
[3:09] <Arfrever> pjenvey: A call to asInt() here would introduce incompatibility with CPython.
[3:10] <pjenvey> okay. that was just my guess
[3:54] * varialus (cfe0d5b3@gateway/web/freenode/ip.207.224.213.179) Quit (Quit: Page closed)
[4:05] * Epona (~Angel@cpe-24-208-141-92.insight.res.rr.com) has joined #jython
[4:14] * Epona (~Angel@cpe-24-208-141-92.insight.res.rr.com) Quit (Read error: Connection reset by peer)
[7:56] * Trundle (~andy@python/site-packages/trundle) has joined #jython
[8:45] * ParahSailin (~eg@building.houstontech.org) Quit (Read error: Connection reset by peer)
[10:31] * int3__ (~int3__@99-119-64-75.lightspeed.sntcca.sbcglobal.net) has joined #jython
[10:32] * int3__ (~int3__@99-119-64-75.lightspeed.sntcca.sbcglobal.net) Quit (Remote host closed the connection)
[10:32] * int3__ (~int3__@99-119-64-75.lightspeed.sntcca.sbcglobal.net) has joined #jython
[11:06] * quansai (~nano@ool-182f4617.dyn.optonline.net) has joined #jython
[11:06] * quansai (~nano@ool-182f4617.dyn.optonline.net) has left #jython
[12:15] * int3__ (~int3__@99-119-64-75.lightspeed.sntcca.sbcglobal.net) Quit (Remote host closed the connection)
[13:18] * ctismer_afk is now known as ctismer
[13:21] * ctismer is now known as ctismer_afk
[14:07] * juneau001 (~juneau@50-45-96-223.dklb.il.frontiernet.net) has joined #jython
[15:30] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[15:34] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Quit: fwierzbicki)
[15:38] * enebo (~enebo@174-20-178-12.mpls.qwest.net) has joined #jython
[15:58] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 244 seconds)
[15:59] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[16:32] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[16:41] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[16:52] * enebo (~enebo@174-20-178-12.mpls.qwest.net) Quit (Quit: enebo)
[16:53] * ctismer_afk is now known as ctismer
[17:06] * juneau001 (~juneau@50-45-96-223.dklb.il.frontiernet.net) Quit (Read error: Connection reset by peer)
[17:06] * juneau001 (~juneau@50-45-96-223.dklb.il.frontiernet.net) has joined #jython
[18:00] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[18:10] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[18:10] * int3__ (~int3__@99-119-64-75.lightspeed.sntcca.sbcglobal.net) has joined #jython
[18:11] * int3__ (~int3__@99-119-64-75.lightspeed.sntcca.sbcglobal.net) Quit (Remote host closed the connection)
[18:11] * int3__ (~int3__@99-119-64-75.lightspeed.sntcca.sbcglobal.net) has joined #jython
[18:34] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[18:47] * enebo (~enebo@174-20-178-12.mpls.qwest.net) has joined #jython
[18:50] * int3__ (~int3__@99-119-64-75.lightspeed.sntcca.sbcglobal.net) Quit (Remote host closed the connection)
[18:57] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[19:06] * int3__ (~int3__@204-15-3-229-static.ipnetworksinc.net) has joined #jython
[19:09] * int3__ (~int3__@204-15-3-229-static.ipnetworksinc.net) Quit (Remote host closed the connection)
[19:23] * enebo (~enebo@174-20-178-12.mpls.qwest.net) Quit (Quit: enebo)
[20:21] * enebo (~enebo@174-20-178-12.mpls.qwest.net) has joined #jython
[21:43] * enebo (~enebo@174-20-178-12.mpls.qwest.net) Quit (Quit: enebo)
[22:23] * Trundle (~andy@python/site-packages/trundle) Quit (Quit: ???)
[23:21] * ctismer is now known as ctismer_afk

Index

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