#jython IRC Log (v0.9)

Index

IRC Log for 2011-01-07

Timestamps are in GMT/BST.

[0:03] <agronholm> pjenvey: ?
[0:17] <pjenvey> agronholm - sorry, i'm updating the bug
[0:18] * headius (~headius@216.160.3.79) Quit (Quit: headius)
[0:28] <agronholm> entry = entry.__str__();
[0:28] <agronholm> won't this cause the same problem?
[0:28] <agronholm> oh sorry
[0:28] <agronholm> I missed the negation
[0:29] <agronholm> does python allow values other than str/unicode as sys.path elements?
[0:30] * enebo (~enebo@184-97-205-152.mpls.qwest.net) Quit (Quit: enebo)
[0:32] <agronholm> hm no it doesn't
[0:32] <agronholm> CPython seems to ignore all values that aren't str/unicode
[0:32] <agronholm> is there any reason why Jython tries to convert them to strings?
[0:32] <pjenvey> are you getting at how we're calling __str__ on anything from sys.path. which could be make a '1' a '"1"'
[0:33] <pjenvey> that could be another bug there, sure
[0:33] <agronholm> erm, '1'.__str__() is still '1'
[0:34] <agronholm> nevertheless, the string conversion needs to die
[0:35] <pjenvey> maybe we guard against that somewhere, but I kind of doubt it
[0:35] <pjenvey> CPython does a check and just skips it if it's not str/unicode
[0:36] <agronholm> as should Jython
[0:36] <pjenvey> we'd might have to make that fix in those 3 places in my patch, I think they all look into sys.path
[0:37] <pjenvey> we'd need another test case
[0:38] * yacc (~andreas@84.113.164.165) Quit (Ping timeout: 240 seconds)
[0:45] * Laureano (~Laureano@190.245.101.163) has joined #jython
[0:50] <agronholm> is there a particular reason why jython returns None from sys.getfilesystemencoding()?
[0:52] <pjenvey> it hasn't been implemented yet, basically. like I said in 2.2, where unicode/str were basically the same thing
[0:52] <pjenvey> it didn't even make sense back then
[0:52] <agronholm> couldn't it just return the value of System.getProperty('file.encoding')
[0:53] <agronholm> not sure what it returns on Windows though
[0:53] <pjenvey> http://bugs.jython.org/issue1658
[0:53] <pjenvey> i talk about it there some
[0:53] <pjenvey> it's 'mbcs' on windows
[0:53] <pjenvey> I mean, python's filesystem encoding is. Java file.encoding on windows is dependent on the locale
[0:55] <pjenvey> when we make PyString backed by real bytes (in 2.6 maybe), we definitely need to support file system encoding
[0:55] * yacc (~andreas@194.48.133.8) has joined #jython
[1:16] <pjenvey> agronholm - i committed that patch
[1:16] <pjenvey> you're CC'd, like you didn't already know anyway
[1:16] <pjenvey> I suppose we should do another RC with all the fixes we've got since the last one. though I really don't want to, I want to release 2.5.2 yesterday
[1:18] <agronholm> pjenvey: wouldn't it have been easier to ignore everything except PyString/PyUnicode like CPython does?
[1:18] <agronholm> just wondering
[1:18] <pjenvey> that fix wouldn't have done anything for #1658
[1:18] <pjenvey> if that's what you mean
[1:19] <agronholm> oh
[1:42] * yacc (~andreas@194.48.133.8) Quit (Ping timeout: 240 seconds)
[2:04] * yacc (~andreas@194.48.133.8) has joined #jython
[2:07] * thobe (~Adium@83.249.247.186) Quit (Ping timeout: 240 seconds)
[2:35] * lopex (lopex@89-76-44-27.dynamic.chello.pl) Quit ()
[4:22] * Laureano (~Laureano@190.245.101.163) Quit (Ping timeout: 240 seconds)
[6:18] * agronholm (~demigod@nblzone-211-37.nblnetworks.fi) Quit (Quit: KVIrc 4.0.2 Insomnia http://www.kvirc.net/)
[8:01] * Oti (~ohumbel@210-228-221-213-pool.cable.fcom.ch) has joined #jython
[8:02] <Oti> pjenvey, agronholm - thanks, wow!
[8:03] <Oti> i am now doing all the installation platform tests with a fullbuild of revision 7182
[8:04] <Oti> and, if no showstopper arises, going for rc3
[8:22] * adiroiban (~adiroiban@h194-54-129-79.teleson.ro) has joined #jython
[9:04] * thobe (~Adium@c83-249-252-226.bredband.comhem.se) has joined #jython
[9:19] * Oti (~ohumbel@210-228-221-213-pool.cable.fcom.ch) Quit (Quit: Oti)
[9:23] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[9:24] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Ping timeout: 250 seconds)
[9:32] * yacc (~andreas@194.48.133.8) Quit (Ping timeout: 260 seconds)
[10:00] * yacc (~andreas@194.48.133.8) has joined #jython
[10:02] * thobe1 (~Adium@c83-249-252-226.bredband.comhem.se) has joined #jython
[10:03] * thobe (~Adium@c83-249-252-226.bredband.comhem.se) Quit (Ping timeout: 240 seconds)
[10:08] * adiroiban (~adiroiban@h194-54-129-79.teleson.ro) has left #jython
[10:11] * lopex (531346b2@gateway/web/freenode/ip.83.19.70.178) has joined #jython
[10:26] * thijstriemstra (~thijstrie@2002:5450:63c5:1234:219:e3ff:fed6:8355) has joined #jython
[11:58] * juneau001 (~juneau@pool-68-238-10-50.chi.dsl-w.verizon.net) has joined #jython
[12:01] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[12:50] * jabley_ (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[12:53] * thijstriemstra (~thijstrie@2002:5450:63c5:1234:219:e3ff:fed6:8355) Quit (Read error: Operation timed out)
[12:53] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Ping timeout: 240 seconds)
[12:53] * jabley_ is now known as jabley
[12:59] * thijstriemstra (~thijstrie@2002:5450:63c5:1234:219:e3ff:fed6:8355) has joined #jython
[13:26] * jabley_ (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[13:28] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Ping timeout: 240 seconds)
[13:28] * jabley_ is now known as jabley
[13:31] * seberg (~sebastian@134.76.218.252) has joined #jython
[14:46] * agronholm (~demigod@nblzone-211-37.nblnetworks.fi) has joined #jython
[15:04] * tlynn (~tlynn@212.69.41.1) Quit (Ping timeout: 265 seconds)
[15:23] * tlynn (~tlynn@212.69.41.1) has joined #jython
[16:18] * lopex (531346b2@gateway/web/freenode/ip.83.19.70.178) Quit ()
[16:40] * stakkars_ (~tismer@89.204.137.71) has joined #jython
[16:52] * takeshita_kenji (~takeshita@c-24-19-4-122.hsd1.wa.comcast.net) has joined #jython
[16:52] * stakkars_ (~tismer@89.204.137.71) Quit (Quit: schnarch)
[16:52] <takeshita_kenji> Hello everyone. I'm having a bit of trouble with writing some Jython involving file I/O.
[17:04] * juneau001 (~juneau@pool-68-238-10-50.chi.dsl-w.verizon.net) Quit (Quit: juneau001)
[17:07] * MarderIII (~marderii@enneman.demon.nl) has joined #jython
[17:14] * lopex (lopex@89-76-44-27.dynamic.chello.pl) has joined #jython
[17:18] * yacc (~andreas@194.48.133.8) Quit (Ping timeout: 272 seconds)
[17:25] * seberg (~sebastian@134.76.218.252) Quit (Quit: Ex-Chat)
[17:31] * yacc (~andreas@84.113.164.165) has joined #jython
[17:33] * takeshita_kenji (~takeshita@c-24-19-4-122.hsd1.wa.comcast.net) Quit (Quit: leaving)
[17:38] * MarderIII (~marderii@enneman.demon.nl) Quit (Quit: leaving)
[17:47] * juneau001 (~juneau@131.225.24.175) has joined #jython
[18:02] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Quit: jabley)
[18:07] * fwierzbicki_ (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Ex-Chat)
[18:12] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[18:16] * seberg (~sebastian@134.76.0.204) has joined #jython
[18:31] * seberg (~sebastian@134.76.0.204) Quit (Quit: Ex-Chat)
[19:01] * thijstriemstra (~thijstrie@2002:5450:63c5:1234:219:e3ff:fed6:8355) Quit (Quit: thijstriemstra)
[19:25] * headius (~headius@216.160.3.79) has joined #jython
[19:28] * stakkars_ (~tismer@brln-4db85a73.pool.mediaWays.net) has joined #jython
[19:46] * enebo (~enebo@184-97-205-152.mpls.qwest.net) has joined #jython
[20:13] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[20:16] * juneau001 (~juneau@131.225.24.175) Quit (Quit: juneau001)
[20:29] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Ping timeout: 240 seconds)
[20:44] * stakkars_ (~tismer@brln-4db85a73.pool.mediaWays.net) Quit (Quit: schnarch)
[20:47] * enebo (~enebo@184-97-205-152.mpls.qwest.net) Quit (Read error: Connection reset by peer)
[20:47] * enebo (~enebo@184-97-205-152.mpls.qwest.net) has joined #jython
[21:03] * yacc (~andreas@84.113.164.165) Quit (Ping timeout: 272 seconds)
[21:06] * yacc (~andreas@194.48.133.8) has joined #jython
[21:24] * yacc (~andreas@194.48.133.8) Quit (Ping timeout: 240 seconds)
[21:30] * yacc (~andreas@194.48.133.8) has joined #jython
[21:35] * yacc (~andreas@194.48.133.8) Quit (Ping timeout: 240 seconds)
[21:38] * yacc (~andreas@194.48.133.8) has joined #jython
[22:15] * juneau001 (~juneau@pool-68-238-10-50.chi.dsl-w.verizon.net) has joined #jython
[22:16] * lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) has joined #jython
[22:37] * yacc (~andreas@194.48.133.8) Quit (Ping timeout: 240 seconds)
[22:47] * enebo (~enebo@184-97-205-152.mpls.qwest.net) Quit (Read error: Connection reset by peer)
[22:47] * enebo (~enebo@184-97-205-152.mpls.qwest.net) has joined #jython
[23:00] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[23:07] * lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) Quit (Remote host closed the connection)
[23:22] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[23:40] * headius (~headius@216.160.3.79) Quit (Quit: headius)
[23:41] * headius (~headius@216.160.3.79) has joined #jython
[23:43] * headius (~headius@216.160.3.79) Quit (Client Quit)
[23:47] * enebo (~enebo@184-97-205-152.mpls.qwest.net) Quit (Read error: Connection reset by peer)
[23:47] * enebo (~enebo@184-97-205-152.mpls.qwest.net) has joined #jython

Index

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