#jython IRC Log

Index

IRC Log for 2014-03-20

Timestamps are in GMT/BST.

[2:36] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[4:03] * thereisnospoon_ (~thereisno@113-61-86-28.static.qld.dsl.net.au) Quit (Ping timeout: 255 seconds)
[4:24] * thereisnospoon (~thereisno@113-61-86-28.static.qld.dsl.net.au) has joined #jython
[4:30] * thereisnospoon (~thereisno@113-61-86-28.static.qld.dsl.net.au) Quit (Ping timeout: 265 seconds)
[4:48] * thereisnospoon (~thereisno@113-61-86-28.static.qld.dsl.net.au) has joined #jython
[6:47] * oscar_toro (~Thunderbi@h-17-170.a328.priv.bahnhof.se) has joined #jython
[7:12] * lheuer (~Adium@f049019084.adsl.alicedsl.de) has joined #jython
[7:12] * lheuer (~Adium@f049019084.adsl.alicedsl.de) Quit (Changing host)
[7:12] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[7:46] * oscar_toro (~Thunderbi@h-17-170.a328.priv.bahnhof.se) Quit (Ping timeout: 265 seconds)
[8:20] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[8:28] * vext01 (~edd@88-106-252-251.dynamic.dsl.as9105.com) Quit (Ping timeout: 240 seconds)
[11:01] * smaudet (~smaudet@cpe-98-28-34-149.columbus.res.rr.com) Quit (Ping timeout: 246 seconds)
[11:52] * smaudet (~smaudet@cpe-98-28-34-149.columbus.res.rr.com) has joined #jython
[12:01] * smaudet (~smaudet@cpe-98-28-34-149.columbus.res.rr.com) Quit (Ping timeout: 246 seconds)
[12:40] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 264 seconds)
[13:28] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[13:32] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[13:39] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[13:44] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[13:52] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 252 seconds)
[13:55] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[13:57] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[14:00] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[14:00] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[14:04] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[14:09] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 252 seconds)
[14:10] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[14:15] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 245 seconds)
[14:18] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[14:25] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 252 seconds)
[14:26] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[14:34] * xymox (lechuck@unaffiliated/contempt) Quit (Read error: Connection reset by peer)
[14:35] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[14:41] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 246 seconds)
[14:45] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[14:46] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 245 seconds)
[14:51] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[14:53] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[14:59] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 245 seconds)
[15:03] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[15:10] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 265 seconds)
[15:10] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[15:17] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[15:20] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[15:25] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 252 seconds)
[15:26] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[15:32] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[15:33] * xymox (lechuck@unaffiliated/contempt) Quit (Read error: Connection reset by peer)
[15:36] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[15:42] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 246 seconds)
[15:45] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[15:48] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 240 seconds)
[15:51] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 264 seconds)
[15:53] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[16:00] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 265 seconds)
[16:04] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[16:09] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[16:09] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 264 seconds)
[16:11] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[16:17] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 245 seconds)
[16:20] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[16:26] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[16:28] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[16:34] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 246 seconds)
[16:37] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[16:43] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 246 seconds)
[16:45] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[16:46] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[16:53] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 245 seconds)
[16:55] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[17:02] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 246 seconds)
[17:05] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[17:07] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[17:10] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[17:13] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[17:18] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[17:20] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 264 seconds)
[17:22] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[17:28] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 265 seconds)
[17:31] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[17:37] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 245 seconds)
[17:39] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[17:46] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 264 seconds)
[17:49] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[17:56] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[17:56] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[17:59] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[18:06] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 245 seconds)
[18:07] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[18:13] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 245 seconds)
[18:17] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[18:22] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 246 seconds)
[18:27] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[18:29] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 246 seconds)
[18:36] * xymox (lechuck@unaffiliated/contempt) Quit (Read error: Connection reset by peer)
[18:46] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[18:56] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[18:56] * r0bby (~wakawaka@146.95.218.181) has joined #jython
[18:56] * r0bby (~wakawaka@146.95.218.181) Quit (Changing host)
[18:56] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[18:58] * oscar_toro (~Thunderbi@h-17-170.a328.priv.bahnhof.se) has joined #jython
[18:58] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[19:04] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 264 seconds)
[19:04] * r0bby is now known as robbyoconnor
[19:09] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[19:16] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[19:24] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Remote host closed the connection)
[19:25] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[19:29] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 246 seconds)
[19:32] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[19:40] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[19:52] * mike_af (~mike_af@50-77-49-46-static.hfc.comcastbusiness.net) has joined #jython
[19:53] <mike_af> Does anyone here have experience using the bson module with jython? I'm using 2.7b1 and it's having some trouble decoding data that was encoded under python2.6
[19:53] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[19:55] <mike_af> Seeing both struct.unpack errors (which I *think* I solved using the '=' format instead of '<') and some unexpected values once decoded
[20:01] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 265 seconds)
[20:07] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[20:12] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[20:14] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[20:21] * xymox (lechuck@unaffiliated/contempt) Quit (Read error: Connection reset by peer)
[20:22] <mike_af> Nevermind, the problem was that I wasn't passing a proper byte string to decode
[20:23] <jimbaker> mike_af, cool
[20:23] <jimbaker> (i did some of the work on struct for 2.5 so curious about any bugs for sure)
[20:23] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[20:23] <jimbaker> (but that module has comprehensive tests)
[20:30] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 265 seconds)
[20:33] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[20:34] <jimbaker> i think i may have found the bug that's likely preventing the remaining 17% or whatever of the tests from not passing
[20:34] <jimbaker> in test_socket against socket-reboot
[20:35] <jimbaker> topi`, interestingly, i just added functionality to test_socket that looks like trial in twisted - verify the event loop group has nothing pending
[20:36] <jimbaker> so on tearDown on every test, just do that simple verification. very effective!
[20:36] <mike_af> hmm, I'm still running into some issues with this. I don't think it's actually a bug in struct or bson, I think it's mostly user error. I'm getting some data from a ZMQ socket using jzmq, The return data from that socket recv() call is a byte array. I'm trying to use bson to decode the data since it was encoded by a python process using bson.dumps().
[20:36] <jimbaker> mike_af, maybe a gist?
[20:37] <mike_af> However, passing the return of .tostring() to bson.loads() is still resulting in errors in the bson module
[20:37] <jimbaker> there is some funkiness internally in terms of how we store structs that i have regretted due to unsigned vs signed
[20:37] <jimbaker> but that should not be user visible
[20:38] <mike_af> jimbaker: ok, let me put together a gist quickly
[20:38] <jimbaker> mike_af, thanks
[20:39] <topi`> jimbaker: I reckon there are some POSIX bits missing from current jython imp, but right now none of those are preventing me from running my twisted stuff
[20:39] <jimbaker> topi`, that's pretty darn cool
[20:39] <topi`> in other news, it seems my twisted hack will gain "production" status, since we're getting paying customers
[20:39] <jimbaker> :)
[20:39] <topi`> it means I need to clean it up and start using "twistd" to start it up
[20:40] <topi`> or something less error-prone than running it inside screen
[20:40] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[20:40] <jimbaker> per my email on jython-dev mailing list - i do think jython trunk is production quality in the sense that it always gets better from a unit tests perspective
[20:40] <jimbaker> just missing functionality, or bugs in certain corner cases
[20:40] <topi`> and the "hack" already has almost 3k sloc and 60 unit tests, so I guess it is no longer a hack ;)
[20:40] <jimbaker> but so does every production system
[20:41] <topi`> 3k sloc is probably my largest python project to date
[20:41] <jimbaker> topi`, basically you are providing more testing of what we are doing. fantastic!
[20:41] <jimbaker> :)
[20:41] <topi`> jimbaker: the initial plans are to run it on CPython, but I did try it under jython and it worked :)
[20:42] <topi`> jimbaker: jython is more about missing bits and pieces than about actually wrong behaviour (like with that star import)
[20:42] <topi`> I mean relative star import
[20:42] <jimbaker> topi`, we really need to fix that one liner
[20:42] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[20:43] <topi`> jimbaker: with the patch I attached, I was able to import and run PyMySql
[20:43] <topi`> I guess other modern packages will break on the missing star import as well
[20:43] <jimbaker> topi`, ok... i will definitely get that in by tomorrow
[20:43] <jimbaker> if someone doesn't claim it first
[20:44] <topi`> jimbaker: you should check that the patch isn't actually doing something stupid ;) by not raising the exception
[20:44] <jimbaker> socket-reboot has been eating all my jython dev cycles. but it will pay off
[20:44] <jimbaker> topi`, that's why i said by tomorrow ;)
[20:44] <topi`> yeah, that socket work was long due
[20:44] <jimbaker> there are no blind commits against trunk :)
[20:45] <topi`> jimbaker: I did try to read the source surrounding the star import method, but as far as I understood it, it was just an artificial limitation
[20:45] <jimbaker> topi`, that's my reading too, especially in light of what guido said. i also want to understand the corresponding unit tests
[20:46] <jimbaker> import support is relatively complex
[20:46] <topi`> odd thing is, my patch did *not* break any unit tests...
[20:46] <jimbaker> right... but it should also have positive unit tests such that it will break w/o it
[20:46] <topi`> true, that
[20:47] <jimbaker> topi`, anyway, i think sometime in april i will start looking at a jython-specific reactor for twisted. if you have any time between now & then to work on trial, so much the better
[20:48] <jimbaker> topi`, one last question - i believe you were trying out fireside, right?
[20:49] <jimbaker> i will also try to get my friend from datastax involved in the twisted reactor work - he was interested, but then it seemed too daunting when we looked at SSL support. not so bad now w/ the netty work
[20:49] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 245 seconds)
[20:49] <topi`> yeah, fireside works fine for me
[20:49] <jimbaker> topi`, i really appreciate you trying this stuff out!
[20:50] <topi`> well, let's start working on a jython reactor for twisted :)
[20:50] <topi`> that'd be very good for my (upcoming) "twistd clone-as-servlet" project :)
[20:51] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[20:51] <topi`> make war ; deploy ; yay instant twistd server running!
[20:51] <jimbaker> topi`, exactly
[20:51] <topi`> make love not war
[20:51] <topi`> I should go to bed ;)
[20:51] <jimbaker> ;)
[20:52] <topi`> I guess you know how that netty reactor works and how to plug into it?
[20:52] <topi`> I guess a reactor is just an event loop. Even Gtk / Qt has its own event loop(s)
[20:52] <topi`> (I hated Gtk programming)
[20:53] <jimbaker> topi`, i have very good knowledge of how netty event loop groups work at this point
[20:53] <topi`> good, then I'll delve into the twisted reactor source code to see what's actually needed
[20:53] <topi`> I'm somewhat literate with the twisted code base already
[20:54] <jimbaker> topi`, from what i have looked at, it's actually substantially easier to map netty to twisted than it was to socket/select/ssl
[20:54] * Oti (~ohumbel@adsl-84-227-96-79.adslplus.ch) has joined #jython
[20:55] <topi`> well, socket and select is a mess, like it always was in C/Unix :)
[20:55] <jimbaker> topi`, the other thing is that jnr has gotten better support for signal/process mgmt since we really were looking at this in jython 2.5
[20:55] <jimbaker> so we can take advantage of that support as well
[20:55] <jimbaker> Oti, good to see you!
[20:56] <Oti> Hi Jim!
[20:56] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[20:56] <Oti> I got my europython ticket
[20:57] <jimbaker> Oti, awesome! hopefully i will get one of my talks accepted related to jython
[20:57] <jimbaker> i probably can go regardless, but it's much easier to make the case as a speaker to my company
[20:57] <Oti> sure - I am pressing thumbs
[20:58] <jimbaker> Oti, another thought: would you be interested in participating in a jython sprint?
[20:58] <jimbaker> timing is good - i'm sure you saw my jython-dev mailing list posts
[20:58] <Oti> yes, definitely
[20:59] <jimbaker> i promised no dates, but it hard to be believe we would not be in the midst of a release candidate cycle in july given how close we are
[20:59] <jimbaker> at the very least closing beta 3
[20:59] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[20:59] <Oti> ok - did you think of having the sprint in Berlin?
[21:00] <jimbaker> yes
[21:00] <jimbaker> just coupled w/ europython, much like we did in 2008
[21:00] <Oti> that would be really cool - and I am almost 100% sure I'll have time :-)
[21:00] <jimbaker> that was instrumental to getting us to jython 2.5b1
[21:03] <jimbaker> Oti, i'm going to start working on things on my side, especially since this would be a good chance to visit w/ some of our rackspace devs in zurich
[21:04] <Oti> jimbaker let me know as soon as you have travel plans for Switzerland!
[21:05] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[21:05] <jimbaker> Oti, will do! if i'm in switzerland, i'm definitely stopping by your house for some more raclette
[21:06] <jimbaker> i ended up getting this grill based on that great experience, http://www.amazon.com/Swissmar-Person-Classic-Raclette-Granite/dp/B000RWHFQS/
[21:07] <Oti> raclette in summer? I know that from our TV commercials only ...
[21:07] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[21:08] <Oti> Christine just said raclette is ok
[21:08] <jimbaker> :)
[21:09] <jimbaker> you know us americans, we like adopting traditions from other places and turning them willy nilly
[21:14] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 265 seconds)
[21:16] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[21:25] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 246 seconds)
[21:27] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[21:35] * xymox (lechuck@unaffiliated/contempt) Quit (Read error: Connection reset by peer)
[21:36] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[21:41] <mike_af> jimbaker: I haven't gotten the bson error to reproduce in a more generic case as of yet. I'm going to have to do some more debugging and figure out exactly what's going on here first
[21:41] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[21:44] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[21:51] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[21:52] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[21:58] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 245 seconds)
[22:01] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[22:02] * smaudet (~smaudet@cpe-98-28-34-149.columbus.res.rr.com) has joined #jython
[22:03] <smaudet> jimbaker: so I sorta realized I don't know where the jython repo is
[22:04] <smaudet> I was going to try to work on it today
[22:04] <smaudet> I have the standalone sources of course
[22:04] <smaudet> is it on bitbucket or is it on github?
[22:04] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[22:05] <jimbaker> smaudet, what do you want to look at in particular? socket-reboot, or generic jython?
[22:05] <jimbaker> mike_af, ok
[22:05] <smaudet> jimbaker: well, A) the 'official' jython repo to branch things off of, and B) yeah whatever repo socket-reboot is in
[22:05] <jimbaker> https://bitbucket.org/jython
[22:06] <jimbaker> is useful, but sometimes lags hg.python.org/jython
[22:06] <jimbaker> really wish we were on github at this point however
[22:06] <smaudet> There are a lot of github branches of jython
[22:06] <jimbaker> https://bitbucket.org/jimbaker/jython-socket-reboot
[22:07] <smaudet> As to whether any of them are 'real', I don't know
[22:08] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[22:08] <smaudet> A branch is just a branch, like a twig next to a stream. Unfortunately it tends to be hard to find the trunk for all the branches, let alone the forest ;)
[22:09] <smaudet> jimbaker: I'll grab both of them eventually, but should I build the 'official' first or socket reboot?
[22:09] <smaudet> i.e. is there any reason I might want to build the official and then build socket reboot
[22:09] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[22:13] <jimbaker> just depends on what you want to do - socket-reboot is only a couple of commits beyond master
[22:13] <jimbaker> behind master
[22:13] <jimbaker> plus its own commits of course
[22:15] <jimbaker> i need to also commit my copy of test_socket, which has some fixes, or at least put it up on a gist
[22:15] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 252 seconds)
[22:16] <jimbaker> smaudet, this is also extremely important if you haven't seen it - https://wiki.python.org/jython/JythonDeveloperGuide
[22:18] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[22:19] * haimat (5471fed1@gateway/web/freenode/ip.84.113.254.209) has joined #jython
[22:22] <jimbaker> smaudet, https://gist.github.com/jimbaker/9675182
[22:22] <jimbaker> captures my current test workflow
[22:22] <haimat> I derive a custom class from an imported Java class "Game", then I want to override the method render() in my sub class. Within that method I want to call the render() method of the parent (Java) class. So I do a "Game.render()", which gives me the error "expected 1 args; got 0". So I try with "Game.render(self)", but that gives me the error "render() takes exactly 1 argument (2 given)". I also tried with "self.super__render()", but
[22:22] <haimat> any ideas?
[22:24] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 246 seconds)
[22:26] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[22:26] <jimbaker> haimat, as usual, a posted gist will be very helpful
[22:26] <jimbaker> but i think you're just dealing w/ a difference between how methods are defined in python vs in java
[22:28] <haimat> the parent's (Java) method render() is a public method without any arguments
[22:32] <haimat> Here is the GIST: https://gist.github.com/haimat/9675386
[22:34] * xymox (lechuck@unaffiliated/contempt) Quit (Read error: Connection reset by peer)
[22:35] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[22:36] <haimat> jimbaker, can I provide any other information that helps you to understand the problem?
[22:38] <jimbaker> haimat, i think this provides guidance
[22:38] <jimbaker> http://bugs.jython.org/issue1540
[22:39] <haimat> jimbaker, thank you, but isn't the third option I tried the workaround mentioned in this bug you just referred to?
[22:40] <haimat> if so, then it is not working for me :(
[22:40] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 252 seconds)
[22:42] <jimbaker> heimat, i looked at http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/Game.html#render(), right, i would option #3 would be fine
[22:42] <jimbaker> sinistersnare is often here and he has worked on gdx in jython
[22:43] <haimat> jimbaker, thanks. I am wondering why it is complaining about 2 arguments given... how could I best reach sinistersnare?
[22:44] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[22:44] <jimbaker> haimat, https://github.com/sinistersnare
[22:44] <jimbaker> has an email address on his profile
[22:44] <haimat> thank you very much!
[22:44] <jimbaker> plus this repo, https://github.com/sinistersnare/PyGdx
[22:44] <jimbaker> which might give you some ideas
[22:47] <haimat> yes thanks, I have found that already
[22:48] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[22:51] * xymox (lechuck@unaffiliated/contempt) Quit (Read error: Connection reset by peer)
[22:51] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[22:58] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[23:00] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[23:06] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[23:10] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[23:16] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 246 seconds)
[23:18] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[23:24] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[23:27] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[23:30] * haimat (5471fed1@gateway/web/freenode/ip.84.113.254.209) Quit (Quit: Page closed)
[23:35] * xymox (lechuck@unaffiliated/contempt) Quit (Read error: Connection reset by peer)
[23:35] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[23:43] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 240 seconds)
[23:45] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[23:52] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 246 seconds)
[23:54] * xymox (lechuck@unaffiliated/contempt) has joined #jython
[23:59] * xymox (lechuck@unaffiliated/contempt) Quit (Ping timeout: 246 seconds)

Index

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