#jython IRC Log (v0.9)


IRC Log for 2014-10-16

Timestamps are in GMT/BST.

[0:36] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[1:45] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[1:50] * xie_ (d8cf2f06@gateway/web/freenode/ip. has joined #jython
[1:52] * xie_ (d8cf2f06@gateway/web/freenode/ip. has left #jython
[1:58] * xie_ (d8cf2f06@gateway/web/freenode/ip. has joined #jython
[1:58] <xie_> hi
[1:58] * newbie|2 (~smaudet@cpe-98-28-40-92.columbus.res.rr.com) has joined #jython
[1:59] * smaudet (~smaudet@cpe-98-28-40-92.columbus.res.rr.com) Quit (Ping timeout: 272 seconds)
[2:00] <xie_> Do you know how to stop the execfile function?
[2:20] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[2:27] * smaudet (~smaudet@cpe-98-28-40-92.columbus.res.rr.com) has joined #jython
[2:28] * newbie|2 (~smaudet@cpe-98-28-40-92.columbus.res.rr.com) Quit (Ping timeout: 245 seconds)
[3:16] * xie_ (d8cf2f06@gateway/web/freenode/ip. Quit (Quit: Page closed)
[5:02] * Oti (~ohumbel@adsl-89-217-246-208.adslplus.ch) Quit (Quit: Oti)
[6:28] * a42niem (~niem@p578b7daf.dip0.t-ipconnect.de) has joined #jython
[6:32] * clajo04 (~clajo04@pool-74-108-220-163.nycmny.fios.verizon.net) Quit (Ping timeout: 240 seconds)
[6:33] * clajo04 (~clajo04@pool-74-108-220-163.nycmny.fios.verizon.net) has joined #jython
[6:38] * ohumbel (5390f784@gateway/web/freenode/ip. Quit (Quit: Page closed)
[11:33] * ebarrett_ is now known as ebarrett
[12:05] * smaudet (~smaudet@cpe-98-28-40-92.columbus.res.rr.com) Quit (Ping timeout: 272 seconds)
[12:25] <peke_> jimbaker: zz_gthank: We have used __slots__ with code that runs both on CPython and Jython. We did memory profiling only on CPython, and there memory savings were considerable. We used them in a model that is created based on an XML file, and with huge files there are millions of objects.
[12:26] <peke_> Could fairly easily do some testing w/ and w/o slots on Jython if there's interest.
[12:28] <peke_> jimbaker: I'm looking at creating a pull request to add Popen.pid. So far forged and cloned https://github.com/jythontools/jython
[12:28] <peke_> I got two questions:
[12:30] <peke_> 1) Are there up-to-date instructions how to run tests somewhere? README.txt didn't have anything about that and there is no BUILD.txt or similar.
[12:33] <peke_> 2) Where should tests be added? In the comments of http://bugs.jython.org/issue2221 you said it should go to test_subprocess_jy.py, but that file seems to contain something totally unrelatd like tests for populating JYTHON_OPTS correctly.
[12:35] <peke_> Is lib-python/2.7/test/test_subprocess.py executed when running all tests? I looked at it briefly, and it seems to have tests that cannot work on Jython currently but aren't skipped either.
[12:37] <peke_> There doesn't seem to be any explicit test for pid, but some tests use it. Should explicit pid test be actually submitted as a patch or pr to CPython?
[12:46] * xemdetia (xemdetia@nat/ibm/x-cluzwtlfwjnlhxfs) has joined #jython
[13:01] <paolo> peke_: for your q1 try have a look at this https://wiki.python.org/jython/JythonDeveloperGuide#Tests and follow the link
[13:02] <paolo> i don't know if that docs is up to date, but i followed what it says and had no problems.
[13:32] * mbooth (mbooth@redhat/mbooth) has joined #jython
[14:10] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[15:04] <peke_> paolo: thanks!
[15:05] <peke_> jimbaker: `ant regrtest` says 'test_subprocess skipped -- Use of the `subprocess' resource not enabled
[15:06] <peke_> Should running test_subprocess be enabled? I'm fairly certain it contains tests that cannot pass on Jython, at least yet, but probably it would be better to skip them explicitly.
[15:06] <peke_> explicitly -> individually
[15:49] <peke_> jimbaker: here's a pr: https://github.com/jythontools/jython/pull/12
[17:42] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Read error: Connection reset by peer)
[17:43] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[18:25] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 255 seconds)
[18:27] * mgolisch_ is now known as mgolisch
[18:40] * mbooth (mbooth@redhat/mbooth) Quit (Ping timeout: 240 seconds)
[19:33] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[19:38] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 265 seconds)
[20:16] <jimbaker> peke_, that's a good point, we probably enable that resource by default
[20:17] <jimbaker> peke_, zz_gthank, re __slots__, i would suspect that for real usage, one would prefer java objects. possibly extending PyObject for the best of both. even better is when we make expose functionality available to third party code
[20:17] <jimbaker> (which makes the PyObject parts super simple to do)
[20:43] * lheuer1 (~Adium@f048227224.adsl.alicedsl.de) has joined #jython
[20:45] * lheuer1 (~Adium@f048227224.adsl.alicedsl.de) Quit (Client Quit)
[20:53] * lheuer1 (~Adium@f048227224.adsl.alicedsl.de) has joined #jython
[20:54] * lheuer1 (~Adium@f048227224.adsl.alicedsl.de) Quit (Client Quit)
[20:59] * lheuer1 (~Adium@f048227224.adsl.alicedsl.de) has joined #jython
[21:41] * xemdetia (xemdetia@nat/ibm/x-cluzwtlfwjnlhxfs) Quit (Ping timeout: 250 seconds)
[22:26] * [Arfrever] (~Arfrever@apache/committer/Arfrever) Quit (Ping timeout: 250 seconds)
[22:33] * [Arfrever] (~Arfrever@apache/committer/Arfrever) has joined #jython
[23:07] * a42niem (~niem@p578b7daf.dip0.t-ipconnect.de) Quit (Ping timeout: 260 seconds)


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