#jython IRC Log (v0.9)

Index

IRC Log for 2011-03-21

Timestamps are in GMT/BST.

[0:23] <pjenvey> brodie - do you know anything about the warnings in this file: https://bitbucket.org/pjenvey/pyimgr/src/a065080302bf/findlarge.py (it's from the scripts cpython used to migrate). warns about some operations being slower after a shrink
[0:23] <pjenvey> and I also wonder what the point of this findlarge is, seems to want to run shrink again on specific .i files
[0:32] <pjenvey> agronholm - https://bitbucket.org/pjenvey/jython-test here's a test repo from progress i've made today
[0:35] <pjenvey> I think the tags were screwed up somehow if you see a .hgtags warning message
[1:07] <pjenvey> alright so I sent emails to jython-dev with updates. Pretty much I think we just need to figure out the loose ends, I need to figure out those warning about the shrink extension
[1:07] <pjenvey> other than that I think we're pretty close to the move
[1:07] <pjenvey> I already implemented the Version crap we need from mercurial and sys._mercurial
[1:12] * mutux (~muratux@139.179.151.173) Quit (Remote host closed the connection)
[1:41] <pjenvey> try this one instead, think it fixed the tag issue https://bitbucket.org/pjenvey/jython-test1
[2:08] * stakkars (~tismer@91-66-101-126-dynip.superkabel.de) Quit (Quit: stakkars)
[2:22] * stakkars (~tismer@91-66-101-126-dynip.superkabel.de) has joined #jython
[2:41] <brodie> pjenvey: i'm not sure about those warnings. hg 1.8 has some performance improvements, so they may or may not be relevant now
[2:41] <brodie> improvements specifically related to revlog
[2:46] <pjenvey> brodie - ok, thanks. I'm sure that findlarge.py script is some specific solution for the cpython repo, i'll just ignore it and run shrink on my end
[2:47] * juneau001 (~juneau@50.44.39.233) Quit (Quit: juneau001)
[4:03] <brodie> pjenvey: i think the idea there is to find specific filelogs to shrink after shrinking the manifest
[4:07] <pjenvey> I've found one problem with my migration, it seems like a number of branches don't end up with the right parent
[4:07] <pjenvey> seems to happen during the first pass with hgsubversion
[4:07] <pjenvey> commits with parent: -1:000000000000
[4:09] <pjenvey> brodie - have you ever seen anything like that? I suppose I could find them all and manually fix them with a splicemap
[4:13] <pjenvey> kind of odd though, the 2-3 branches I've found them on so far look like basic ones copied from trunk. other branches seem just fine
[4:42] * lopex (lopex@84-10-213-252.dynamic.chello.pl) Quit ()
[5:22] <brodie> pjenvey: is that the only parent?
[5:22] <brodie> perhaps hgsubversion thought the branch was totally unrelated to the rest of the history
[5:23] <brodie> -1:0000... is the null commit, aka the parent of the first commit
[6:01] <pjenvey> brodie - yea, that was the only parent
[6:03] <pjenvey> that's exactly what it seems like, they don't seem like very odd branches so I can't imagine why hgsubversion would think that
[6:53] * acegiak (~acegiak@ppp118-210-172-19.lns20.adl6.internode.on.net) Quit (Ping timeout: 255 seconds)
[7:01] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[7:06] * acegiak (~acegiak@ppp121-45-94-55.lns20.adl6.internode.on.net) has joined #jython
[7:22] * r0bby is now known as robbyoconnor
[7:31] * thobe (~Adium@c83-249-235-76.bredband.comhem.se) Quit (Quit: Leaving.)
[7:50] * thobe (~Adium@212-162-171-110.skbbip.com) has joined #jython
[8:11] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[8:38] * jabley (~jabley@78-105-125-211.zone3.bethere.co.uk) has joined #jython
[8:44] * acegiak (~acegiak@ppp121-45-94-55.lns20.adl6.internode.on.net) Quit (Ping timeout: 276 seconds)
[8:59] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[8:59] * ohumbel (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Quit: Page closed)
[9:00] * acegiak (~acegiak@ppp118-210-33-185.lns20.adl2.internode.on.net) has joined #jython
[9:05] * Oti_ (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[9:05] * Oti_ (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Client Quit)
[9:06] * ohumbel (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[9:08] * jcp (alex@bzflag/contributor/javawizard2539) Quit (Ping timeout: 246 seconds)
[9:15] * jcp (alex@bzflag/contributor/javawizard2539) has joined #jython
[11:13] * juneau001 (~juneau@131.225.24.162) has joined #jython
[12:31] * lopex (531346b2@gateway/web/freenode/ip.83.19.70.178) has joined #jython
[12:36] * jabley (~jabley@78-105-125-211.zone3.bethere.co.uk) Quit (Quit: jabley)
[13:03] * jabley (~jabley@78-105-125-211.zone3.bethere.co.uk) has joined #jython
[13:18] * pjenvey (~pjenvey@underboss.org) Quit (Read error: Operation timed out)
[13:26] * pjenvey (~pjenvey@underboss.org) has joined #jython
[13:28] <acegiak> So I'm loading up a .py file in jython with through a factory class, but I want my python script to be able to call some java methods, is that possible? I've tried a couple of things which haven't worked and I'm wondering what the proper way of doing it is
[14:00] <agronholm> god I hate svn
[14:01] <agronholm> today I tripped with svn again, having gotten used to the comfort of dvcs
[14:01] <agronholm> I copied a directory within the source tree, which is a big no-no in svn
[14:47] <Oti> agronholm - huh ....
[14:51] <Oti> acegiak - from within a .py file you can import java stuff, e.g.:
[14:51] <Oti> >>> from java.math import BigDecimal >>> bd = BigDecimal("1.75") >>> bd.pow(7)
[15:12] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[15:13] * cschneid (~cschneid@c-76-120-122-74.hsd1.co.comcast.net) Quit ()
[15:14] * cschneid (~cschneid@c-76-120-122-74.hsd1.co.comcast.net) has joined #jython
[15:25] * yyamano (~Adium@74.51.156.216) has joined #jython
[15:26] * yyamano (~Adium@74.51.156.216) Quit (Client Quit)
[15:55] * agronholm (~demigod@nblzone-211-37.nblnetworks.fi) Quit (Quit: KVIrc 4.0.2 Insomnia http://www.kvirc.net/)
[16:07] * agronholm (~demigod@nblzone-211-37.nblnetworks.fi) has joined #jython
[16:23] * yshavit (~yshavit@75-149-135-141-Connecticut.hfc.comcastbusiness.net) has joined #jython
[16:24] <yshavit> Sorry if this is a newb question, I tried googling and didn't see anything. Is there a way to have jython check Java assertions (ie, I have an assertion in a Java class I'm invoking via Jython)? I'm on jython 2.2.1, java 1.6.0_24
[16:24] * lopex (531346b2@gateway/web/freenode/ip.83.19.70.178) Quit ()
[16:26] <agronholm> dunno, jython 2.2 is so ancient that I've never even tried it
[16:27] <yshavit> agronholm: hm, okay. It's what Ubuntu has by default :-\
[16:27] <agronholm> and all other distros too
[16:27] <agronholm> I wonder if they'll ever upgrade
[16:27] <agronholm> perhaps with 2.5.2 they might
[16:27] <yshavit> agronholm: on jython 2.5, do the Java asserts work?
[16:28] <agronholm> why wouldn't they?
[16:28] <yshavit> agronholm: well, I don't know why they wouldn't in 2.2 :)
[16:29] <agronholm> so is there a problem here?
[16:30] <yshavit> agronholm: I've got a Java class FailAssertion with a single method, it() { assert false: "failed assertion"; }. I compile that, start jython, import FailAssertion, and run "FailAssertion().it()" -- and I don't see any assertion message
[16:31] <agronholm> and if you run it directly from java?
[16:32] <yshavit> agronholm: I put a main() method in that class, ran it with java -ea, and the AssertionError is raised
[16:32] <agronholm> so are you enabling assertions when you start jython?
[16:32] <yshavit> agronholm: I can't figure out how. -ea isn't a valid option
[16:32] <agronholm> -J-ea?
[16:33] <yshavit> agronholm: nope, jython says it's an illegal argument. If that works on 2.5, that's reason enough for me to upgrade manually
[16:35] <agronholm> just ran jython -J-ea, didn't complain
[16:37] <yshavit> agronholm: okay, cool. You gave me an idea, though, and I checked the actual /usr/bin/jython script -- there's a JAVA_OPTIONS var that it looks like I can set to "-ea".
[16:57] * agronholm (~demigod@nblzone-211-37.nblnetworks.fi) Quit (Quit: KVIrc 4.0.2 Insomnia http://www.kvirc.net/)
[17:03] * lopex (lopex@84-10-213-252.dynamic.chello.pl) has joined #jython
[17:07] * agronholm (~demigod@nblzone-211-37.nblnetworks.fi) has joined #jython
[17:32] * jabley (~jabley@78-105-125-211.zone3.bethere.co.uk) Quit (Quit: jabley)
[17:34] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Quit: Page closed)
[17:42] * thobe (~Adium@212-162-171-110.skbbip.com) Quit (Quit: Leaving.)
[18:56] <juneau001> I've run into a curious issue with Django-Jython, issue 58 (http://code.google.com/p/django-jython/issues/detail?id=58)
[18:56] <juneau001> Seems that the development server cannot be stopped with Ctrl-C, Ctrl-Z, or Ctrl-D on Windows
[18:56] <juneau001> Never noticed this one before as i am on a Mac (thankfully)
[18:57] <agronholm> yeah, it's been discussed here once in a while
[18:57] <juneau001> Is this a Jython interactive shell issue?
[18:58] <agronholm> it's yet more windows/java crap
[18:58] <agronholm> signal handler issues
[18:58] <juneau001> Ah, too much fun
[18:59] <juneau001> Is there an issue on the Jython bug tracker that I can relate this ticket to? I tried to do a search but came up w/out a mtch
[18:59] <juneau001> match
[18:59] <agronholm> someone else probably knows better
[18:59] <juneau001> I will look again...
[18:59] <juneau001> Thanks for your help
[18:59] <juneau001> It is appreciated
[19:00] <juneau001> At least I know that I'm not losing my mind and Windows IS causing issues
[19:00] <juneau001> :)
[19:02] <juneau001> Ah, looks as though this issue has been logged with both projects as it is Issue 1715 on the Jython tracker
[19:04] * yshavit (~yshavit@75-149-135-141-Connecticut.hfc.comcastbusiness.net) has left #jython
[19:13] * juneau001 (~juneau@131.225.24.162) Quit (Quit: juneau001)
[20:01] * thijstriemstra (~thijs@h183107.upc-h.chello.nl) Quit (Quit: Leaving.)
[21:52] * Oti (~ohumbel@xdsl-188-155-123-84.adslplus.ch) has joined #jython
[22:39] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[23:20] * Oti (~ohumbel@xdsl-188-155-123-84.adslplus.ch) Quit (Quit: Oti)

Index

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