#jython IRC Log

Index

IRC Log for 2014-08-15

Timestamps are in GMT/BST.

[2:00] * jimbaker (~jbaker@24.9.252.60) has joined #jython
[2:11] * jimbaker (~jbaker@24.9.252.60) Quit (Quit: Computer has gone to sleep.)
[3:36] * jimbaker (~jbaker@24.9.252.60) has joined #jython
[4:15] * jimbaker (~jbaker@24.9.252.60) Quit (Quit: Computer has gone to sleep.)
[4:17] * antkong (~antkong@202.7.188.162) has joined #jython
[4:51] * jimbaker (~jbaker@24.9.252.60) has joined #jython
[4:51] * thegeekinside (~thegeekin@customer-189-217-188-152.cablevision.net.mx) has joined #jython
[5:01] * jimbaker (~jbaker@24.9.252.60) Quit (Quit: Computer has gone to sleep.)
[5:05] * antkong (~antkong@202.7.188.162) Quit (Ping timeout: 245 seconds)
[5:54] * thegeekinside (~thegeekin@customer-189-217-188-152.cablevision.net.mx) Quit (Ping timeout: 264 seconds)
[6:11] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[7:42] * jimbaker (~jbaker@24.9.252.60) has joined #jython
[7:46] * jimbaker (~jbaker@24.9.252.60) Quit (Ping timeout: 246 seconds)
[9:03] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[9:16] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[9:16] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[9:23] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[9:23] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[9:31] <peke> FWIW, i agree with yecril71pl that `from __future__ import unicode_literals` is bad. and we are not the only ones thinking so, avoiding it was actually one of the main reasons u'' was added back in 3.3.
[9:33] <peke> same with `from __future__ import division`. it's super annoying if you look at a line in an editor, or in diff, and cannot know what it actually does without knowing what magic is imported at the top of the module.
[9:33] <agronholm> unicode by default is only a problem on python 2 though
[9:33] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 272 seconds)
[9:34] <peke> true. but solutions that require magically changing semantics aren't too good.
[9:35] <peke> not all future imports are bad, though. for example `from __future__ import with_statement` is A+. it doesn't change the behavior of `with open(paht) as f`.
[9:35] <Arfrever> peke: I prefer to use 'from __future__ import unicode_literals' than u"" literals.
[9:37] <peke> Arfrever: matter of taste i guess. i don't like it (or `... division`) in general, but would be fine with them if a project clearly dictates that _all_ modules must have them.
[9:38] <Arfrever> (Neither of projects, whereto I contribute, still support Python <2.6.)
[9:55] * thegeekinside (~thegeekin@customer-189-217-188-152.cablevision.net.mx) has joined #jython
[9:59] * thegeekinside (~thegeekin@customer-189-217-188-152.cablevision.net.mx) Quit (Ping timeout: 255 seconds)
[10:26] * xemdetia (~xemdetia@pool-100-40-48-122.prvdri.fios.verizon.net) has joined #jython
[11:10] * xemdetia (~xemdetia@pool-100-40-48-122.prvdri.fios.verizon.net) Quit (Ping timeout: 240 seconds)
[12:20] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[12:33] * gthank (~gthank@unaffiliated/gthank) has joined #jython
[12:44] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[12:46] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[13:07] * thegeekinside (~thegeekin@187-177-152-172.reservada.static.axtel.net) has joined #jython
[13:14] * fwierzbicki1 (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[13:21] * Oti (~ohumbel@adsl-178-39-145-123.adslplus.ch) Quit (*.net *.split)
[13:21] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (*.net *.split)
[13:21] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (*.net *.split)
[13:24] * Oti (~ohumbel@adsl-178-39-145-123.adslplus.ch) has joined #jython
[13:28] * xemdetia (xemdetia@nat/ibm/x-bonemxseeenfkyaj) has joined #jython
[13:41] * mbooth (~mbooth@cpc68386-shef10-2-0-cust10.17-1.cable.virginm.net) Quit (Ping timeout: 264 seconds)
[14:32] * xemdetia_ (xemdetia@nat/ibm/x-bubcstvxivnwbsad) has joined #jython
[14:33] * xemdetia (xemdetia@nat/ibm/x-bonemxseeenfkyaj) Quit (Ping timeout: 264 seconds)
[14:33] * xemdetia_ (xemdetia@nat/ibm/x-bubcstvxivnwbsad) Quit (Read error: Connection reset by peer)
[14:33] * xemdetia (xemdetia@nat/ibm/x-btcirmlpvsbmeezs) has joined #jython
[14:42] * mbooth (~mbooth@cpc68386-shef10-2-0-cust10.17-1.cable.virginm.net) has joined #jython
[15:21] * thegeekinside (~thegeekin@187-177-152-172.reservada.static.axtel.net) Quit (Quit: Lingo - http://www.lingoirc.com)
[16:53] * xemdetia (xemdetia@nat/ibm/x-btcirmlpvsbmeezs) Quit (Ping timeout: 250 seconds)
[17:13] * Oti (~ohumbel@adsl-178-39-145-123.adslplus.ch) Quit (Quit: Oti)
[17:16] * Oti (~ohumbel@adsl-178-39-145-123.adslplus.ch) has joined #jython
[17:22] * Oti (~ohumbel@adsl-178-39-145-123.adslplus.ch) Quit (Quit: Oti)
[17:43] * Oti (~ohumbel@adsl-178-39-145-123.adslplus.ch) has joined #jython
[17:47] * Oti (~ohumbel@adsl-178-39-145-123.adslplus.ch) Quit (Client Quit)
[18:30] * xemdetia (xemdetia@nat/ibm/x-ubcwwyhzidvyhqcd) has joined #jython
[18:34] * xemdetia_ (xemdetia@nat/ibm/x-puttsslyerbzcodm) has joined #jython
[18:34] * xemdetia (xemdetia@nat/ibm/x-ubcwwyhzidvyhqcd) Quit (Read error: Connection reset by peer)
[18:59] * jonross (~jross@hq.tripadvisor.com) has joined #jython
[18:59] * jonross (~jross@hq.tripadvisor.com) Quit (Client Quit)
[18:59] * jonross (~jross@hq.tripadvisor.com) has joined #jython
[19:10] <jonross> Hi all??? anyone know if there is a way to Class.forName(???).newInstance() a Jython-defined class?
[19:53] * jonross (~jross@hq.tripadvisor.com) has left #jython
[19:56] <jimbaker> jonross, you want to take a look at clamp
[19:56] <jimbaker> that almost certainly is supporting what you're trying to do
[19:56] <jimbaker> https://github.com/jimbaker/clamped
[20:25] <gthank> jimbaker: How was Europython?
[20:52] * mdwilson (~mdwilson@adcom190.adcom.uci.edu) has joined #jython
[20:52] <mdwilson> Hi! I am trying to use requests in jython but I am getting an error about "no module named netty"
[20:53] <mdwilson> This is probably a super basic question....
[21:05] <mdwilson> Nevermind, I just had to stick the netty jar in the classpath
[21:06] <mdwilson> (I know nothing of Java)
[21:06] <jimbaker> gthank, very productive
[21:06] <jimbaker> mdwilson, this should be done for you via the jython script
[21:06] <jimbaker> bin/jython
[21:07] <jimbaker> you can see what classpath it will compute with bin/jython --print
[21:07] <mdwilson> It's a little more complicated because I'm using tomcat, but that is good to know
[21:07] <jimbaker> this script in turn executes the actual jython jar
[21:08] <jimbaker> sure, so still useful for figuring out some dependencies. an alternative is to build an all-in-one (all of jython + dependencies) or a single jar (+ libraries)
[21:08] <jimbaker> including site-packages. something clamp is suppose to help with fwiw
[21:10] <jimbaker> gthank, if there's any downside to travel, it's that i'm just catching up on the more day-to-day stuff in getting jython out
[21:12] <gthank> jimbaker Well, welcome back! BTW, I left IBM so no more 'whg' for now
[21:13] <jimbaker> gthank, any plans to use jython in new work?
[21:14] <gthank> jimbaker: The Python stuff here is all Python 3 at the moment, so let's put that under "Maybe in the future"
[21:15] <jimbaker> gthank, wow, a python 3 shop. congrats!
[21:15] <gthank> Heh. Thanks
[21:15] <gthank> It's nice
[21:16] <jimbaker> gthank, fwiw, we're planning to start work on jython 3.x at pycon next april
[21:16] <gthank> Oh nice!
[21:16] <gthank> I'll keep my eyes peeled
[21:17] <jimbaker> gthank, you got to go of course to pycon. it will be fun!
[21:18] <gthank> They have to bring it back to Atlanta or maybe put it in Seattle
[21:18] <gthank> (new company's CEO is out in Seattle)
[21:19] <gthank> I'll try to catch up with you some more next week; gotta run some errands before traffic gets completely out of whack
[21:27] <jimbaker> gthank, np, talk to you then
[21:27] * xemdetia_ (xemdetia@nat/ibm/x-puttsslyerbzcodm) Quit (Ping timeout: 272 seconds)
[22:08] * pjenvey_ is now known as pjenvey
[22:49] * mdwilson (~mdwilson@adcom190.adcom.uci.edu) Quit (Quit: Leaving)
[23:05] <agronholm> jimbaker: I'm seeing the same socket exceptions as before when doing "ant test"
[23:05] <agronholm> are you not?
[23:06] <agronholm> the netty related IOExceptions

Index

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