#jython IRC Log

Index

IRC Log for 2015-04-21

Timestamps are in GMT/BST.

[8:26] -wilhelm.freenode.net- *** Looking up your hostname...
[8:26] -wilhelm.freenode.net- *** Checking Ident
[8:26] -wilhelm.freenode.net- *** No Ident response
[8:26] -wilhelm.freenode.net- *** Couldn't look up your hostname
[8:26] * JythonLogBot (~PircBot@74.50.59.201) has joined #jython
[8:26] * Topic is 'Try Jython 2.7rc2 at http://tinyurl.com/nxdnt8e | This channel is logged: http://jython.extreme.st/irclogs/ | Please update the wiki: http://wiki.python.org/jython | Jython Book: http://jythonbook.com | Podcast: http://jython.org/jythonpodcast/'
[8:26] * Set by agronholm!~agronholm@nblzone-211-20.nblnetworks.fi on Fri Apr 10 02:48:03 UTC 2015
[8:26] * ohumbel (5390f784@gateway/web/freenode/ip.83.144.247.132) has joined #jython
[8:27] * ebarrett (~edd@vext01.default.vext01.uk0.bigv.io) Quit (Remote host closed the connection)
[8:31] * mbooth (~mbooth@84.93.98.232) has joined #jython
[8:31] * mbooth (~mbooth@84.93.98.232) Quit (Changing host)
[8:31] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[9:19] * ebarrett (~edd@vext01.default.vext01.uk0.bigv.io) has joined #jython
[9:30] * mbooth (~mbooth@redhat/mbooth) Quit (Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number)
[9:31] * mbooth (~mbooth@84.93.98.232) has joined #jython
[9:31] * mbooth (~mbooth@84.93.98.232) Quit (Changing host)
[9:31] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[12:49] * Moogly_ (~quassel@67-8-127-164.res.bhn.net) has joined #jython
[13:08] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[13:40] * Moogly_ (~quassel@67-8-127-164.res.bhn.net) Quit (Ping timeout: 244 seconds)
[13:41] * Moogly_ (~quassel@67-8-127-164.res.bhn.net) has joined #jython
[14:06] * xemdetia (xemdetia@nat/ibm/x-hliumnsrcxfhedph) has joined #jython
[14:53] <jimbaker> peke, sounds good about the testing
[14:54] <jimbaker> would love to get feedback on aix, hpux, solaris, bsd, alternative JVMs... i just test on windows 8.1, ubuntu 14.10, and os x 10.10
[14:55] <jimbaker> with openjdk and oracle jdk
[15:01] * stewori (~stefan@ppp-93-104-160-118.dynamic.mnet-online.de) has joined #jython
[15:37] * Moogly_ (~quassel@67-8-127-164.res.bhn.net) Quit (Remote host closed the connection)
[16:22] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 256 seconds)
[17:10] * stewori (~stefan@ppp-93-104-160-118.dynamic.mnet-online.de) Quit (Quit: Leaving.)
[17:26] * agronholm (~agronholm@2001:1bc8:102:6f29:3844:de84:a5f2:857) Quit (Ping timeout: 265 seconds)
[17:30] * agronholm (~agronholm@nblzone-211-20.nblnetworks.fi) has joined #jython
[17:30] * ChanServ sets mode +o agronholm
[18:04] * mbooth (~mbooth@cpc11-shef10-2-0-cust659.barn.cable.virginm.net) has joined #jython
[18:04] * mbooth (~mbooth@cpc11-shef10-2-0-cust659.barn.cable.virginm.net) Quit (Changing host)
[18:04] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[18:56] * stewori (~stefan@ppp-93-104-160-118.dynamic.mnet-online.de) has joined #jython
[19:09] <agronholm> I pushed the modified Lib/os.py to the jython3 repo -- fwierzbicki1, mind checking it out when you have time?
[19:12] <agronholm> if this approach is fine, I can probably delete some other patches straight away
[19:13] * xemdetia_ (xemdetia@nat/ibm/x-ulrtrtzzatncxncn) has joined #jython
[19:17] * xemdetia (xemdetia@nat/ibm/x-hliumnsrcxfhedph) Quit (Ping timeout: 256 seconds)
[19:21] <agronholm> another thing -- should we stick with JYTHONPATH or respect PYTHONPATH?
[19:46] <jimbaker> agronholm, i think PYTHONPATH is the right approach
[19:47] <agronholm> ok
[19:56] <agronholm> I've opened new PRs in both setuptools and virtualenv that should remove some roadblocks for jython compatibility
[20:10] <agronholm> jimbaker: I simply renamed JYTHONPATH to PYTHONPATH everywhere (on 3.5)
[20:11] <agronholm> what's the best way to check (from the java code) if we're on Windows?
[22:02] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 264 seconds)
[22:14] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[22:23] * stewori (~stefan@ppp-93-104-160-118.dynamic.mnet-online.de) Quit (Quit: Leaving.)
[22:42] * xemdetia_ (xemdetia@nat/ibm/x-ulrtrtzzatncxncn) Quit (Ping timeout: 248 seconds)
[22:47] <jimbaker> agronholm, http://docs.oracle.com/javase/7/docs/api/java/lang/System.html#getProperties%28%29
[22:47] <jimbaker> specifically os.name
[22:48] * Moogly_ (~quassel@67-8-127-164.res.bhn.net) has joined #jython
[22:48] <agronholm> ok, I did that already
[22:49] <agronholm> I've written code that figures out the return value for sys.getfilesystemencoding()
[23:11] <peke> agronholm: is that applicable also in 2.7? would be great.
[23:14] <agronholm> peke: it should be
[23:15] <agronholm> since it returns None now, I doubt anything will break if we add this to 2.7.1 :)
[23:15] <peke> agronholm: yeah, that ought to be safe. assuming that it returns a correct value, of course.
[23:16] <agronholm> turns out Charset.defaultEncoding() is not the answer -- instead I looked at CPython's code and imitated that
[23:16] <agronholm> one problem is that for Windows the answer is "mbcs" but using that as codec fails on jython obviously
[23:17] <agronholm> mbcs is really just a pointer to whatever codec is currently configured, and I'm not sure what that is in practice
[23:23] <peke> agronholm: here's an issue i submitted about sys.getfilesystemencoding few years ago: http://bugs.jython.org/issue1839
[23:23] <peke> it has some valuable comments by jimbaker
[23:24] <jimbaker> glad it was recorded somewhere, i have completely forgotten at this point
[23:24] <jimbaker> :)
[23:25] <agronholm> should we use file.encoding for something?
[23:25] <agronholm> right now I just did what CPython does
[23:26] <jimbaker> one of the things i least liked about working on 2.7.0 was unnecessary complexity like this. good for compatibility, yes. but not terribly fun either
[23:27] <jimbaker> right now, i plan to spend time on clamp again, which is far more interesting. also good for the minecraft work w/ eatkin
[23:28] <agronholm> peke: any opinions?

Index

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