#jython IRC Log

Index

IRC Log for 2014-09-12

Timestamps are in GMT/BST.

[1:28] <agronholm> indeed
[1:53] * syl20bnr (~user@cable-28.246.173-43.electronicbox.net) has joined #jython
[3:34] * syl20bnr (~user@cable-28.246.173-43.electronicbox.net) Quit (Remote host closed the connection)
[3:35] * syl20bnr (~user@cable-28.246.173-43.electronicbox.net) has joined #jython
[3:38] * syl20bnr (~user@cable-28.246.173-43.electronicbox.net) Quit (Remote host closed the connection)
[7:29] * ivan` (~ivan@unaffiliated/ivan/x-000001) Quit (Quit: ERC Version 5.3 (IRC client for Emacs))
[7:31] * ivan` (~ivan@unaffiliated/ivan/x-000001) has joined #jython
[8:36] * karltk (~karltk@s126a.studby.ntnu.no) has joined #jython
[8:41] * karltk (~karltk@s126a.studby.ntnu.no) Quit (Client Quit)
[10:25] * ebarrett (~edd@88-105-206-90.dynamic.dsl.as9105.com) Quit (Ping timeout: 246 seconds)
[10:27] * ebarrett (~edd@host-78-148-184-42.as13285.net) has joined #jython
[12:25] * syl20bnr (~user@216.98.56.41) has joined #jython
[12:27] * xemdetia (xemdetia@nat/ibm/x-zrrtkqhjltlqihen) has joined #jython
[12:45] * ebarrett (~edd@host-78-148-184-42.as13285.net) Quit (Ping timeout: 240 seconds)
[12:46] * ebarrett (~edd@host-78-148-184-42.as13285.net) has joined #jython
[12:53] * syl20bnr (~user@216.98.56.41) Quit (Quit: rcirc on GNU Emacs 24.3.1)
[12:54] * syl20bnr (~user@216.98.56.41) has joined #jython
[14:18] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[14:49] * topi`_ is now known as topi`
[15:43] * syl20bnr (~user@216.98.56.41) Quit (Ping timeout: 252 seconds)
[16:47] * ebarrett (~edd@host-78-148-184-42.as13285.net) Quit (Ping timeout: 255 seconds)
[16:49] * ebarrett (~edd@host-92-23-234-51.as13285.net) has joined #jython
[17:46] * dorkmafia (~dorkmafia@2601:9:680:89b:4dd7:cded:fdd4:be4a) has joined #jython
[18:11] * syl20bnr (~user@216.98.56.41) has joined #jython
[18:41] <paolo> i'm subscribed to jython-dev and receive a daily digest. do you know if i can reply to a particular mail sent to the list?
[18:46] <dorkmafia> does jython run on 32 bit python on 64bit?
[18:52] <dorkmafia> i guess it runs on whatever i have setup to run :P
[18:56] <xemdetia> dorkmafia, that's a weird question
[18:58] * dorkmafia (~dorkmafia@2601:9:680:89b:4dd7:cded:fdd4:be4a) Quit (Ping timeout: 268 seconds)
[20:27] * bcrowder (~bcrowder@ip72-192-153-12.sd.sd.cox.net) has joined #jython
[20:27] <bcrowder> Hey folks, anyone tried running celery with Jython 2.7b3?
[20:27] <bcrowder> I'm running into this: ImportError: cannot import name O_NONBLOCK
[20:30] * ebarrett (~edd@host-92-23-234-51.as13285.net) Quit (Ping timeout: 245 seconds)
[21:08] * xemdetia (xemdetia@nat/ibm/x-zrrtkqhjltlqihen) Quit (Ping timeout: 268 seconds)
[21:40] * pjenvey_ (pjenvey@underboss.org) has joined #jython
[21:41] * srcerer (~chatzilla@dns2.klsairexpress.com) Quit (Ping timeout: 268 seconds)
[21:41] * srcerer_ (~chatzilla@dns2.klsairexpress.com) has joined #jython
[21:41] * bcrowder (~bcrowder@ip72-192-153-12.sd.sd.cox.net) Quit (Ping timeout: 268 seconds)
[21:41] * lopex (uid4272@gateway/web/irccloud.com/x-lvdupceikvplbool) Quit (Ping timeout: 268 seconds)
[21:42] * JStoker (jstoker@unaffiliated/jstoker) Quit (Killed (sinisalo.freenode.net (Nickname regained by services)))
[21:42] * paolo (~paolo@unaffiliated/paolo) Quit (Ping timeout: 268 seconds)
[21:42] * JStoker (jstoker@unaffiliated/jstoker) has joined #jython
[21:43] * pjenvey (pjenvey@underboss.org) Quit (Ping timeout: 276 seconds)
[21:43] * Guest43929 (uid4272@gateway/web/irccloud.com/x-peptipmhecjzxtbv) has joined #jython
[21:44] * Taylor (~Taylor@unaffiliated/taylor) Quit (Ping timeout: 268 seconds)
[21:46] * Taylor (~Taylor@unaffiliated/taylor) has joined #jython
[21:47] * paolo (~paolo@unaffiliated/paolo) has joined #jython
[22:00] * Guest43929 is now known as lopex
[22:12] * [Arfreve1] (~Arfrever@minotaur.apache.org) has joined #jython
[22:18] * verterok` (~ggonzalez@162.213.35.11) has joined #jython
[22:18] * paolo (~paolo@unaffiliated/paolo) Quit (*.net *.split)
[22:25] * agronholm (~agronholm@2001:1bc8:102:6f29:b9af:3993:6269:503) Quit (*.net *.split)
[22:27] * lazybear (~lazybear@radium.atom.fi) Quit (Ping timeout: 255 seconds)
[22:29] * jimbaker (~jbaker@python/psf/jimbaker) Quit (Ping timeout: 255 seconds)
[22:30] * whg (whg@unaffiliated/whg) Quit (*.net *.split)
[22:31] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Leaving.)
[22:32] * Tayl (~Taylor@unaffiliated/taylor) has joined #jython
[22:32] * Taylor (~Taylor@unaffiliated/taylor) Quit (*.net *.split)
[22:32] * [Arfrever] (~Arfrever@apache/committer/Arfrever) Quit (*.net *.split)
[22:32] * verterok (~ggonzalez@162.213.35.11) Quit (*.net *.split)
[22:33] * Tayl is now known as Taylor
[22:33] * plowdude (6dbe58bc@gateway/web/freenode/session) has joined #jython
[22:33] * jimbaker (~jbaker@24.9.252.60) has joined #jython
[22:34] * jimbaker (~jbaker@24.9.252.60) Quit (Changing host)
[22:34] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[22:35] <plowdude> Hello guys
[22:35] <plowdude> I'm having some trouble to sort things out of Jython
[22:35] <plowdude> assume that I do have a class named "Test" having a method "printField" and a private field name "myField"
[22:36] <plowdude> How, in jython, can I access and edit the value of myField
[22:36] <plowdude> ?
[22:38] * lopex (uid4272@gateway/web/irccloud.com/x-peptipmhecjzxtbv) Quit (*.net *.split)
[22:38] * srcerer_ (~chatzilla@dns2.klsairexpress.com) Quit (*.net *.split)
[22:41] * peke (peke@kapsi.fi) has joined #jython
[22:41] * peke_ (peke@kapsi.fi) Quit (Ping timeout: 246 seconds)
[22:42] <jimbaker> browder, is this for fcntl? i'm not familiar w/ O_NONBLOCK, but we can take a look
[22:42] <jimbaker> plowdude, take a look at python.security.respectJavaAccessibility, set it False. see https://wiki.python.org/jython/Settings
[22:43] <jimbaker> browder, when you're back - i would like to see celery working if possible, that's a nice package
[22:43] * srcerer (~chatzilla@dns2.klsairexpress.com) has joined #jython
[22:43] <plowdude> jimbaker: yes, I started jython with -Dpython.security.respectJavaAccessibility=false
[22:44] <plowdude> but I'm still having IllegalArgumentException
[22:45] <jimbaker> plowdude, hmmm... we test for this, and it's straightforward, so not certain
[22:47] <plowdude> jimbaker: but could you confirm that the general methodology to dump the content of myFile is the following: 1. a = Test(); b = a.getClass().getDeclaredField('myField'); c = b.get() ?
[22:48] * paolo (~paolo@2a03:8180:1001:b2:25::12c) has joined #jython
[22:48] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Ping timeout: 276 seconds)
[22:50] <jimbaker> plowdude, i think you're making it complicated. you should be just to access with a.myField
[22:50] <plowdude> really, does this even make sense "java.lang.IllegalAccessException: java.lang.IllegalAccessException: Can not set static final java.lang.Boolean field myClass.myField to java.lang.Boolean" ?
[22:51] <plowdude> jimbaker: indeed, but a.myField gives the exact same result as above
[22:51] <plowdude> where am I missing something ?
[22:53] <jimbaker> i created a gist of the interaction i tried with a test class we have in jython
[22:53] <jimbaker> https://gist.github.com/jimbaker/1a1e78da425bbdf0b50b
[22:53] <jimbaker> plowdude, ^^^, so as you can see i have access to the the private field, can call a private method, etc
[22:54] * agronholm (~agronholm@2001:1bc8:102:6f29:e4fb:4be9:59da:ab1c) has joined #jython
[22:57] <plowdude> jimbaker: indeed, I can reproduce your sample
[22:58] <plowdude> does it make any difference if myField is static final ?
[22:58] <jimbaker> plowdude, i don't believe it should - final is not actually captured (directly) by the jvm
[22:59] <jimbaker> although it's in the classfile metadata
[22:59] <jimbaker> but i will try that variant w/ Invisible
[23:00] <jimbaker> no, i retried with the Invisible class by using final, no difference
[23:00] * ebarrett_ (~edd@host-78-148-190-31.as13285.net) has joined #jython
[23:01] <jimbaker> plowdude, i assume you're not having any bytecode rewriting to obscure what's going on, right?
[23:01] <plowdude> no I don't think I do have that
[23:01] <plowdude> I just have a plain class
[23:01] <plowdude> with a private static final parameter and I can't read it or set it
[23:02] <plowdude> I don't have problems for public fields
[23:02] * agronholm (~agronholm@2001:1bc8:102:6f29:e4fb:4be9:59da:ab1c) Quit (Ping timeout: 260 seconds)
[23:04] * fwierzbicki (~Adium@130.sub-70-197-18.myvzw.com) has joined #jython
[23:05] <jimbaker> plowdude, hmmm, i think you're going to have post a gist so we can reproduce
[23:05] <plowdude> yes I guess so
[23:05] <plowdude> :D
[23:05] <plowdude> but it's getting late here in France, I might come back tomorrow
[23:05] <plowdude> anyway jimbaker, thank you for your help
[23:06] * plowdude (6dbe58bc@gateway/web/freenode/session) Quit (Quit: Page closed)
[23:08] * fwierzbicki (~Adium@130.sub-70-197-18.myvzw.com) Quit (Client Quit)
[23:11] * agronholm (~agronholm@2001:1bc8:102:6f29:e4fb:4be9:59da:ab1c) has joined #jython
[23:12] * verterok` (~ggonzalez@162.213.35.11) Quit (Ping timeout: 252 seconds)
[23:16] * srcerer (~chatzilla@dns2.klsairexpress.com) Quit (Ping timeout: 252 seconds)
[23:16] * agronholm (~agronholm@2001:1bc8:102:6f29:e4fb:4be9:59da:ab1c) Quit (Ping timeout: 260 seconds)
[23:16] * agronholm (~agronholm@2001:1bc8:102:6f29:e4fb:4be9:59da:ab1c) has joined #jython
[23:17] * ChanServ sets mode +o agronholm
[23:20] * verterok (~ggonzalez@162.213.35.11) has joined #jython
[23:22] * syl20bnr (~user@216.98.56.41) Quit (Ping timeout: 252 seconds)
[23:25] * fwierzbicki (~Adium@247.sub-70-197-15.myvzw.com) has joined #jython
[23:27] * fwierzbicki (~Adium@247.sub-70-197-15.myvzw.com) Quit (Client Quit)
[23:28] * agronholm (~agronholm@2001:1bc8:102:6f29:e4fb:4be9:59da:ab1c) Quit (Ping timeout: 260 seconds)
[23:38] * lopex (uid4272@gateway/web/irccloud.com/session) has joined #jython
[23:39] * agronholm (~agronholm@2001:1bc8:102:6f29:e4fb:4be9:59da:ab1c) has joined #jython
[23:39] * ChanServ sets mode +o agronholm
[23:39] * lopex is now known as Guest87111
[23:44] * zz_whg (whg@nat/ibm/session) has joined #jython
[23:44] * whg (whg@unaffiliated/whg) has joined #jython
[23:44] * whg (whg@unaffiliated/whg) Quit (Ping timeout: 272 seconds)
[23:45] * zz_whg is now known as whg
[23:45] * whg (whg@nat/ibm/session) Quit (Changing host)
[23:45] * whg (whg@unaffiliated/whg) has joined #jython
[23:46] * dorkmafia (~dorkmafia@2601:9:680:89b:594b:6c55:5442:723) has joined #jython
[23:51] * bcrowder (~bcrowder@ip72-192-153-12.sd.sd.cox.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.