#jython IRC Log (v0.9)

Index

IRC Log for 2012-04-10

Timestamps are in GMT/BST.

[0:18] * shashank (~shashank@71-218-17-191.hlrn.qwest.net) has joined #jython
[0:48] <fwierzbicki> ok I just pushed Jeff Allen's first bits of bytearray -- it's just a start, but it is a very nice and detailed start
[0:52] <agronholm> I'm fighting incomprehensible behavior with Qt on py3.2.2
[0:52] <fwierzbicki> If you want to review it, note that it includes a redo of BuiltinDocs w/o windows line endings and the *Derived class - so it's not nearly as big as it first appears (though it isn't exactly small either)
[0:53] <fwierzbicki> agronholm: ouch - that does not sound like a cross section that lots of people would know about
[0:53] <jimbaker> fwierzbicki, sounds good about bytearray
[0:54] <fwierzbicki> jimbaker: yeah - it's very nice code - I really like where it's going
[0:54] <jimbaker> i finally took a detailed look at ThreadState after about an 18 month hiatus
[0:54] <agronholm> http://pastebin.com/udyzPUVF
[0:54] <agronholm> any guesses as to what this prints out?
[0:55] <jimbaker> should have a reasonable solution i hope pretty soon to fix classloader leaks
[0:55] <agronholm> <__main__.A object at 0x1184f10>
[0:55] <agronholm> 1
[0:55] <agronholm> that is what it prints out
[0:55] <fwierzbicki> agronholm: all bets are off when there are metaclasses :)
[0:55] <agronholm> it only occurs with the combination of python 3 and said metaclass
[0:56] <agronholm> and it's a builtin class too so can't go there with a debugger either
[0:56] <agronholm> just removing the reference to it on line 10 makes it work right
[0:56] <fwierzbicki> that is very strange indeed
[0:57] <agronholm> yeh...
[0:57] <agronholm> went to #python with this prob...got the response I expected
[0:57] <agronholm> <papna> agronholm: It looks like you're trying to make a singleton. That's bad practice and you shouldn't.
[0:58] <agronholm> <papna> agronholm: OK, now stop trying to make a singleton and go home.
[0:58] * pjenvey (~pjenvey@underboss.org) Quit (Quit: ZNC - http://znc.sourceforge.net)
[0:58] <agronholm> ah well, I'll file a bug with PySide :)
[0:59] <fwierzbicki> jimbaker: re: ThreadState - cool!
[0:59] <agronholm> if I find time I could look into integrating the new json thingy
[0:59] <agronholm> if nobody has done that yet
[0:59] <agronholm> I've been out of touch with jython for a while now
[1:06] <fwierzbicki> agronholm: no worries - we should make sure that the jyson author Alan Kennedy actually wants that (since he's a committer and hasn't suggested it yet)
[1:06] <agronholm> fwierzbicki: I believe I already asked that on the ML and he gave a go-ahead
[1:06] <fwierzbicki> agronholm: ah I think I missed that - then please do!
[1:07] <agronholm> http://pastebin.com/URuTuLp5
[1:10] <fwierzbicki> agronholm: funny searching my email I found one from 2009 stating that he intended to contribute it under org.python.modules
[1:10] <agronholm> I see
[1:11] * pjenvey (~pjenvey@underboss.org) has joined #jython
[1:12] <fwierzbicki> agronholm: here's the conversation: http://python.6.n6.nabble.com/What-to-do-with-my-pure-java-JSON-parser-td1788720.html
[1:13] <fwierzbicki> and I agree with jimbaker-from-the-past that a simple module like _marshal.java and marshal.py are probably the best howto's for this one
[1:26] * shashank (~shashank@71-218-17-191.hlrn.qwest.net) Quit (Read error: Operation timed out)
[1:46] * shashank (~shashank@c-98-245-167-68.hsd1.co.comcast.net) has joined #jython
[1:48] * lheuer1 (~Adium@blfd-4d086702.pool.mediaWays.net) has joined #jython
[1:49] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 246 seconds)
[2:08] * juneau001 (~juneau@50.44.10.215) Quit (Quit: Take care...)
[2:14] * plankton (~peretto@189.75.211.4) has joined #jython
[2:30] * plankton (~peretto@189.75.211.4) Quit ()
[2:39] * shashank (~shashank@c-98-245-167-68.hsd1.co.comcast.net) Quit (Ping timeout: 264 seconds)
[2:56] * fwierzbicki (~frank@c-98-223-65-215.hsd1.in.comcast.net) Quit (Quit: fwierzbicki)
[3:17] * shashank (~shashank@71-218-17-191.hlrn.qwest.net) has joined #jython
[4:45] * yanne_ (~jth@backport.reaktor.fi) Quit (Ping timeout: 245 seconds)
[4:46] * yanne (~jth@backport.reaktor.fi) has joined #jython
[6:28] * shashank (~shashank@71-218-17-191.hlrn.qwest.net) Quit (Ping timeout: 248 seconds)
[6:50] * lheuer1 is now known as lheuer
[8:14] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[8:19] * shantanoo (ca4bc813@p3m/member/shantanoo) has joined #jython
[8:20] <shantanoo> hi
[8:21] <shantanoo> i have function to calculate factorial. and i want to convert it to java class. where should i start? tried '-m compileall' parameter but was not able to get the .jar file..
[8:42] * shantanoo (ca4bc813@p3m/member/shantanoo) has left #jython
[11:14] * juneau001 (~juneau@131.225.24.88) has joined #jython
[12:19] * wainersm (~wainersm@189.61.204.85) has joined #jython
[12:26] * user (~BruceZu@123.114.189.123) has joined #jython
[12:27] * user (~BruceZu@123.114.189.123) Quit (Read error: Connection reset by peer)
[13:02] * enebo (~enebo@71-215-210-193.mpls.qwest.net) has joined #jython
[13:11] * seletz (~seletz@business-178-015-118-087.static.arcor-ip.net) has joined #jython
[14:38] * shashank (~shashank@71-218-17-191.hlrn.qwest.net) has joined #jython
[14:55] * fwierzbicki (~frank@c-98-223-65-215.hsd1.in.comcast.net) has joined #jython
[15:02] * fwierzbicki (~frank@c-98-223-65-215.hsd1.in.comcast.net) Quit (Quit: fwierzbicki)
[15:38] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Quit: Page closed)
[16:33] * lheuer (~Adium@blfd-4d086702.pool.mediaWays.net) Quit (Quit: Leaving.)
[16:59] * fwierzbicki (~frank@c-98-223-98-153.hsd1.in.comcast.net) has joined #jython
[16:59] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[17:57] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[18:17] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[19:15] * juneau001 (~juneau@131.225.24.88) Quit (Quit: juneau001)
[19:23] * fwierzbicki (~frank@c-98-223-98-153.hsd1.in.comcast.net) Quit (Quit: fwierzbicki)
[19:41] * fwierzbicki (~frank@c-98-223-65-215.hsd1.in.comcast.net) has joined #jython
[19:48] * shashank (~shashank@71-218-17-191.hlrn.qwest.net) Quit (Ping timeout: 276 seconds)
[20:19] * shashank (~shashank@ucb-np2-162.colorado.edu) has joined #jython
[20:38] * shashank (~shashank@ucb-np2-162.colorado.edu) Quit (Ping timeout: 252 seconds)
[20:42] * r0bby_ (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[20:49] * fwierzbicki (~frank@c-98-223-65-215.hsd1.in.comcast.net) Quit (Quit: fwierzbicki)
[22:09] * enebo (~enebo@71-215-210-193.mpls.qwest.net) Quit (Quit: enebo)
[22:11] * shashank (~shashank@71-218-17-191.hlrn.qwest.net) has joined #jython
[22:14] * pc-moon (~pc-moon@188.55.95.166) has joined #jython
[22:19] <pc-moon> hi
[22:20] <pc-moon> i wanna way to install jython and make android app by it same java by python of writting mode
[22:20] <agronholm> pc-moon: https://code.google.com/p/python-for-android/
[22:21] <agronholm> ?
[22:21] <pc-moon> can i do it without jython cause many ppl told cant do it without java
[22:22] <agronholm> I haven't tried
[22:23] <pc-moon> woooooooooooow really thank u
[22:24] <agronholm> I just googled "android python" and this was the first search result
[22:25] <pc-moon> good idea to search
[22:25] <pc-moon> ok i wanna ask u also
[22:26] <pc-moon> i begin to write programme by wx lib but i dont know how to convert to exe file for windows users
[22:26] <agronholm> cx_Freeze
[22:26] <agronholm> look it up
[22:27] <pc-moon> can i use it in ubuntu
[22:27] <agronholm> not to make exe files
[22:27] <pc-moon> cause i have no windows
[22:28] <agronholm> you need an actual Windows box for that
[22:28] <agronholm> or a virtual machine
[22:28] <pc-moon> how get it
[22:28] <agronholm> how to get what
[22:28] <pc-moon> windows box
[22:28] <agronholm> err
[22:28] <pc-moon> oh ok
[22:28] * wainersm (~wainersm@189.61.204.85) Quit (Quit: Ex-Chat)
[22:28] <agronholm> in your case a virtual machine (using Virtualbox?) would be the best option
[22:29] <pc-moon> ok if i have windows how i can do it
[22:29] <agronholm> do what
[22:29] <pc-moon> exe file
[22:29] <agronholm> cx_freeze is documented, you know
[22:30] <pc-moon> aha ok
[22:30] <agronholm> do you expect me to read the documentation for you?
[22:30] <pc-moon> thank u
[22:30] <agronholm> it's not trivial to use
[22:30] <agronholm> but it automates most of the process
[22:34] * pc-moon (~pc-moon@188.55.95.166) Quit (Ping timeout: 246 seconds)
[23:00] * fwierzbicki (~frank@c-98-223-65-215.hsd1.in.comcast.net) has joined #jython
[23:06] * shashank (~shashank@71-218-17-191.hlrn.qwest.net) Quit (Ping timeout: 252 seconds)

Index

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