#jython IRC Log (v0.9)

Index

IRC Log for 2015-06-01

Timestamps are in GMT/BST.

[2:04] * koo6 (~koo5@236.152.broadband3.iol.cz) Quit (Ping timeout: 256 seconds)
[5:42] * cinterloper (~grant@iowntheinter.net) has joined #jython
[5:42] <cinterloper> hello, is the jythonc utility missing from the new 2.7 release?
[5:43] <cinterloper> is there documentation on how to use 2.7 to compile a java class file?
[7:18] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) Quit (Quit: Leaving)
[8:11] * jorgew (sid36089@gateway/web/irccloud.com/x-zmvhqhmwrbahpglx) Quit (Ping timeout: 256 seconds)
[8:12] * jorgew (sid36089@gateway/web/irccloud.com/x-pycazbfczqrfjumf) has joined #jython
[8:40] * mbooth (~mbooth@redhat/mbooth) Quit (Quit: Leaving)
[8:40] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[12:30] <agronholm> cinterloper: jythonc was already dropped in 2.5
[12:34] <ztane> agronholm: what would be the next task to work on? :D
[12:35] <agronholm> ztane: there's a whole bunch of stdlib patches that need work
[12:35] <agronholm> in order to apply cleanly
[12:35] <agronholm> need to figure out how much patching is relevant in 3.5
[12:36] <agronholm> but it may be necessary to get the internals to work first
[12:36] <agronholm> I'm afraid the low hanging fruits may already be gone
[12:37] <agronholm> there are some features still missing from the grammar
[12:37] <agronholm> you'll have to coordinate with fwierzbicki on that
[12:38] <agronholm> the async/await feature comes to mind
[12:38] <agronholm> ztane: fixing the regrtest.py patch would really help
[12:39] <ztane> I do not know about the grammar thing at all
[12:39] <ztane> antlr is like ......
[12:39] <ztane> to me :D
[12:39] <ztane> who's the grammar guru?
[12:39] <ztane> the AST is still a bit wrong, though it might parse right
[12:39] <agronholm> fwierzbicki is the one who's been working on that
[12:40] <ztane> ah function annotations are missing too
[12:40] <ztane> they're not parsed at all currently
[12:40] <agronholm> oh right
[12:40] <agronholm> those should be fixed, and it shouldn't be hard
[12:40] <agronholm> I know something about grammars since I developed one mini-grammar with antlr 2.x
[12:41] <agronholm> but I don't remember a lot of the antlr syntax
[13:12] * jimbaker (~jbaker@python/psf/jimbaker) Quit (Ping timeout: 244 seconds)
[13:13] * jimbaker (~jbaker@c-24-9-252-60.hsd1.co.comcast.net) has joined #jython
[13:13] * jimbaker (~jbaker@c-24-9-252-60.hsd1.co.comcast.net) Quit (Changing host)
[13:13] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[13:13] * ChanServ sets mode +o jimbaker
[13:15] <ztane> hmm
[13:15] <ztane> the syntax error cursor is off by one methinks :D
[13:15] <ztane> or the parser works in a different way?
[13:16] <ztane> s/cursor/caret/
[13:16] <ztane> a = [42]; {*a} does not work either, but it could be left last :D
[13:39] * xemdetia (xemdetia@nat/ibm/x-bdutrptokqfixnbv) has joined #jython
[13:46] * koo6 (~koo5@236.152.broadband3.iol.cz) has joined #jython
[14:41] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[16:04] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) has joined #jython
[16:08] <cinterloper> @ztane my question stems from i ran the jython 2.7 full installer, but there is no 'jythonc' in the bin/ directory, so where do i get it from?
[16:11] <cinterloper> ok i see that it was 'replaced', but i guess im asking what replaces it to generate a native java class?
[16:34] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) Quit (Quit: Leaving)
[16:50] <ztane> cinterloper: sorry I am probably not the correct person to answer that :D
[16:50] <ztane> I have never used Jython 2.7 :D
[17:37] <agronholm> cinterloper: clamp
[17:38] <agronholm> https://github.com/jythontools/clamp
[17:56] <ztane> hhmhmhm
[17:56] <ztane> I could contribute something more but I am waiting for my PR to be reviewed :D
[17:56] <ztane> to not make more mistakes :d
[17:57] <ztane> merging the PyUnicode and PyString could be annoying methinks :P
[18:15] <cinterloper> ah thx
[18:15] <cinterloper> im sad theres not any Jython support in Vert.X 3.0, and was looking for a way to run my python code. thank you.
[18:34] <fwierzbicki> Hi ztane - The author of PyByteArray (Jeff Allen) doesn't watch IRC - but he does generally respond well on the jython-dev mailing list. He's the one that would be most able to look at your PyBytes
[18:35] <fwierzbicki> As far as the grammar goes, yeah it is not at all right yet - I'm juggling 2.7 and 3.5 compatibility for the moment so I can still run regression tests (with a hacked up local copy) using 2.7 libs
[18:35] <fwierzbicki> all that will change when I can get regrtest to even barely work with a 3.x Lib
[18:36] <fwierzbicki> it's ugly keeping 2.x and 3.x going at the same time
[18:36] <fwierzbicki> probably that is why print() acts funny - once the print statement is completely gone that should be easy to iron out
[18:38] <agronholm> fwierzbicki: -1 on keeping 2.x
[18:38] <fwierzbicki> agronholm: I agree completely
[18:38] <fwierzbicki> it's just a temporary expedient so I can run regressions for sanity
[18:38] <agronholm> I understand
[18:39] <fwierzbicki> For example I desperately want to delete old style classes :)
[18:40] <agronholm> if it was just me, I'd add all the new grammar features first
[18:41] <agronholm> but I don't even understand antlr 3 syntax
[18:41] <agronholm> I looked at the grammar -- seems like the author of antlr wrote it
[18:41] <fwierzbicki> oh yeah - the moment I can run regressions on a 3.x lib, I'll switch to a pure 3.x grammar.
[18:42] <fwierzbicki> It did begin that way
[18:43] <fwierzbicki> Terence Parr wrote a basic grammar (but with no actions - just the basic grammar)
[18:43] <fwierzbicki> Most of the rest is me (and lots of little changes to the original grammar) I think his was for Python 2.3
[18:44] <fwierzbicki> for good and bad, it is the only significant antlr I have done - and it definitely has some rough edges
[18:44] <fwierzbicki> I hope to give it a good cleaning when I port it to antlr4
[18:44] <agronholm> fwierzbicki: I would very much like to understand the grammar
[18:45] <agronholm> I've only written one grammar, and that was rather simplistic, and for antlr 2
[18:45] <fwierzbicki> The file in CPython's Grammar/Grammar acts like a nice summary
[18:45] <fwierzbicki> it is in the comments like:
[18:46] <fwierzbicki> testlist_star_expr: (test|star_expr) (',' (test|star_expr))* [',']
[18:46] <fwierzbicki> (starting with two / marks)
[18:46] <fwierzbicki> IRC won't let me put that in
[18:47] <agronholm> // <- it won't let you write this?
[18:49] <fwierzbicki> no
[18:49] <fwierzbicki> I get "The IRC server received a message it did not understand."
[18:49] <agronholm> heh
[18:50] <fwierzbicki> probably a shortcoming of using Adium for IRC
[18:50] <fwierzbicki> The one for 2.5 stripped of all actions is here: http://www.antlr3.org/grammar/1200715779785/Python.g
[18:52] <Arfrever> Try start message with \/
[18:52] <fwierzbicki> \/\/
[18:52] <fwierzbicki> ha
[18:52] <fwierzbicki> \/
[18:53] <fwierzbicki> oh well, that's ok - in I don't know how many years that was the first time it came up
[18:53] <Arfrever> /
[18:54] <Arfrever> Above was written as \/ in KVIrc.
[18:54] <fwierzbicki> "//"
[18:55] <fwierzbicki> "//
[18:55] <fwierzbicki> so I could start with a quote and it would work
[18:55] <fwierzbicki> /
[18:55] <fwierzbicki> or even a space funny
[18:57] <agronholm> fwierzbicki: I read the antlr 4 no longer generates an AST. I this a problem for us?
[18:58] <agronholm> or do we already construct our own AST?
[18:58] <agronholm> https://theantlrguy.atlassian.net/wiki/pages/viewpage.action?pageId=1900596
[19:01] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[19:03] <xemdetia> well it makes sense to let you manage your own ast
[19:03] <xemdetia> what one person needs as their ast is rarely universal
[19:09] <ztane> fwierzbicki: hehe thanks for info, I just recently joined the jython-dev list so I don't even have any mails to hit reply on :D
[19:11] <ztane> and the archives are not that easy to search... now if the list was on google groups...
[19:15] <xemdetia> ztane, is the sourceforge search not working for you?
[19:16] <ztane> does sourceforge work?
[19:16] <ztane> no, not for my definition of work, unless work == gives headache
[19:16] <ztane> if one searches for emails there, one will get a list of email titles, yay.
[19:17] <ztane> subjects, like "x" and "re: x"
[19:17] <xemdetia> http://sourceforge.net/p/jython/mailman/jython-dev/ does an okay search
[19:26] <fwierzbicki> agronholm: no our AST is custom
[19:26] <fwierzbicki> so we are fine
[19:27] <fwierzbicki> we may want to look at the listeners vs the actions - but it looks like actions are still supported (if not encouraged )
[19:28] <fwierzbicki> I mean they are clearly discouraged but allowed :)
[20:02] <ztane> fwierzbicki: what would you need to run completely 3?
[20:08] <fwierzbicki> ztane: I think the biggest blockers are nonlocal, super() and "yield from" ??? jimbaker is working on nonlocal and I'm working on nonlocal (and super() would change in close to the same place as nonlocal, so I'll probably get that one too)
[20:09] <fwierzbicki> but that's the blockers I see when I try - there are surely others
[20:09] <fwierzbicki> but those come up first.
[20:09] <fwierzbicki> oops jimbaker is working on "yield from"
[20:09] <fwierzbicki> the rest is accurate :)
[20:11] <ztane> function annotations are still not parsed either, did they put any of them in stdlib yet?
[20:20] <fwierzbicki> I don' t think there is much use of that yet - but there will be in the future. I saw a lot of discussion on type hinting on python-dev recently
[20:21] <fwierzbicki> I added some annotation support in the grammar, but it definitely isn't finished. If it blocks regrtest I would probably do that next
[20:21] <fwierzbicki> but I don't think it does
[20:27] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) has joined #jython
[20:38] * lheuer1 (~Adium@89.204.139.187) has joined #jython
[20:39] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 264 seconds)
[22:00] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[22:19] * xemdetia (xemdetia@nat/ibm/x-bdutrptokqfixnbv) Quit (Ping timeout: 272 seconds)
[22:23] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) Quit (Remote host closed the connection)
[22:23] * eatkin (~eatkin@166.70.212.121) Quit (Ping timeout: 256 seconds)
[22:24] * eatkin (~eatkin@166.70.212.121) has joined #jython
[22:24] * gsnedders (~gsnedders@5.2.16.23) Quit (Ping timeout: 256 seconds)
[22:24] * gsnedders (~gsnedders@5.2.16.23) has joined #jython
[22:29] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[22:30] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Client Quit)
[22:31] * lheuer1 (~Adium@89.204.139.187) Quit (Read error: Connection reset by peer)

Index

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