#jython IRC Log

Index

IRC Log for 2014-09-01

Timestamps are in GMT/BST.

[0:00] * offbyone (~offbyone@spf.ip6.is-is.ca) has joined #jython
[0:06] * jimbaker` (~jbaker@24.9.252.60) has joined #jython
[0:07] * offbyone_ (~offbyone@spf.ip6.is-is.ca) Quit (Write error: Connection reset by peer)
[0:11] * jimbaker (~jbaker@python/psf/jimbaker) Quit (Ping timeout: 250 seconds)
[0:45] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 250 seconds)
[0:48] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[0:57] * ivan` (~ivan@unaffiliated/ivan/x-000001) Quit (Remote host closed the connection)
[0:58] * ivan` (~ivan@unaffiliated/ivan/x-000001) has joined #jython
[1:01] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[1:01] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[1:05] * ivan` (~ivan@unaffiliated/ivan/x-000001) Quit (Remote host closed the connection)
[1:06] * ivan` (~ivan@unaffiliated/ivan/x-000001) has joined #jython
[1:11] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[1:12] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[1:17] * ivan` (~ivan@unaffiliated/ivan/x-000001) Quit (Remote host closed the connection)
[1:18] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 255 seconds)
[1:20] * ivan` (~ivan@unaffiliated/ivan/x-000001) has joined #jython
[2:30] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[2:36] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 245 seconds)
[3:31] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[3:48] * swiftkey (swiftkey@2600:3c03::f03c:91ff:feae:aac) Quit (Changing host)
[3:48] * swiftkey (swiftkey@unaffiliated/swiftkey) has joined #jython
[6:44] * r0bby_ (~wakawaka@guifications/user/r0bby) has joined #jython
[6:44] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 250 seconds)
[7:17] * r0bby_ (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 260 seconds)
[7:18] * r0bby_ (~wakawaka@guifications/user/r0bby) has joined #jython
[7:22] * r0bby_ is now known as robbyoconnor
[7:32] * a42niem (~niem@p578b7daf.dip0.t-ipconnect.de) has joined #jython
[9:11] <topi`_> hm, it seems Jython does not convert HashMaps into python dicts, since I got :
[9:11] <topi`_> for i in m.keys():
[9:11] <topi`_> AttributeError: 'java.util.HashMap' object has no attribute 'keys'
[9:11] <topi`_> what's the proper way of iterating through keys in a HashMap in jython?
[9:12] <topi`_> in java, it would be something like for(foo : MyMap) {}
[9:14] <topi`_> answer to self: it seems that the first of these works:
[9:14] <topi`_> >>> for k in foo: print k
[9:14] <topi`_> ...
[9:14] <topi`_> >>> for k in foo.keys(): print k
[9:14] <topi`_> ...
[9:58] * a42niem (~niem@p578b7daf.dip0.t-ipconnect.de) Quit (Ping timeout: 240 seconds)
[12:51] <pr3d4t0r> topi`_: Use a list comprehension or a generator.
[12:51] <pr3d4t0r> topi`_: Or call the Java methods.
[13:48] * mhahe (~mhahe@95.85.22.247) Quit (*.net *.split)
[13:49] * mhahe (~mhahe@95.85.22.247) has joined #jython
[14:18] * Guest78712 (~Taylor@c-76-110-40-233.hsd1.fl.comcast.net) Quit (Ping timeout: 245 seconds)
[14:21] * Taylor (~Taylor@unaffiliated/taylor) has joined #jython
[16:13] * avelino (sid10139@gateway/web/irccloud.com/x-hxwkkssggedivslu) has left #jython
[16:23] * thegeekinside (~thegeekin@189-211-179-82.static.axtel.net) has joined #jython
[16:29] * thegeekinsid (~thegeekin@189-211-179-82.static.axtel.net) has joined #jython
[16:33] * thegeekinside (~thegeekin@189-211-179-82.static.axtel.net) Quit (Quit: Lingo - http://www.lingoirc.com)
[16:33] * thegeekinsid (~thegeekin@189-211-179-82.static.axtel.net) Quit (Quit: Bye!)
[17:07] * Taylor (~Taylor@unaffiliated/taylor) Quit (Excess Flood)
[17:09] * Taylor (~Taylor@unaffiliated/taylor) has joined #jython
[18:04] * thegeekinside (~thegeekin@189-211-179-82.static.axtel.net) has joined #jython
[18:27] * ebarrett (~edd@88-105-196-60.dynamic.dsl.as9105.com) Quit (Ping timeout: 260 seconds)
[18:34] * ebarrett (~edd@88-105-196-60.dynamic.dsl.as9105.com) has joined #jython
[20:42] * thegeekinside (~thegeekin@189-211-179-82.static.axtel.net) Quit (Quit: Bye!)

Index

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