#jython IRC Log


IRC Log for 2015-06-06

Timestamps are in GMT/BST.

[1:05] * xemdetia (xemdetia@nat/ibm/x-ptnrsijhbqckmfey) Quit (Ping timeout: 276 seconds)
[1:15] <pdurbin> Manfred Riem on Twitter: "Added Jython example to the JSR-223 ViewEngine examples. Nice to re-use an older JSR. Now see what other scripting languages to test ;)" - https://twitter.com/mnriem/status/606911275541491713
[1:15] <pdurbin> Does anyone know where that code is?
[2:43] * gopar (~gopar@2602:306:36ca:3440:84be:67b1:9d23:75a5) has joined #jython
[3:03] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Quit: Ex??re)
[3:39] * gopar (~gopar@2602:306:36ca:3440:84be:67b1:9d23:75a5) Quit (Quit: Leaving)
[4:31] * gopar (~gopar@2601:9:1100:4c50:a6db:30ff:fea2:873) has joined #jython
[4:43] <ztane> fwierzbicki: yet PythonPartial is using Python.g?
[7:34] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[7:34] * ChanServ sets mode +o Arfrever
[8:21] * gopar (~gopar@2601:9:1100:4c50:a6db:30ff:fea2:873) Quit (Quit: Leaving)
[12:29] * koo6 (~koo5@236.152.broadband3.iol.cz) Quit (Quit: Leaving)
[13:16] * sirdancealot (~koo5@236.152.broadband3.iol.cz) has joined #jython
[14:47] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 272 seconds)
[14:48] * mbooth (~mbooth@cpc11-shef10-2-0-cust659.barn.cable.virginm.net) has joined #jython
[14:48] * mbooth (~mbooth@cpc11-shef10-2-0-cust659.barn.cable.virginm.net) Quit (Changing host)
[14:48] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[17:36] * gopar (~gopar@2601:9:1100:4c50:a6db:30ff:fea2:873) has joined #jython
[17:56] <fwierzbicki> ztane: no PythonPartial is used separately - see src/org/python/antler/BaseParser.java and src/org/python/core/ParserFacade.java ??? in particular note that Python.g generates PythonParser.java and PythonLexer.java and PythonPartial.g generates PythonPartialParser.java and PythonPartialLexer.java. PythonPartial.g is only used for "parsePartialSentence".
[17:57] <fwierzbicki> ztane: basically, in interactive mode Python.g is tried, and if that succeeds, that is used. If it fails PythonPartial is tried, and if that succeeds, we know that it is a partial match - so we emit ??? and wait for more input, then try again
[17:58] <fwierzbicki> if PythonPartial also fails, then we emit an error
[17:58] <fwierzbicki> which is not the same as CPython - so it can be tough to get the two to match behavior sometimes
[17:58] <fwierzbicki> but in this case PythonPartial has not been updated, so crazy things will happen in interactive mode
[17:59] <fwierzbicki> especially when python3 is set to true in Python.g
[17:59] <fwierzbicki> like Python.g will disallow all print statements, but PythonPartial.g will allow them
[18:00] <ztane> fwierzbicki: ahh :D now I understand
[18:00] <fwierzbicki> once we get regrtest at least limping on python3, I'll start removing the python2 support that remains in Python.g and update PythonPartial.g
[18:00] <ztane> I was trying to remove , from except
[18:01] <ztane> but I did it only for Python full, so Python partial still continued to match.
[18:02] <fwierzbicki> So if you are interested in going after the grammar, I could be persuaded to drop trying to keep python2 functioning
[18:02] <fwierzbicki> it can't last much longer anyway: too many differences
[18:02] <ztane> I guess I am useless when it comes to modifying the grammar :D
[18:02] <ztane> beyond the simple fixes :D
[18:02] <fwierzbicki> ha it's tricky and painful
[18:02] <fwierzbicki> which is why I like to have a regrtest behind it
[18:03] <fwierzbicki> it's easy to mess things up and not always easy to know that you did
[18:03] <ztane> I understand :D
[18:04] <ztane> actually I am about to send mail to jython-dev
[18:04] <fwierzbicki> For PyBytes?
[18:07] <ztane> and about how should we name int, str in Jython 3 and that what do other ppl think about using the github issue tracker for jython 3 experimenting-related issues
[18:18] * gthank (~gthank@unaffiliated/gthank) Quit (Ping timeout: 248 seconds)
[18:23] * gthank (~gthank@thermi.strangled.net) has joined #jython
[18:23] * gthank (~gthank@thermi.strangled.net) Quit (Changing host)
[18:23] * gthank (~gthank@unaffiliated/gthank) has joined #jython
[18:25] <fwierzbicki> ztane: I'm good with using the github tracker
[18:25] <fwierzbicki> As for naming (I haven't looked into it) I'd prefer sticking as close to CPython naming as we can, unless we have good reasons not to
[18:26] <fwierzbicki> Gotta go for a while, but I'll read the logs when back
[18:30] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Ping timeout: 245 seconds)
[18:58] * maxpowa (maxpowa@ipv6.everythingisawesome.us) Quit (Ping timeout: 276 seconds)
[19:00] * maxpowa (maxpowa@ipv6.everythingisawesome.us) has joined #jython
[19:02] * AndyBotwin (~sussman@unaffiliated/andybotwin) has joined #jython
[22:05] * AndyBotwin (~sussman@unaffiliated/andybotwin) Quit (Quit: Leaving)
[23:02] * lawltoad (~lawltoad@67-207-117-178.static.wiline.com) has joined #jython
[23:02] <lawltoad> hi guys, I'm sure this is a common question but with things changing so fast I can never tell whats most up to date online... is there an easy way to use ipython for jython?
[23:48] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[23:50] * lawltoad (~lawltoad@67-207-117-178.static.wiline.com) Quit (Quit: Leaving)
[23:56] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Leaving.)


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