#jython IRC Log (v0.9)

Index

IRC Log for 2011-04-08

Timestamps are in GMT/BST.

[1:14] * JStoker (jstoker@unaffiliated/jstoker) Quit (Excess Flood)
[1:15] * JStoker (jstoker@unaffiliated/jstoker) has joined #jython
[1:45] * lopex (lopex@84.10.213.252) Quit ()
[2:36] * shashank (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Quit: Leaving.)
[2:36] * shashank (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[6:49] * kilon (~kilon@adsl-97.79.107.75.tellas.gr) has joined #jython
[6:52] * sitkack (~sitkack@bigfish-208-077-153-007.bigfishgames.com) Quit (Read error: Connection reset by peer)
[6:52] * sitkack (~sitkack@bigfish-208-077-153-007.bigfishgames.com) has joined #jython
[6:56] * thekilon (~kilon@91.140.109.232) has joined #jython
[6:59] * kilon (~kilon@adsl-97.79.107.75.tellas.gr) Quit (Ping timeout: 252 seconds)
[7:13] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Ping timeout: 258 seconds)
[7:26] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[7:52] * thekilon is now known as kilon
[7:57] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[8:12] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[8:50] * shashank (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Quit: Leaving.)
[9:01] * jabley (~jabley@78-105-125-211.zone3.bethere.co.uk) has joined #jython
[9:10] * kilon (~kilon@91.140.109.232) Quit (Quit: Leaving)
[10:40] * kilon (~kilon@46.190.22.144) has joined #jython
[10:42] * kilon (~kilon@46.190.22.144) Quit (Client Quit)
[10:58] * acegiak (~acegiak@ppp59-167-95-26.static.internode.on.net) has joined #jython
[10:59] <acegiak> hey guys, I'm getting this error "java.lang.NoClassDefFoundError: Could not initialize class org.python.core.PyTraceback" and I have no idea why. Does it look familiar to anyone?
[10:59] <acegiak> jython.jar is in my classpath
[11:03] <agronholm> what version of jython? can you reproduce it in a trivial script?
[11:08] <agronholm> acegiak: hello?
[11:10] <acegiak> let me take a look
[11:10] <acegiak> latest jython
[11:10] <agronholm> 2.5.2?
[11:10] <acegiak> aye
[11:11] <agronholm> so can you reproduce this in a trivial script?
[11:11] <acegiak> trying gie us a sec
[11:12] * juneau001 (~juneau@131.225.24.119) has joined #jython
[11:17] * wmeissner (~wmeissner@122.110.57.142) has joined #jython
[11:19] <acegiak> agronholm: no :S
[11:19] * jabley (~jabley@78-105-125-211.zone3.bethere.co.uk) Quit (Quit: jabley)
[11:19] <agronholm> then work your way up from the trivial script to your actual case
[11:19] <agronholm> until you do encounter the problem
[11:20] <agronholm> probably some weird class path problem
[11:22] <acegiak> nah the problem is just working out how to do a trivial version of my problem in java
[11:35] * jabley (~jabley@78-105-125-211.zone3.bethere.co.uk) has joined #jython
[11:49] * lopex (lopex@84-10-213-252.dynamic.chello.pl) has joined #jython
[12:05] * kilon (~kilon@46.190.22.144) has joined #jython
[13:35] * stakkars (~tismer@89.204.137.70) Quit (Quit: schnarch)
[14:03] * HAEBER (~chatzilla@78.43.229.150) has joined #jython
[14:09] <HAEBER> Hi I have a question about default function parameters and recursion:
[14:09] <HAEBER> example:
[14:09] <HAEBER> >>> def test(a=[]):
[14:09] <HAEBER> ... print 'a=',a
[14:09] <HAEBER> ... if 2 not in a:
[14:09] <HAEBER> ... a.append(2)
[14:09] <HAEBER> ... test(a)
[14:09] <HAEBER> ...
[14:09] <HAEBER> >>> test()
[14:09] <HAEBER> a= []
[14:09] <HAEBER> a= [2]
[14:09] <HAEBER> >>> test()
[14:09] <HAEBER> a= [2]
[14:09] <HAEBER> I would have expected that the second call of test() gives the same result!?? Any ideas or explanation? Thanks in advance
[14:10] * stakkars (~tismer@46.253.48.102) has joined #jython
[14:30] * kilon (~kilon@46.190.22.144) Quit (Quit: Leaving)
[14:30] * kilon (~kilon@46.190.22.144) has joined #jython
[14:42] * kilon (~kilon@46.190.22.144) Quit (Quit: Leaving)
[14:42] * kilon (~kilon@46.190.22.144) has joined #jython
[14:46] * wmeissner (~wmeissner@122.110.57.142) Quit (Ping timeout: 246 seconds)
[14:48] * stakkars (~tismer@46.253.48.102) Quit (Ping timeout: 240 seconds)
[14:49] <agronholm> well you are accessing the same list (the one you gave as the default argument)
[14:50] <agronholm> HAEBER: ^
[14:51] <agronholm> the first call already appended 2 to the list
[14:51] * stakkars (~tismer@46.253.48.102) has joined #jython
[14:51] * stakkars (~tismer@46.253.48.102) Quit (Client Quit)
[14:51] <agronholm> so of course it is still there when you make the second test() call
[14:51] * shashank1 (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[14:53] <HAEBER> ok I see (my understanding of "default" parameter was that if I call the function without parameter, then that value in the function definition will be used, but this does not seem to be the case in general)
[14:55] <agronholm> that's how it is
[14:55] <agronholm> but it does not generate a new default value for every call
[14:55] <agronholm> it reuses the one you gave it in the definition
[14:56] <HAEBER> ok good to know, thanks
[14:57] * stakkars (~tismer@46.253.48.102) has joined #jython
[15:17] * wmeissner (~wmeissner@122.110.57.142) has joined #jython
[15:25] * HAEBER (~chatzilla@78.43.229.150) has left #jython
[15:36] * kilon (~kilon@46.190.22.144) Quit (Quit: Leaving)
[15:38] * tnelson_ (trent@wind.teleri.net) has joined #jython
[15:41] * tnelson (trent@coapp/developer/tnelson) Quit (Ping timeout: 276 seconds)
[16:03] * wmeissner (~wmeissner@122.110.57.142) Quit (Ping timeout: 246 seconds)
[16:05] * stakkars (~tismer@46.253.48.102) Quit (Quit: schnarch)
[16:28] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Ex-Chat)
[16:35] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[16:56] * lopex (lopex@84-10-213-252.dynamic.chello.pl) Quit ()
[17:13] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: Coyote finally caught me)
[17:17] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[17:18] * jabley (~jabley@78-105-125-211.zone3.bethere.co.uk) Quit (Quit: jabley)
[18:06] <pjenvey> http://permalink.gmane.org/gmane.comp.lang.jython.devel/5551
[18:08] <pjenvey> ohumbel - so I'm definitely going to pull the installer out into an hg repo next
[18:09] <pjenvey> but uh, I might start that in a week or two
[18:09] <pjenvey> maybe sooner but I need a break from the conversion madness
[18:09] <pjenvey> and then after that the website
[18:14] * thobe (~Adium@212-162-171-110.skbbip.com) Quit (Quit: Leaving.)
[18:47] * stakkars (~tismer@89.204.153.79) has joined #jython
[19:10] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[19:16] * juneau001 (~juneau@131.225.24.119) Quit (Quit: juneau001)
[19:41] * shashank1 (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Ping timeout: 246 seconds)
[20:02] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[20:50] * sitkack (~sitkack@bigfish-208-077-153-007.bigfishgames.com) Quit (Read error: Connection reset by peer)
[20:50] * sitkack (~sitkack@bigfish-208-077-153-007.bigfishgames.com) has joined #jython
[21:02] * vasilvangelovski (~vasilvang@77.29.125.67) has joined #jython
[21:03] * sitkack (~sitkack@bigfish-208-077-153-007.bigfishgames.com) Quit (Read error: Connection reset by peer)
[21:04] * sitkack (~sitkack@bigfish-208-077-153-007.bigfishgames.com) has joined #jython
[21:39] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: Coyote finally caught me)
[21:39] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[21:43] * vasilvangelovski (~vasilvang@77.29.125.67) Quit (Quit: vasilvangelovski)
[21:54] * vasilvangelovski (~vasilvang@77.29.125.67) has joined #jython
[22:19] * vasilvangelovski (~vasilvang@77.29.125.67) Quit (Ping timeout: 246 seconds)
[22:25] * vasilvangelovski (~vasilvang@77.29.221.76) has joined #jython
[22:51] * shashank (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[22:54] * cschneid (~cschneid@c-76-120-122-74.hsd1.co.comcast.net) Quit (Remote host closed the connection)
[22:54] * cschneid (~cschneid@c-76-120-122-74.hsd1.co.comcast.net) has joined #jython
[23:18] * shashank (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Ping timeout: 246 seconds)
[23:36] * lopex (lopex@84-10-213-252.dynamic.chello.pl) has joined #jython
[23:58] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: Coyote finally caught me)
[23:58] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.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 (github).