#pypy IRC log for Wednesday, 2012-01-18

fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Ping timeout: 240 seconds00:01
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-kciqfqiujzymqkbq) joined #pypy.00:03
#pypy: mode change '+o Alex_Gaynor' by ChanServ!ChanServ@services.00:03
int3__ (~int3__@bb121-7-238-234.singnet.com.sg) left irc: Ping timeout: 252 seconds00:05
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-kciqfqiujzymqkbq) left irc: Remote host closed the connection00:08
bfirsh (u1308@gateway/web/irccloud.com/x-spqsfteezyengfsz) left irc: Remote host closed the connection00:08
int3__ (~int3__@bb121-6-180-86.singnet.com.sg) joined #pypy.00:10
bfirsh (u1308@gateway/web/irccloud.com/x-fcxyggqsywmaawsa) joined #pypy.00:13
oal (u4126@gateway/web/irccloud.com/x-gtmxjfkpxjbkmilp) joined #pypy.00:15
bfirsh (u1308@gateway/web/irccloud.com/x-fcxyggqsywmaawsa) left irc: Remote host closed the connection00:20
oal (u4126@gateway/web/irccloud.com/x-gtmxjfkpxjbkmilp) left irc: Write error: Broken pipe00:20
kenaan12mattip matrixmath-dot 11d512cc3a2cf4 15/: merge from default00:22
kenaan12mattip matrixmath-dot 11f62709780578 15/pypy/module/micronumpy/: passes a test, needs cleanup00:22
mattipprobably need lots more tests too.00:23
mattipnumpy does not have ndarray.dot(), only numpy.dot(a,b) and matrix.dot()00:24
mattip (4fb1711d@gateway/web/freenode/ip.79.177.113.29) left irc: Quit: Page closed00:24
bfirsh (u1308@gateway/web/irccloud.com/x-ftlwdepijpelspgp) joined #pypy.00:27
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 272 seconds00:29
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-tmrunrthqkacfnfp) joined #pypy.00:29
#pypy: mode change '+o Alex_Gaynor' by ChanServ!ChanServ@services.00:29
moreati (~alex@5ad0d588.bb.sky.com) left irc: Ping timeout: 255 seconds00:29
fenrrir (~rodrigo@189.70.243.190) left irc: Quit: Leaving00:32
oal (u4126@gateway/web/irccloud.com/x-ojgqdwkhupfkmnjx) joined #pypy.00:32
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.00:40
aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy.00:40
aboudreault (~alanb@osgeo/member/aboudreault) left irc: Ping timeout: 240 seconds00:48
voidspace (~anonymous@87-194-212-65.bethere.co.uk) joined #pypy.00:53
voidspace (~anonymous@87-194-212-65.bethere.co.uk) left irc: Changing host00:53
voidspace (~anonymous@python/psf/voidspace) joined #pypy.00:53
justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) joined #pypy.00:55
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Read error: Connection reset by peer00:59
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 252 seconds01:14
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.01:14
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.01:31
rekamso (~textual@216.190.27.14) left irc: Ping timeout: 244 seconds01:36
ronan (~ronan@host81-132-98-87.range81-132.btcentralplus.com) joined #pypy.01:39
DasIch (~DasIch@p4FFDF136.dip.t-dialin.net) left irc: Quit: DasIch01:46
bbot24Failure: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/77901:47
amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Ping timeout: 252 seconds01:49
voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace01:52
fprimex (~fprimex@fl-67-233-144-239.dhcp.embarqhsd.net) left irc: Quit: Leaving01:54
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/192902:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/34102:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/68102:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/33102:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/67902:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/119802:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/86202:00
bbot2Started: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/151502:00
bbot2Started: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/79202:00
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 248 seconds02:05
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.02:11
papercrane (~papercran@75.101.111.82) left irc: Ping timeout: 244 seconds02:18
justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) left irc: Ping timeout: 240 seconds02:26
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 252 seconds02:45
mikefc_anyone know how hard it would be to change FloatingPoint error behaviour on-the-fly?   There's quite a lot of numpy testing on being able to set whether (for example) a divide by zero ignores, raises RuntimeWarning, raises FloatingPointException, calls a fucntion, prints or logs.  http://paste.pocoo.org/show/536504/ 02:48
mikefc_they seem to call into a C func, that calls into the CPython API.02:48
Alex_Gaynormikefc_: honestly, wouldn't be that hard to do, but I'd rather focus on concrete features, this requires little small changes all over I think02:54
mikefc_Alex_Gaynor: OK.  thanks.  I'm just looking through numpy to see which things could possibly be brought over.  I've had one pass through their testing setup (last week) and now I'm having another one.02:57
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-32/builds/192903:01
Moku (~John@osbk-4db1433b.pool.mediaWays.net) joined #pypy.03:03
ericflo (~ericflo@75.103.8.110) left irc: Quit: ericflo03:03
Shanita (~John@osbk-4db152de.pool.mediaWays.net) left irc: Ping timeout: 240 seconds03:04
Nick change: Moku -> Guest457603:04
justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) joined #pypy.03:06
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.03:15
papercrane (~papercran@64.134.230.47) joined #pypy.03:17
dracman (~draco@212.255.43.181) left irc: Ping timeout: 252 seconds03:19
dracman (~draco@212.255.45.216) joined #pypy.03:25
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/33103:27
nettok (~quassel@190.149.153.199) joined #pypy.03:27
papercrane (~papercran@64.134.230.47) left irc: Quit: Computer has gone to sleep.03:35
ronan (~ronan@host81-132-98-87.range81-132.btcentralplus.com) left irc: Quit: Ex-Chat03:45
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 248 seconds03:48
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/151504:05
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-Ojit-no-jit-linux-x86-32/builds/86204:06
_habnabit (~habnabit@python/site-packages/habnabit) joined #pypy.04:07
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.04:14
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/67904:17
nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 245 seconds04:19
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/119804:25
bbot23Success: 15http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/68104:34
papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) joined #pypy.04:37
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 272 seconds04:49
int3__ (~int3__@bb121-6-180-86.singnet.com.sg) left irc: Remote host closed the connection04:56
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Ping timeout: 240 seconds05:17
justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) left irc: Ping timeout: 244 seconds05:27
Nick change: mcdonc_ -> mcdonc05:32
bbot24Failure: 15http://buildbot.pypy.org/builders/own-linux-x86-64/builds/79205:34
iori (~iori@125x100x190x242.ap125.ftth.ucom.ne.jp) joined #pypy.05:39
int3__ (~int3__@bb121-6-180-86.singnet.com.sg) joined #pypy.05:39
iori (~iori@125x100x190x242.ap125.ftth.ucom.ne.jp) left irc: Remote host closed the connection05:43
nettok (~quassel@190.149.153.199) left irc: Remote host closed the connection05:45
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.05:46
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Remote host closed the connection05:47
AlekSi (~AlekSi@85.235.191.82) joined #pypy.06:10
mat^2 (~mathias@212.130.113.35) joined #pypy.06:13
anish_ (anish@nat/redhat/x-lfndzxqdolsoljlz) joined #pypy.06:14
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.06:14
aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy.06:24
mikefc_numpy's random module is a pyrex wrapper around a c-lib.06:27
CIA-1703mikefc 07roundup * 10#998/numpypy app level module layout fix (patch attached): [resolved] changes pushed into default branch (by me) * 14https://bugs.pypy.org/issue99806:36
stakkars_ (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy.06:40
stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer06:40
Nick change: stakkars_ -> stakkars06:40
stakkars_ (~tismer@p5DDB7A14.dip.t-dialin.net) joined #pypy.06:42
stakkars (~tismer@p5DDB7A14.dip.t-dialin.net) left irc: Read error: Connection reset by peer06:42
Nick change: stakkars_ -> stakkars06:42
mat^2 (~mathias@212.130.113.35) left irc: Ping timeout: 248 seconds06:52
bbot24Failure: 15http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/34106:55
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 272 seconds06:57
DasIch (~DasIch@p4FFDF136.dip.t-dialin.net) joined #pypy.07:07
unbit_ (~unbit@93-58-162-185.ip159.fastwebnet.it) joined #pypy.07:09
asmeurer__ (~asmeurer@129.138.218.98) left irc: Quit: asmeurer__07:10
mwhudson_ (~mwh@120.136.5.22) joined #pypy.07:13
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-tmrunrthqkacfnfp) got netsplit.07:16
mwhudson (~mwh@linaro/mwhudson) got netsplit.07:16
hakanardo (~hakan@h59ec009e.seluldx.dyn.perspektivbredband.net) got netsplit.07:16
unbit (~unbit@93-58-162-185.ip159.fastwebnet.it) got netsplit.07:16
Nick change: unbit_ -> unbit07:16
Possible future nick collision: unbit07:16
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-tmrunrthqkacfnfp) returned to #pypy.07:17
hakanardo (~hakan@h59ec009e.seluldx.dyn.perspektivbredband.net) returned to #pypy.07:17
#pypy: mode change '+o Alex_Gaynor ' by adams.freenode.net07:17
papercrane (~papercran@c-76-103-172-115.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep.07:20
aboudreault (~alanb@osgeo/member/aboudreault) left irc: Ping timeout: 240 seconds07:25
mwhudson (~mwh@linaro/mwhudson) got lost in the net-split.07:27
hruske (~Gasper@188-230-156-183.dynamic.t-2.net) joined #pypy.07:29
mikefc_ (9665bcc5@gateway/web/freenode/ip.150.101.188.197) left irc: Quit: Page closed07:30
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.07:34
JaRoel|4d (~jaroel|4d@sink.jaroel.nl) left irc: Remote host closed the connection07:34
antocuni (~antocuni@89-40.5-85.cust.bluewin.ch) joined #pypy.07:39
bivab (~david@89-40.5-85.cust.bluewin.ch) joined #pypy.07:44
DasIch (~DasIch@p4FFDF136.dip.t-dialin.net) left irc: Quit: DasIch08:07
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 252 seconds08:07
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.08:15
fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy.08:15
rguillebert (~rguillebe@89-40.5-85.cust.bluewin.ch) joined #pypy.08:21
int3__ (~int3__@bb121-6-180-86.singnet.com.sg) left irc: Remote host closed the connection08:35
antocunifijal: where is the script to update the contributors' list?08:36
mher (~Adium@tethras5.ucd.ie) joined #pypy.08:38
Arach (~arach@128-75-182-202.broadband.corbina.ru) left irc: Quit: bye08:38
Arach (~arach@128-75-182-202.broadband.corbina.ru) joined #pypy.08:39
fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) left irc: Ping timeout: 240 seconds08:39
kushal (~kdas@114.143.162.62) joined #pypy.08:46
kushal (~kdas@114.143.162.62) left irc: Changing host08:46
kushal (~kdas@fedora/kushal) joined #pypy.08:46
kushal (~kdas@fedora/kushal) left irc: Remote host closed the connection08:46
kenaan12antocuni extradoc 11f07d98b31047 15/blog/draft/pypy-2011.rst: add a new point08:50
JaRoel|4d (~jaroel|4d@109.34.238.209) joined #pypy.09:12
mattip (c1a9466d@gateway/web/freenode/ip.193.169.70.109) joined #pypy.09:13
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 248 seconds09:15
berkerpeksag (~berker@212.156.129.218) joined #pypy.09:21
squiddy (~squiddy@f053081097.adsl.alicedsl.de) joined #pypy.09:21
JaRoel|4d (~jaroel|4d@109.34.238.209) left irc: Remote host closed the connection09:24
JaRoel|4d (~jaroel|4d@109.34.238.209) joined #pypy.09:24
mattipfijal: ping09:25
mikefcmattip: how goes?  deep in interp code?09:31
AlekSi (~AlekSi@85.235.191.82) left irc: Remote host closed the connection09:32
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) joined #pypy.09:34
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.09:35
mikefcugh. the numpy random tests actual test the following: given particular seed values, the first 6 values equal an array of values set in the test. 09:41
lesshaste (~lesshaste@87-194-206-189.bethere.co.uk) joined #pypy.09:43
lesshastehi09:43
mikefc'lo09:43
lesshaste:)09:43
kenaan12rguillebert extradoc 113fb931e40174 15/sprintinfo/leysin-winter-2012/planning.txt: Planning for today09:46
antocuni (~antocuni@89-40.5-85.cust.bluewin.ch) left irc: Ping timeout: 252 seconds09:47
lesshasteaha.. how can I read planning.txt?09:48
lesshasteis it in the git repository?09:48
G2P (~G2P@fw-asn1.ornis.com) joined #pypy.09:49
rguillebertit's a bitbucket repo09:56
AlekSi (~AlekSi@85.235.191.82) joined #pypy.09:56
fijal (~fijal@197.171.15.207) joined #pypy.09:57
rguillebertlesshaste, https://bitbucket.org/pypy/extradoc/src/3fb931e40174/sprintinfo/leysin-winter-2012/planning.txt09:57
lesshastethanks09:57
ltratt (~ltratt@198.45.112.87.dyn.plus.net) joined #pypy.09:57
fijalltratt: hi!09:59
fijalmattip: pong10:04
lesshastehi ltratt  :)10:04
kenaan12hager ppc-jit-backend 114c659707392a 15/pypy/jit/backend/ppc/ppcgen/: refactored allocation of boxes10:04
ousado (~ousado@31-18-121-45-dynip.superkabel.de) joined #pypy.10:06
ousado (~ousado@31-18-121-45-dynip.superkabel.de) left irc: Changing host10:06
ousado (~ousado@unaffiliated/ousado) joined #pypy.10:06
ltrattmorning all10:06
ltratti'm just wondering if there's a reason why promote_string is distinguished from other types of promotion?10:06
fijalltratt: yes10:07
fijalI hope this is enough for an answer :)10:07
fijalactually I can even tell you the long story why it got that way ;-)10:07
ltratthehe10:07
fijalbut coming to the point, promote(x) where x is a pointer promotes the pointer value10:07
fijalpromote_string(x) promotes the string by value10:07
ltrattaha!10:08
fijalgot it?10:08
fijalltratt: so I've seen your tickets10:08
ltrattyes, that makes sense10:08
fijaldid you learn how JIT works from carl?10:08
ltrattyes, i have a much better idea now thanks to carl friedrich's help10:08
fijaldo you feel like helping with docs then?10:09
ltratthopefully my stupidity will help determine what can be documented and help the next person10:09
ltrattyes, i will help out to the extent that i can - obviously i still don't know a lot of the finer detail, but i get most of the high-level things now10:09
ltratt[but not all of the high-level things yet!]10:09
fijalI can fill in the obscure details probably10:09
lesshasteI am trying to set up the virtualenv for jitviewer10:11
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/1017 [12fijal]10:11
ltrattit'll be a couple of weeks before i get to that though. i still need to finish off the Converge VM and mark exam papers10:11
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/208 [12fijal]10:11
lesshastemkvirtualenv --python=/path/to/pypy pypy-viewer is the line I am trying to do (in linux)10:11
fijallesshaste: yes10:11
lesshasteso I have downloaded virtualenv.py#10:11
ltratthas anyone had a chance to look at issue 978 yet? it's killing me as it prevents inlining!10:11
lesshasteand the source of pypy10:11
fijallesshaste: mkvirtualenv comes from virtualenv wrapper10:11
fijaland you need a compiled pypy10:12
lesshasteoh I need the binaries not the source?10:12
lesshasteI just cloned the git pypy repo10:12
fijalltratt: oh bah10:12
fijalI can look10:12
fijalltratt: do you know pypyjit.py?10:12
fijallesshaste: yes, you need binaries10:13
lesshasteoh ok10:13
ltrattfijal: no i don't know that10:13
fijalltratt: pypy/jit/tl/pypyjit.py10:13
fijalthis runs a compiled version of pypy on uncompiled version of JIT10:13
fijalif you can provide such a thing for converge VM, debugging JIT becomes easier10:13
ltratti must admit, i'm not sure what that means!10:14
fijalltratt: you're aware we believe in TDD right?10:15
ltrattoh yes ;)10:15
fijalso we test the JIT uncompiled10:15
fijalmost of the time10:16
ltrattdoes this mean running it untranslated with normal python / pypy-c?10:16
fijalyes10:17
fijalso this is the ultimate test10:17
fijalwe compile the entire pypy interepreter to flow graphs10:17
fijaland interpret those flow graphs using uncompiled JIT10:17
fijal/usr/bin/ld: cannot find -lgcc_s10:17
ltrattok10:17
fijalltratt: what is that?10:17
ltrattfijal: i must admit, i have precisely zero idea how to make that work with the converge VM!10:18
ltrattfijal: when did that error happen?10:18
lesshastefijal, I still can't get jitviewer to run .. I get http://paste.pocoo.org/show/536627/ now10:18
fijallesshaste: did you install it inside the environment10:19
fijal?10:19
lesshastehmm10:19
fijalltratt: oh, my system is entirely broken10:19
fijalltratt: I'm sorry I can't do anything until I get home :/10:19
lesshastefijal, ok.. so maybe I need to redo python setup.py develop . Which directory do I need to be in to get that to work?  10:20
ltrattfijal: no problem10:20
fijallesshaste: read some man pages10:21
fijallesshaste: seriously this is very standard python package installation stuff10:21
lesshasteargh10:21
fijalin jitviewer obviously10:21
lesshasteright but the whole environment thing is not workiong10:21
lesshasteI now get 10:21
fijalwell, not my fault :)10:21
lesshasteImportError: No module named __pypy__10:21
fijallesshaste: your venv is not pypy based10:22
fijalltratt: I'm trying (and failing) to upgrade my system10:22
lesshasteI did do10:22
ltrattfijal: what OS?10:22
lesshastesudo virtualenv-1.7/virtualenv.py --python=/home/user/python/pypy/bin/pypy pypy-viewer10:22
fijalltratt: ubuntu10:22
lesshastewhich I was hoping would do it10:22
fijallesshaste: why sudo?10:23
fijallesshaste: you need activate it10:23
fijallesshaste: but seriously, read virtualenv documentation10:23
lesshasteif I don't do sudo I get10:23
fijalit's clear you did not10:23
lesshaste File "/home/raph/python/pypy/lib-python/2.7/shutil.py", line 82, in copyfile10:23
lesshaste    with open(dst, 'wb') as fdst:10:23
lesshasteIOError: [Errno 13] Permission denied: 'pypy-viewer/bin/pypy'10:23
ltrattfijal: i'm only vaguely familiar with ubuntu. hopefully you'll get it working soon!10:23
fijallesshaste: #python10:23
lesshastefijal, ah no.. I do need the source!#10:25
lesshaste"It also requires pypy to be importable (as in source code), you can do this by setting your PYTHONPATH enviromental variable."10:25
fijallesshaste: you need both10:25
lesshasteright10:25
cwillu_at_work (~cwillu@cwillu-1-pt.tunnel.tserv13.ash1.ipv6.he.net) joined #pypy.10:28
fijalltratt: their python distribution is utterly broken10:28
lesshastefijal, from #python "<cwillu_at_work> lesshaste, -> #pypy?" :)10:28
fijallesshaste: you have problems making virtualenv work, this does not belong here10:29
fijalread the docs, I'm serious10:29
fijalonce you confirmed you have pypy-based virtualenv working we can talk10:29
fijalanyway, I'm off10:29
ltrattfijal: ok best of luck. ttyl10:30
lesshastefijal, sure.. I only pasted that for amusement10:30
lizardo (~lizardo@189.2.128.130) joined #pypy.10:31
Action: cwillu_at_work is not amused10:33
fijal (~fijal@197.171.15.207) left irc: Ping timeout: 248 seconds10:34
mvt (~mvantelli@53530442.cm-6-4a.dynamic.ziggo.nl) joined #pypy.10:35
ltratt (~ltratt@198.45.112.87.dyn.plus.net) left irc: Quit: using sirc version 2.211+KSIRC/1.3.1210:37
verte-wleslie (~verte@python/site-packages/verte) joined #pypy.10:38
CIA-1703peterjc 07roundup * 10#913/Reduce-like *functions* for micronumpy missing, e.g. numpy.dot: 10:38
CIA-17[chatting] Note in the original report I had a typo, I mean to reference Issue 785 not 75810:38
CIA-17for numpy array reduce methods. * 14https://bugs.pypy.org/issue91310:38
Nick change: verte-wleslie -> verte10:38
Nick change: verte -> wleslie10:38
lesshastejitviewer.py log.pypylog10:40
lesshastePlease run it using pypy-c10:40
lesshastewhat should be run with pypy-c?10:40
wlesliejitviewer10:41
wlesliepypy-c jitviewer log.pypylog10:41
lesshastewleslie, I don't see pypy-c in the pypy subdir10:42
wleslienot in a checkout, no. that's the result of running a translation.10:43
wleslieI'm not sure how you got a log.pypylog without a pypy-c.10:43
wleslieI guess we renamed pypy-c to pypy?10:43
lesshasteright10:44
lesshasteI now get /home/user/python/pypy/bin/pypy: can't find '__main__' module in 'jitviewer'10:44
lesshasteit's all rather infuriating :)10:44
mikefc_ (3cf2f0c4@gateway/web/freenode/ip.60.242.240.196) joined #pypy.10:45
wleslie?!10:45
lesshasteok let me paste what is going on10:45
wleslieis /home/user/python/pypy/bin/pypy about 12 meg (or a bit more) ?10:46
lesshastehttp://paste.pocoo.org/show/536636/10:46
wleslieas in, it should be the pypy executable10:46
Action: mattip try to get fijal to look at my last commit later, too busy now.10:47
lesshastewleslie, 25M10:47
wlesliewacky, not sure what this exception is about10:48
h0l0gr4ph1c (~Edmund@ppp118-209-193-235.lns20.mel6.internode.on.net) joined #pypy.10:49
lesshastewleslie, another path problem?10:49
CIA-1703mikefc 07roundup * 10#913/Reduce-like *functions* for micronumpy missing, e.g. numpy.dot: 10:50
CIA-17If you try a nightly, some of these functions have been added -10:50
CIA-17http://buildbot.pypy.org/nightly/trunk/10:50
CIA-17numpypy is a work in progress and I'm ... * 14https://bugs.pypy.org/issue91310:50
Guest4576 (~John@osbk-4db1433b.pool.mediaWays.net) left irc: Read error: Connection reset by peer10:50
lesshastewleslie, I have never managed to get jitviewer to work..10:50
Guest4576 (~John@osbk-4db1433b.pool.mediaWays.net) joined #pypy.10:51
wleslielesshaste: did you follow the instructions in the readme?10:51
mattip (c1a9466d@gateway/web/freenode/ip.193.169.70.109) left irc: Ping timeout: 258 seconds10:51
wleslieas in, https://bitbucket.org/pypy/jitviewer10:51
lesshastewleslie, sort of but mkvirtualenv for example doesn't exist of ubuntu it seems10:51
lesshastewleslie, so I got virtualenv 1.7 instead10:52
mikefc_ (3cf2f0c4@gateway/web/freenode/ip.60.242.240.196) left irc: Quit: Page closed10:53
lesshastewleslie, are you on ubuntu and does it work for you?10:55
wleslieI don't use ubuntu, no. I don't even have setuptools installed, because I think it is complete garbage.10:56
lesshasteright10:56
lesshastewell it doesn't work for me at least :)10:56
lesshasteare you on linux?10:56
wleslieyes, a hand-cast debian system approximating lenny10:57
wlesliewhat happens if you say jitviewer.py instead of jitviewer?10:57
wleslielesshaste: are you sure pypy is importable?10:59
lesshastewleslie, ah yes :) well now it complains it can't import jinja2 even though I installed python-jinja2 :(11:00
wleslieas in, pypy/bin/pypy -c 'import pypy' gives  no error11:00
wleslieinstalling a native python package won't help you, you need to install in for *pypy*.11:00
wlesliedistro packages install against the system python.11:01
lesshastewleslie, right.. how do I install it for pypy?11:01
wlesliedownload the package and run pypy setup.py install11:02
lesshasteargh :)11:02
lesshastethat could do on for a while11:02
wleslieor if you have pip installed for pypy, you could run the command in the readme11:02
lesshastesorry to be dumb but I thought I did11:03
lesshasteI have to run it for pypy somehow11:03
wlesliepip --help11:03
wleslieI think you can specify the python to install for.11:04
berkerpeksag (~berker@212.156.129.218) left irc: Read error: Connection reset by peer11:04
lesshastepip -E apparently11:04
witulski (~stupsi@fwstups.cs.uni-duesseldorf.de) joined #pypy.11:05
witulski (stupsi@fwstups.cs.uni-duesseldorf.de) left #pypy.11:05
lesshastethe readme could really do with some more lines in it :)11:05
berkerpeksag (~berker@212.156.129.218) joined #pypy.11:05
voidspace (~voidspace@python/psf/voidspace) joined #pypy.11:05
kenaan12rguillebert py3k 1168762432f02d 15/pypy/interpreter/astcompiler/test/test_compiler.py: Add a codegen test for py3k's new tuple unpacking11:08
JaRoel|4d (~jaroel|4d@109.34.238.209) left irc: Read error: Connection reset by peer11:14
lesshastewleslie, well.. it failed of course http://paste.pocoo.org/show/536659/11:18
Guest4576 (~John@osbk-4db1433b.pool.mediaWays.net) left irc: Ping timeout: 240 seconds11:18
JaRoel|4d (~jaroel|4d@109.38.49.85) joined #pypy.11:19
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) joined #pypy.11:20
rguillebertis list[3:] rpython ?11:20
Action: timotimo guesses yes11:21
lesshastemaybe I should just start again somehow?11:22
lesshasteVersionConflict: (Jinja2 2.3.1 (/usr/share/pyshared), Requirement.parse('Jinja2>=2.4'))11:22
lesshasteseems to be the problem11:22
lesshasteis it just not possible to do this on ubuntu 10.04?11:22
tumbleweedvirtualenv with a newer jinja2 in it?11:23
wlesliedon't try to use distro packages to install on your pypy11:23
lesshasteI just did sudo pip -E pypy-viewer/ install flask pygments simplejson11:24
lesshastewhat should I do instead?11:24
tumbleweedwleslie: oh, right, that was a pypy. I assumed it was a cpython if it was using pyshared11:25
wlesliespecify the version you want on the command line.11:25
voidspace (~voidspace@python/psf/voidspace) left irc: Quit: Uhm... gotta go11:34
JaRoel|4d (~jaroel|4d@109.38.49.85) left irc: Read error: Connection reset by peer11:35
kenaan12bivab arm-backend-2 11280cca48c156 15/: merge default11:35
kenaan12bivab arm-backend-2 11b2fff2c474ff 15/pypy/jit/backend/x86/test/test_runner.py: move this test to the x86 backend11:35
kenaan12bivab arm-backend-2 111c132ebb86eb 15/pypy/jit/backend/arm/test/test_runner.py: Create a CPU instance for each test11:35
kenaan12bivab arm-backend-2 11d0ed9d2beb0e 15/pypy/jit/backend/arm/: kill unused code11:35
kenaan12bivab arm-backend-2 11fceb632073b8 15/pypy/jit/backend/arm/: Generate more debugging information (taken from the x86 backend)11:35
kenaan12bivab arm-backend-2 11be46980ab0b2 15/pypy/jit/backend/arm/: Port changes since last merge11:35
kenaan12bivab arm-backend-2 11839659291f03 15/pypy/jit/backend/test/runner_test.py: also remove test_compile_asmlen from runner_test after it was moved to the x86 backend11:35
JaRoel|4d (~jaroel|4d@a82-93-220-176.adsl.xs4all.nl) joined #pypy.11:38
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.11:39
lesshastetimotimo, do I need to download pip and install it in the virtual environment using pypy somehow?11:41
Guest4576 (~John@osbk-4db1433b.pool.mediaWays.net) joined #pypy.11:42
voidspace (~anonymous@python/psf/voidspace) joined #pypy.11:42
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Remote host closed the connection11:43
timotimolesshaste: virtualenv --distribute with pypy will install pip for you inside it11:47
lesshastetimotimo, thanks11:48
nirbheek (~nirbheek@gentoo/developer/flyingspaghettimonster/nirbheek) left irc: Quit: Leaving11:48
timotimoyou're welcome11:48
lesshasteok so I believe I have installed it all in the right place11:51
lesshastepypy/bin/pypy ./jitviewer/bin/jitviewer.py log.pypylog11:51
lesshasteImportError: No module named jinja211:51
lesshasteit seems it isn't using the environment11:52
lesshastehow do I get it to?11:52
tumbleweedyou run pypy from the bin directory of the virtualenv (see virtualenv's docs)11:53
Guest4576 (~John@osbk-4db1433b.pool.mediaWays.net) left irc: Ping timeout: 240 seconds11:54
lesshastethanks!11:54
lesshasteI can't believe it is now working :)11:55
lesshasteok so I think I can see the problem immediately11:56
lesshasteassuming I can interpret jitviewer 11:56
gorakhargosh (~user@14.96.198.231) joined #pypy.12:00
azanella (~azanella@189.6.80.131) joined #pypy.12:07
Guest4576 (~John@osbk-4db1433b.pool.mediaWays.net) joined #pypy.12:10
JaRoel|4d (~jaroel|4d@a82-93-220-176.adsl.xs4all.nl) left irc: Remote host closed the connection12:11
Guest4576 (~John@osbk-4db1433b.pool.mediaWays.net) left irc: Remote host closed the connection12:13
berkerpeksag (~berker@212.156.129.218) left irc: Read error: Connection reset by peer12:17
berkerpeksag (~berker@212.156.129.218) joined #pypy.12:17
k_bx (~k_bx@195.20.130.1) joined #pypy.12:23
timotimotumbleweed: you can also . ./bin/activate (the . is the source command of your shell)12:26
timotimothen it will set PATH and PYTHONPATH correctly for you12:27
tumbleweedyes, that's what most people do12:29
lesshastethanks12:29
lesshasteit's working now thank goodness12:29
lesshastehttps://bugs.pypy.org/issue980 was what I was looking at12:30
nedbat (~nedbat@python/psf/nedbat) joined #pypy.12:32
JaRoel|4d (~jaroel|4d@a82-93-220-176.adsl.xs4all.nl) joined #pypy.12:39
kenaan12hager ppc-jit-backend 11d0d21bbde762 15/pypy/jit/backend/ppc/ppcgen/helper/regalloc.py: adjust size parameter in _check_im_arg and check_im_box12:44
kenaan12hager ppc-jit-backend 1135aaf3680c92 15/pypy/jit/backend/ppc/ppcgen/helper/regalloc.py: remove comment12:44
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/208 [12fijal]12:51
bbot24Failure: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/1017 [12fijal]12:54
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 272 seconds13:05
timotimolesshaste: that code is weird. what is l? why is the unrolled loop a constant length?13:15
timotimoif you completely unroll it, you could even remove i entirely and just use 0, 1, 2, ...13:15
JaRoel|4d (~jaroel|4d@a82-93-220-176.adsl.xs4all.nl) left irc: Remote host closed the connection13:18
int3__ (~int3__@bb121-6-180-86.singnet.com.sg) joined #pypy.13:20
timotimoi didn't even look at the attached files, sorry13:22
h0l0gr4ph1c (~Edmund@ppp118-209-193-235.lns20.mel6.internode.on.net) left irc: Quit: This computer has gone to sleep13:22
lesshastetimotimo, hi13:23
lesshastetimotimo, l is just the length that you need13:23
lesshastetimotimo, you can think of it as a constant13:23
wleslieI guess he's asking why it should be premoted - there's no way to tell from the trace that it will be constant13:24
lesshastewleslie, it's set as a constant in the code you can download13:24
lesshastewleslie, but I don't really know if it being a constant is that relevant 13:24
wleslieyes, but is that in the *trace*13:24
aboudreault (~alanb@osgeo/member/aboudreault) joined #pypy.13:25
lesshastewleslie, I take your point but...the interpeter has access to the full source code of course13:25
lesshastewleslie, however, does it actually need to know that it is constant?13:26
wlesliebut the jit does not13:26
lesshastewleslie, doesn't the interpreter pass hints to the jit?13:26
wleslieif it's baking it into the generated code, then yes, it needs to figure out that it should premote that13:26
wleslieonly via the trace13:26
lesshastewleslie, ok.. back to the other point..does it actually need to know this?13:27
lesshastewleslie, if it just puts a counter on every loop it can see it is being run millions of times13:27
wlesliewell, think about it. if the loop length won't be a constant, we will need to generate new loops for each possible length.13:27
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.13:27
wleslienot good to generate code for a loop that won't be re-used next time, and that happens to be the common case.13:28
lesshastewleslie, I was thinking more of partial unrolling13:28
lesshastewleslie, so you don't attempt to fully unroll the loop13:28
lesshastewleslie, hmm.. how does gcc do it? :)13:28
lesshastewleslie, actually.. fijal had some very good ideas about how to do this13:28
lesshastewleslie, and obviously he knows exponentially more on the topic than I do13:29
wleslieit's possible, maybe not SMOP, but not that hard either13:31
lesshastesmop?13:32
wlesliesimple matter of programming13:32
lesshasteaha:)13:34
lesshastewell I wouldn't expect it to be that! :)13:34
Rhy0lite (dje@nat/ibm/x-iiexvveqhenxcwir) joined #pypy.13:35
lesshasteout of interest, is it unrealistic to pass hints not through the trace?13:35
lesshasteI mean, are we sticking with purism for any particular reason?13:35
wleslieit would be a new direction is all, to mix information from the code objects involved directly with the trace13:38
int3__ (~int3__@bb121-6-180-86.singnet.com.sg) left irc: Remote host closed the connection13:39
lesshasteok13:39
lesshastewleslie, to be honest.. I don't really understand some of the details of the jit.  It seems to be able to mark loops as hot and so must be able to detect loops13:43
lesshastewleslie, which implies to me that a short loop that was run millions of times could also be marked as hot13:43
lesshastewleslie, out of interest..why isn't it that simple? :)13:43
ciphergothDoes the sandbox's use of seccomp still work?13:46
wlesliethe marking of the loop as hot isn't the issue13:46
ciphergothWikipedia: seccomp mode is enabled via the prctl() system call using the PR_SET_SECCOMP argument. seccomp mode used to be enabled by writing to a file, /proc/self/seccomp, but this method was removed in favour of prctl().[1]13:46
ciphergothhttp://en.wikipedia.org/wiki/Seccomp13:47
ciphergothbut13:47
ciphergoth            f = open('/proc/%d/seccomp' % self.popen.pid, 'w')13:47
lesshastenot much point pointing to the wiki :)13:47
ciphergothin sandlib.py13:47
lesshastewleslie, what is the issue?13:47
ciphergothlesshaste: I assumed everyone here had circumvented the blackout :-()13:47
wlesliethe issue is that, once you mark a loop as hot, you trace it. and the things that are useful in that trace come out of the values that are currently on the stack or in locals; and only some of that is guessed to be fairly constant13:47
lesshaste:)13:47
lesshastewleslie, oh right sorry I was talking specifically about the case where loops with a small number of iterations are not optimised where loops with a large number are13:48
wleslielist length is one of these things that is not premoted, because usually loops over lists are not over lists of the same length.13:48
lesshastewleslie, even though the loop with a small number of iterations is run millions of times13:48
wleslieno, they are optimised exactly the same, which is not what you want in this case13:48
wleslieyou want this loop /unrolled/, which is something you would never do with a loop with lots of iterations13:49
lesshastewleslie, hmm.. unrolling was just one possible optimisation13:49
lesshastewleslie, I don't know what optimisations pypy has up its sleeve for hot loops :)13:50
ciphergothoh great - so the way to do it now is with a prctl, but doing one of those in Python requires a CPython module, so doing it from PyPy might be problematic13:50
lesshastewleslie, what do you think the best solution is?13:50
ciphergothCan the sandbox handle multithreaded code, BTW?  AFAICT handle_until_return is determinedly single-threaded13:52
ciphergothso one thread can't block on a syscall while another carries on making successful syscalls13:52
amaury_ (~amaury_@74.125.57.34) joined #pypy.13:55
wlesliehmmm13:56
wleslielesshaste: what happens if you make l a class attribute?13:59
kenaan12justinpeel default 11db7b9b0aa08d 15/pypy/module/micronumpy/: fix a bug in to_str for ndim=1, size=1 arrays. also affected any multi-dim array where the last dimension is 1...14:00
wleslielesshaste: also, how are you benchmarking this? there's no timing code in testham.py14:00
lesshastewleslie, I just run it14:00
lesshastewleslie, so the three times speedup includes the whole thing14:01
lesshastewleslie, I am sure the loop is speed up much more than that14:01
lesshastewleslie, I don't know what happens if you make l a class attribute14:01
wleslieanyway, I'd better get some sleep before work.14:03
wleslienight!14:03
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) joined #pypy.14:03
wleslie (~verte@python/site-packages/verte) left irc: Quit: ~~~ Crash in JIT!14:04
justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) joined #pypy.14:04
lesshastegood night14:06
k_bx (~k_bx@195.20.130.1) left irc: Ping timeout: 252 seconds14:11
mattip (598be567@gateway/web/freenode/ip.89.139.229.103) joined #pypy.14:14
mattipjustinpeel: ping14:14
justinpeelmattip: hi14:14
mattipthanks for the fix. What did it do beofre the fix?14:14
mattip(to_str that is)14:15
justinpeelnp.array([1]) would give repr of array(1)14:15
justinpeeland np.array([[1],[2]]) would give repr of array([1,1])14:15
Arfrever (~Arfrever@apache/committer/Arfrever) joined #pypy.14:16
mattiphuh. Are you using numpypy for anything useful yet?14:16
justinpeelbecause the 1-d arrays of size 1 were treated like arrays of size 014:16
justinpeelno, not really14:16
justinpeelhaven't had much time14:16
justinpeelalso, I need to implement kron, svd, eig and a few other things for my work14:17
mattipjust curious how it's doing in the real world. I too am missing a few things in order to use it properly.14:17
rguillebertinterpreter_astcompiler_codegen.c:33120: error: 'struct pypy_pypy_interpreter_astcompiler_ast_AST0' has no member named '_gcheader'14:17
rguillebertwhat could cause that ?14:17
justinpeelI think that I'll work on kron soon14:18
voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace14:18
mattipIt would be cool if someone would pick up the fpypy branch and get blas working.14:18
mattipcan you do kron at the applevel?14:20
rguillebertwhat wrong with that http://paste.pocoo.org/show/536736/ ?14:21
justinpeelwell.. it would probably be better to have a jit driver for kron14:22
mattiprguillebert: I wish I knew. Specifying your platform and pypy version may help others help you14:23
rguillebertI'm translating on tannit :)14:23
mattipjustinpeel: my mantra is first make it work then make it pretty, then make it fast.14:24
int3__ (~int3__@bb121-6-180-86.singnet.com.sg) joined #pypy.14:24
khs (~khs@2001:700:300:2120:725a:b6ff:fee5:a44) joined #pypy.14:25
rguillebertmaybe isinstance doesn't work...14:26
justinpeelI should probably implement np.outer first..14:28
justinpeelbut first, I go to work14:29
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 248 seconds14:35
gtaylor (~gtaylor@108-196-160-156.lightspeed.tukrga.sbcglobal.net) joined #pypy.14:37
berkerpeksag (~berker@212.156.129.218) left irc: Read error: Connection reset by peer14:39
berkerpeksag (~berker@212.156.129.218) joined #pypy.14:40
justinpeel (~justinpee@c-76-23-44-72.hsd1.ut.comcast.net) left irc: Ping timeout: 252 seconds14:45
mattip (598be567@gateway/web/freenode/ip.89.139.229.103) left irc: Quit: Page closed14:46
mat^2 (~mathias@212.130.113.35) joined #pypy.14:46
anish_ (anish@nat/redhat/x-lfndzxqdolsoljlz) left irc: Quit: Leaving14:52
gorakhargosh (~user@14.96.198.231) left irc: Remote host closed the connection14:52
kenaan12edelsohn ppc-jit-backend 11db20886769cb 15/pypy/jit/backend/ppc/ppcgen/regalloc.py: Remove boxes from getinteriorfield_gc, setinteriorfield_gc.14:53
whitelynx (~whitelynx@63.241.75.144) joined #pypy.14:56
CIA-1703ciphergoth 07roundup * 10#1003/Sandbox code uses no-longer-working seccom: 14:57
CIA-17[new] If the os_level_sandboxing flag in pypy.translator.sandbox.sandlib.SandboxedProc14:57
CIA-17is set to True, the sandbox tries to turn on "seccomp" fo ... * 14https://bugs.pypy.org/issue100314:57
fprimex (~fprimex@brent-macbook.sc.fsu.edu) joined #pypy.15:02
dmalcolm (~david@c-24-61-12-82.hsd1.ma.comcast.net) left irc: Quit: Leaving15:06
amaury_ (~amaury_@74.125.57.34) left irc: Ping timeout: 240 seconds15:08
int3__ (~int3__@bb121-6-180-86.singnet.com.sg) left irc: Remote host closed the connection15:09
amaury_ (amaury_@nat/google/x-pqeiwtefottmnohk) joined #pypy.15:11
DasIch (~DasIch@p4FFDF136.dip.t-dialin.net) joined #pypy.15:11
Arfrever (~Arfrever@apache/committer/Arfrever) left irc: Ping timeout: 240 seconds15:17
CIA-1703ciphergoth 07roundup * 10#1004/Sandbox only works for single-threaded code: 15:17
CIA-17[new] In the sandbox, two remoted library calls cannot be "in flight" at once; the15:17
CIA-17protocol between the sandbox process and the parent process g ... * 14https://bugs.pypy.org/issue100415:17
ciphergothI filed bugs for the sandbox issues I identified! Go me!15:18
timotimouh15:19
timotimoare you sure that's a problem?15:19
timotimodoesn't the gil cause any two external library calls to be serialised?15:19
berkerpeksag (~berker@212.156.129.218) left irc: Remote host closed the connection15:20
ciphergothsurely not15:20
berkerpeksag (~berker@212.156.129.218) joined #pypy.15:20
ciphergoththe whole point of threading would be lost if so15:20
timotimoer, of course, that was the other way around15:21
ciphergothif threading can do anything, it allows one thread to block on, say, a read15:21
ciphergothwhile another does work15:21
timotimoright15:21
ciphergothif not then, when is the GIL released?15:21
ciphergothbut it's tricky to fix15:22
ciphergothit's easy to, for example, tag the requests so you can tell which reply is to which request15:22
timotimoyeah, you could accidentally read data that was meant for the other process15:22
timotimoyeah, and store them in thread shared storage15:22
timotimoit would probably be easier to have a new pipe per process, no?15:22
timotimothat way, the os would support all this madness15:22
ciphergothright, but then you have to create a new pipe for a new process15:23
timotimoin the other case, you'd have to do scheduling and far worse things yourself15:23
timotimoa question15:23
ciphergothfor a new thread rather15:23
timotimohow come creating a new thread in the sandbox can even work?15:23
ciphergothand so for example you can't use seccomp15:23
ciphergotherr15:23
ciphergothI don't know that it does15:23
ciphergothif it does, it's either because it's marked sandboxsafe=True15:24
timotimoright, the current sandbox transformation would remove the calls to thread/process creation code15:24
ciphergothor because it uses language-level threads15:24
timotimoah15:24
ciphergothwonder what the shortest test would be15:25
ciphergoththat wouldn't run up against the bug I've just identified!15:25
timotimogood question15:25
voidspace (~anonymous@python/psf/voidspace) joined #pypy.15:27
ciphergothdon't know how to create locks or wait/notify in rpython15:28
timotimorffi into nptl :))15:28
ciphergothah cool15:30
timotimoi don't know if you want this15:30
Arfrever (~Arfrever@apache/committer/Arfrever) joined #pypy.15:33
berkerpeksag (~berker@212.156.129.218) left irc: Read error: Connection reset by peer15:33
berkerpeksag (~berker@212.156.129.218) joined #pypy.15:33
CIA-1703Dmitrey 07roundup * 10#1005/numpypy array constructor doesn't handle string dtype: (log message trimmed)15:37
CIA-17[new] >>> np.array([1,2,3],'float')15:37
CIA-17array([ 1., 2., 3.])15:37
CIA-17>>>> np.array([1,2,3],'float')15:37
CIA-17Traceback (most recent call last): * 14https://bugs.pypy.org/issue100515:37
CIA-1703Dmitrey 07roundup * 10#1006/numpypy array(1).reshape(1,1) fails: (log message trimmed)15:38
CIA-17[new] >>> np.array(1).reshape(1,1)15:38
CIA-17array([[1]])15:38
CIA-17>>>> np.array(1).reshape(1,1)15:38
CIA-17RPython traceback: * 14https://bugs.pypy.org/issue100615:38
k_bx (~k_bx@195.20.130.1) joined #pypy.15:50
AlekSi_ (~AlekSi@85.235.191.82) joined #pypy.15:51
AlekSi (~AlekSi@85.235.191.82) left irc: Ping timeout: 240 seconds15:54
CIA-1703Dmitrey 07roundup * 10#1007/add "fill" method for numpypy array: (log message trimmed)15:55
CIA-17[new] the method is quite easy to implement, yet very important - it is encountered15:55
CIA-17very often.15:55
CIA-17>>> a = empty((2,3))15:55
CIA-17>>> a.fill(0.5) * 14https://bugs.pypy.org/issue100715:55
AlekSi_ (~AlekSi@85.235.191.82) left irc: Remote host closed the connection15:56
-RichiH (~richih@freenode/staff/richih) to $$*- [Global Notice] Hi all. We just blogged about SOPA/PIPA on http://blog.freenode.net/2012/01/on-sopapipa/ and suggest you join ##sopa if you are interested in these proposed bills or other discussion around this general topic. As always, have a nice day and thanks for flying freenode air!16:06
kenaan12rguillebert py3k 11f4cb22c63136 15/pypy/interpreter/astcompiler/codegen.py: Implement py3k's tuple unpacking in the code generator16:09
kenaan12rguillebert py3k 116face22d8492 15/pypy/interpreter/pyopcode.py: Implement the UNPACK_EX bytecode which is used by py3k's new tuple unpacking16:09
kenaan12rguillebert py3k 11d0b94548df3b 15/pypy/interpreter/astcompiler/codegen.py: Check if the destination doesn't contain multiple stars16:09
int3__ (~int3__@bb121-6-180-86.singnet.com.sg) joined #pypy.16:09
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:14
CIA-1703Dmitrey 07roundup * 10#1008/numpypy: commit the code for empty_like, zeros_like, ones_like: 16:14
CIA-17[new] Code in the attached file. I have wrote it without looking into numpy sources -16:14
CIA-17seems like the funcs are implemented somewhere in C or Cyth ... * 14https://bugs.pypy.org/issue100816:14
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:18
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:18
dmalcolm (david@nat/redhat/x-fsdoddjfdlhcpkra) joined #pypy.16:19
antocuni (~antocuni@89-40.5-85.cust.bluewin.ch) joined #pypy.16:20
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:21
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:21
hruske (~Gasper@188-230-156-183.dynamic.t-2.net) left irc: Remote host closed the connection16:22
mitsuhiko (~mitsuhiko@hammett.srv.pocoo.org) joined #pypy.16:22
mitsuhiko (~mitsuhiko@hammett.srv.pocoo.org) left irc: Changing host16:22
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:22
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.16:22
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:22
CIA-1703afa 07roundup * 10#1008/numpypy: commit the code for empty_like, zeros_like, ones_like: [chatting] there is no attached file... * 14https://bugs.pypy.org/issue100816:23
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:25
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:25
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:25
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:25
mitsuhiko (~mitsuhiko@hammett.srv.pocoo.org) joined #pypy.16:26
mitsuhiko (~mitsuhiko@hammett.srv.pocoo.org) left irc: Changing host16:26
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:26
CIA-1703Dmitrey 07roundup * 10#1008/numpypy: commit the code for empty_like, zeros_like, ones_like: 16:26
CIA-17Somehow it doesn't want to be attached. I put it here:16:26
CIA-17http://pastebin.com/q7RYRnuS * 14https://bugs.pypy.org/issue100816:26
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:26
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:27
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:27
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:28
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:28
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:28
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:28
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:29
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:29
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:30
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:30
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:32
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:32
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:33
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:33
mitsuhiko_ (~mitsuhiko@hammett.srv.pocoo.org) joined #pypy.16:35
mitsuhiko_ (~mitsuhiko@hammett.srv.pocoo.org) left irc: Excess Flood16:35
mitsuhiko_ (~mitsuhiko@hammett.srv.pocoo.org) joined #pypy.16:35
mitsuhiko_ (~mitsuhiko@hammett.srv.pocoo.org) left irc: Excess Flood16:36
mitsuhiko_ (~mitsuhiko@hammett.srv.pocoo.org) joined #pypy.16:36
mitsuhiko_ (~mitsuhiko@hammett.srv.pocoo.org) left irc: Excess Flood16:37
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:37
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:37
timotimooh my16:40
timotimoseems like he's got a lot to say today16:40
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.16:41
mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko) left irc: Excess Flood16:41
#pypy: mode change '+b mitsuhiko!*@*' by exarkun!~exarkun@wordeology.com16:41
dmalcolm (david@nat/redhat/x-fsdoddjfdlhcpkra) left irc: Read error: Connection reset by peer16:48
dmalcolm (david@nat/redhat/x-nogddzigzypbvehr) joined #pypy.16:49
antocunirguillebert:         assert repr(op.args[0].concretetype) == '<* GcStruct object { typeptr }>'16:50
asmeurer (~asmeurer@129.138.218.98) joined #pypy.16:52
kenaan12bivab arm-backend-2 1148cc79e4f981 15/pypy/jit/backend/arm/: (arigo, bivab) fix for guard_nonnull_class which was emitting two guards. Additionally make sure that the off...16:53
kenaan12bivab arm-backend-2 111caec07bb02e 15/pypy/jit/backend/arm/assembler.py: (arigo, bivab) refactor guard and guard_token handling a bit and get rid of _arm_guard_pos16:53
kenaan12bivab arm-backend-2 118dd9c2555f29 15/pypy/jit/backend/test/runner_test.py: (bivab, arigo) Add test for an operation that does not correctly emit the code for the guard, i.e. emitting t...16:53
kenaan12bivab arm-backend-2 11aee28928eeae 15/pypy/jit/backend/arm/: merge heads16:53
kenaan12bivab arm-backend-2 110e325c9172fb 15/pypy/jit/backend/test/runner_test.py: give test a proper name16:53
khs (~khs@2001:700:300:2120:725a:b6ff:fee5:a44) left irc: Quit: Leaving16:54
AlekSi (~AlekSi@176.57.74.133) joined #pypy.16:58
lesshaste (~lesshaste@87-194-206-189.bethere.co.uk) left irc: Quit: Leaving17:01
berkerpeksag (~berker@212.156.129.218) left irc: Quit: Instantbird 1.117:03
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 252 seconds17:04
kenaan12alex_gaynor default 11923df65f2286 15/pypy/module/micronumpy/: issue #1005 -- accept 'float' as a dtype17:15
CIA-1703agaynor 07roundup * 10#1005/numpypy array constructor doesn't handle string dtype: [resolved] Fixed in 923df65f2286 * 14https://bugs.pypy.org/issue100517:15
mitsuhiko_ (~mitsuhiko@hammett.srv.pocoo.org) joined #pypy.17:17
#pypy: mode change '-b mitsuhiko_!*@*' by exarkun!~exarkun@wordeology.com17:20
#pypy: mode change '-b mitsuhiko!*@*' by exarkun!~exarkun@wordeology.com17:20
mitsuhiko_ (~mitsuhiko@hammett.srv.pocoo.org) left irc: Changing host17:20
mitsuhiko_ (~mitsuhiko@ubuntu/member/mitsuhiko) joined #pypy.17:20
Nick change: mitsuhiko_ -> mitsuhiko17:21
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.17:25
G2P (~G2P@fw-asn1.ornis.com) left irc: Quit: Leaving.17:26
lucian (~lucian@93-97-174-114.zone5.bethere.co.uk) left irc: Ping timeout: 255 seconds17:27
rochacon (~rochacon@189.100.116.233) joined #pypy.17:32
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 252 seconds17:45
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.17:48
mvt (~mvantelli@53530442.cm-6-4a.dynamic.ziggo.nl) left irc: Quit: This computer has gone to sleep17:51
kenaan12bivab ppc-jit-backend 11d9303a92441b 15/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py: (arigo, bivab) use get_spp_offset to correctly compute the offset which is currently differnt for positive ...17:51
kenaan12bivab ppc-jit-backend 117a455997891c 15/pypy/jit/backend/test/runner_test.py: (arigo, bivab) Add tests for finish and guard that check that fail/finish args pased to the loop on the sta...17:51
kenaan12bivab ppc-jit-backend 11326dc978de77 15/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py: merge heads17:51
kenaan12alex_gaynor default 1136de78269626 15/pypy/module/micronumpy/: Issue #1007 -- added fill() method to numpypy arrays17:52
CIA-1703agaynor 07roundup * 10#1007/add "fill" method for numpypy array: [resolved] Fixed in 36de78269626 * 14https://bugs.pypy.org/issue100717:53
kenaan12alex_gaynor default 118f0e9fcd8de3 15/pypy/module/micronumpy/test/test_zjit.py: add an arrylen_gc to this so the test passes, it's killed by the backend (I wish we did DCE earlier)17:55
DasIch (~DasIch@p4FFDF136.dip.t-dialin.net) left irc: Quit: DasIch17:58
mher (~Adium@tethras5.ucd.ie) left irc: Quit: Leaving.18:01
ciphergothis there any particular reason the file descriptor map isn't used for everything fd-related in the sandbox, and pre-populated with stdin/stdout/stderr ? Would a patch to that effect have a hope of being accepted?18:05
mvt (~mvantelli@53530442.cm-6-4a.dynamic.ziggo.nl) joined #pypy.18:07
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 272 seconds18:08
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.18:08
ciphergothall the "if fd == 0:" stuff in sandlib.py seems wrong18:11
ciphergothdo_ll_os__ll_os_read should just be "if fd in fdmap: return fdmap[fd].read(size) else: throw EBADF18:13
amaury_ (amaury_@nat/google/x-pqeiwtefottmnohk) left irc: Ping timeout: 272 seconds18:15
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 252 seconds18:18
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.18:18
papercrane (~papercran@75.101.111.82) joined #pypy.18:23
Nick change: Husio -> inz_Husio18:25
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 252 seconds18:25
ronan (~ronan@host81-132-98-87.range81-132.btcentralplus.com) joined #pypy.18:29
CIA-1703Dmitrey 07roundup * 10#1009/numpypy ndarray bug "TypeError: 'flatiter' object is not subscriptable": (log message trimmed)18:30
CIA-17[new] This bug prevents me to port numpy.diag(), creating walkaround here seems to be18:30
CIA-17bad idea.18:30
CIA-17>>> a=N.ones((4,4))18:30
CIA-17>>> a.flat[2] * 14https://bugs.pypy.org/issue100918:30
voidspace (~anonymous@python/psf/voidspace) left irc: Quit: voidspace18:48
rochacon (~rochacon@189.100.116.233) left irc: Quit: rochacon18:56
CIA-1703agaynor 07roundup * 10#1009/numpypy ndarray bug "TypeError: 'flatiter' object is not subscriptable": 18:57
CIA-17[chatting] Here's some tests for anyone interested in looking into this:18:57
CIA-17http://paste.pocoo.org/show/536857/ * 14https://bugs.pypy.org/issue100918:57
DasIch (~DasIch@p4FFDF136.dip.t-dialin.net) joined #pypy.19:01
kenaan12antocuni py3k 118df1c2074547 15/pypy/rpython/: (arigo, romain, antocuni) aaargh. enumerate did not convert the repr of the items, resulting in a lot of confusion ...19:05
kenaan12antocuni default 11a5b5795a3edd 15/pypy/rpython/: (arigo, romain, antocuni) aaargh. enumerate did not convert the repr of the items, resulting in a lot of confusi...19:05
kenaan12antocuni default 11c85a96246d2f 15/pypy/module/micronumpy/: merge heads19:05
Ademan (~dan@adsl-71-141-224-79.dsl.snfc21.pacbell.net) left irc: Ping timeout: 244 seconds19:06
Alex_Gaynorantocuni: ahh, is that why enumerate didn't work last time I used it!19:07
bivab (~david@89-40.5-85.cust.bluewin.ch) left irc: Quit: bivab19:09
antocuni (~antocuni@89-40.5-85.cust.bluewin.ch) left irc: Ping timeout: 252 seconds19:10
mtigas (~mtigas@users.spokesman.com) joined #pypy.19:12
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.19:13
fijal (~fijal@196-210-150-33.dynamic.isadsl.co.za) joined #pypy.19:19
fijalhi19:25
DanielHolth (~daniel@209.251.142.125) joined #pypy.19:25
fijalwtf sphinx failed?19:27
fijalon 32bit only anyway?19:27
Alex_Gaynorfijal: hey19:27
Alex_Gaynorfijal: I think maybe you fixed it before the 64-bit rrepo pulled?19:27
fijalno, I fixed it and then pushed both19:27
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/1018 [12fijal]19:28
amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) joined #pypy.19:28
Alex_Gaynorfijal: oh, I didn't see that19:28
fijallet's try again19:28
fijalmy system is pretty fucked, I wonder what do I do now19:28
Alex_GaynorExpose JIT params at applevel! :)19:29
fijalAlex_Gaynor: permission denied19:29
Alex_Gaynorheh19:30
fijalwtf19:32
Alex_Gaynor?19:33
fijaluh19:34
fijalreshape is pretty screwed up :/19:35
Alex_Gaynorfijal: You may recall I complained about this a while ago, it's totally broken for 0-d arrays19:37
Alex_GaynorI guess you can make reshape work, but not .shape = for them19:38
AlekSi (~AlekSi@176.57.74.133) left irc: Remote host closed the connection19:39
fijalno, it's just broken19:39
fijalnot only for 0-d arrays19:39
Alex_Gaynoroh, great19:40
fijalit starts with get_shape_from_iterable19:40
oxnard (oxnard@ws29-ilnk.elkhart.net) left #pypy ("Leaving").19:41
fijalwhich was written for determining shape from array(stuff)19:41
fijal:/19:41
Alex_Gaynorwhat's wrong with get_shape_from_iterable?19:42
fijalset_shape gets a tuple with shape right?19:43
fijalget_shape_from_iterable determines shape based on iterable19:43
fijalso [1, 1, 1] has shape [3]19:43
`fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) joined #pypy.19:43
fijalwhile (1, 1, 1) should have shape [1, 1, 1]19:43
Alex_Gaynoryou'er confusing what get_shape_from_iterable is for19:43
Alex_Gaynorit's exclusivley (AFAIK) for ndarray.reshape()19:44
Alex_Gaynorit's not for detecting the shape for array(obj)19:44
fijalah ok19:46
fijalthen it's just for scalars no?19:47
Nick change: mwhudson_ -> mwhudson19:49
amaury_rguillebert: I'm trying to fix translation issues in UNPACK_EX implementation19:56
fijalmwhudson: ping?19:58
fijalever seen19:59
fijalE: pycompile:240: Requested versions are not installed19:59
CIA-1703dripton 07roundup * 10#986/Problems with timezones in datetime.datetime: dupe of 972 * 14https://bugs.pypy.org/issue98620:00
mtigas (~mtigas@users.spokesman.com) left irc: Quit: mtigas20:02
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 252 seconds20:03
mwhudsonfijal: hi20:03
mwhudsonfijal: no, what's the context?20:03
lizardo (~lizardo@189.2.128.130) left irc: Ping timeout: 248 seconds20:04
`fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer20:05
k_bx (~k_bx@195.20.130.1) left irc: Ping timeout: 255 seconds20:05
`fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) joined #pypy.20:05
lesshaste (~lesshaste@87-194-206-189.bethere.co.uk) joined #pypy.20:10
CIA-1703dripton 07roundup * 10#972/inconsistency with cpython (datetime?): 20:10
CIA-17pypy/lib_pypy/pypy_test/test_datetime.py has an existing failure in function20:10
CIA-17test_more_datetime_rounding, which casts doubts on the current imple ... * 14https://bugs.pypy.org/issue97220:10
`fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) left irc: Ping timeout: 252 seconds20:11
CIA-1703afa 07roundup * 10#972/inconsistency with cpython (datetime?): 20:16
CIA-17CPython 3.2 also has a datetime.py. Does it show the same behavior? If yes, you20:16
CIA-17could also propose your patch to the CPython bug tracker. * 14https://bugs.pypy.org/issue97220:16
mattip (4fb57ccd@gateway/web/freenode/ip.79.181.124.205) joined #pypy.20:16
lizardo (~lizardo@189.2.128.130) joined #pypy.20:18
mattipfijal: any chance you can look at the matrixmath-dot branch and give me some feedback?20:21
mattip@Alex_Gaynor: ping20:29
mattipOr actually whoever cares :)20:29
mattipI'm collecting reshape bugs here http://paste.pocoo.org/show/536905 please add your favorite failing test.20:30
bivab (~david@89-40.5-85.cust.bluewin.ch) joined #pypy.20:30
Alex_Gaynorpong20:30
Alex_Gaynormattip: Any reshape with a scalar array will fail, I don't have any others though.20:31
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.20:31
mattiphow can you reshape a zero-size array?20:31
exarkunit could be a six-dimensional array with no data in it20:32
exarkunor it could be a one-dimensional array with no data in it20:32
Alex_Gaynorarray(1).reshape(1, 1) turns it into a [[1]]20:32
exarkunreshaping it completely sensible20:32
DasIch_ (~DasIch@p4FFDCEA5.dip.t-dialin.net) joined #pypy.20:33
DasIch (~DasIch@p4FFDF136.dip.t-dialin.net) left irc: Ping timeout: 240 seconds20:35
Nick change: DasIch_ -> DasIch20:35
mattipexarkun: well, what do you know. This works in numpy:  numpy.array([]).reshape(1,0,1,1).shape == (1,0,1,1)20:35
mattipit also works correctly in numpypy20:36
mattipI guess I just didn't remember what I did.20:38
ousado (~ousado@unaffiliated/ousado) left irc: Quit: bye20:39
exarkunheh20:39
ousado (~ousado@31-18-121-45-dynip.superkabel.de) joined #pypy.20:39
ousado (~ousado@31-18-121-45-dynip.superkabel.de) left irc: Changing host20:39
ousado (~ousado@unaffiliated/ousado) joined #pypy.20:39
mattipthere are naysayers who claim we need more tests. To them I say:20:41
mattipwell, yes, you're absolutely right.20:41
CIA-1703dripton 07roundup * 10#972/inconsistency with cpython (datetime?): 20:42
CIA-17CPython 3.2 datetime.py has a fix to utcfromtimestamp, from 2010. Copying that20:42
CIA-17function from CPython 3.2's version to lib_pypy's version works.20:42
CIA-17... * 14https://bugs.pypy.org/issue97220:42
antocuni (~antocuni@89-40.5-85.cust.bluewin.ch) joined #pypy.20:51
fijalhttp://blogs.adobe.com/avikchaudhuri/2012/01/17/the-v8-myth-why-javascript-is-not-a-worthy-competitor/20:53
lesshastehi fijal 20:53
fijalmwhudson: trying to upgrade ubuntu and failing pretty horribly :/20:54
fijalit won't install python2.720:54
lesshasteI gave in and ran the pypy versus shedskin tests on those benchmarks just now20:54
mwhudsonfijal: huh strange20:54
mwhudsonfijal: can you post a bit more log?20:54
lesshastepypy does very well except .. slower than cpython on dict as we discussed and a little slow in general on sudoku solving20:54
Alex_Gaynorfijal: what an idiotic article, if I thought adobe had compotent engineers I'd say they should be emberassed20:54
fijalmwhudson: I would love to20:54
lesshasteand also uses a lot of RAM it seems on the sudoku test20:55
lesshasteFWIW20:55
fijalmwhudson: http://paste.pocoo.org/show/536930/20:55
fijalthe entire log20:55
fijalmwhudson: if you tell me how to get more log I can 20:55
Alex_Gaynorfijal: Jesus, this article is awful.20:56
MostAwesomeDudeWhat a content-free rant.20:56
fijalamaury_: will you commit datetime changes to pypy?20:56
MostAwesomeDudeI mean, I don't like JS either, but that isn't really a useful or helpful post.20:56
lesshastein one test shedskin is 9 times slower than pypy :)20:56
Action: amaury_ looking at patch20:57
ousado (~ousado@unaffiliated/ousado) left irc: Remote host closed the connection20:57
kenaan12mattip numpypy-reshape 1195362a60e6b8 15/pypy/module/micronumpy/test/test_numarray.py: add (still not enough) failing tests20:57
mattipshop is open for more reshape tests. feel free to hammer away.20:58
fijalAlex_Gaynor: I think adobe & flash are circling the toilet anyway20:58
berkerpeksag (~berkerpek@46.197.8.7) joined #pypy.20:58
CIA-1703Dmitrey 07roundup * 10#1010/numpypy: commit the code for array_equal: 21:00
CIA-17[new] Code has been taken from CPython numpy and a little bit reworked for current21:00
CIA-17numpypy implementation.21:00
CIA-17http://pastebin.com/9CN0k9Tx * 14https://bugs.pypy.org/issue101021:00
fijalcool21:01
fijalAlex_Gaynor: can you look at that, I'm having a weekend today :)21:01
Alex_Gaynorfijal: at #1010?21:01
fijalyeah21:01
mwhudsonfijal: do you have python2.7 installed already?  i.e. is this install or upgrade?21:01
fijalmwhudson: upgrade21:01
fijalmwhudson: but at this stage I can't remove it or anything21:01
Alex_Gaynorfijal: it's totally not commit ready, it's not even a patch, I'm too tired to provide feedback ATM though21:02
fijalAlex_Gaynor: okey21:02
fijalAlex_Gaynor: can you put this on your todo list :)21:02
Alex_Gaynorfijal: feedbacking this?  I guess21:02
fijalwell, if you don't do it today, I'll do it tomorrow it's fine21:02
azanella (~azanella@189.6.80.131) left irc: Read error: Operation timed out21:05
mwhudsonfijal: can you run sudo /usr/share/python/runtime.d/public_modules.rtinstall '' python2.7 '' '' ?21:05
mwhudsoni expect it will fail with E: pycompile:240: Requested versions are not installed21:06
`fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) joined #pypy.21:07
mattip@Alex_Gaynor: can I discuss the reshape-on-scalar with you?21:07
fijalE: pycompile:240: Requested versions are not installed21:07
fijalmattip: yes21:07
fijalmattip: with me as well21:07
Alex_Gaynormattip: reshape() on scalar shouldn't be too hard, but doing scalar.shape = <something> will be impossible21:07
fijalI think it's fine to raise some error21:08
mattipreshape() on scalar need to promote it to a real array. Is this what we want?21:08
Alex_Gaynorwell, it needs to reutrn a real array, yes21:08
fijallike you would get right now if you try to setshape with something silly21:08
Alex_Gaynorthis would be easier if Scalar was just a normal NDimArray21:09
Alex_Gaynorbut we can't do that as long as they're the intermediary for other things21:09
mattips/scalar/Scalar/21:09
mattipcurrently Scalar has no shape.21:09
fijalAlex_Gaynor: I wanted you to remove that :)21:09
lizardo (~lizardo@189.2.128.130) left irc: Ping timeout: 240 seconds21:09
fijalmattip: no, it has shape21:09
fijalit's just not stored on an instance, because it's 0-d21:10
Alex_Gaynorfijal: MAYBE I WILL! ;]21:10
Action: mwhudson gives up, asks for help21:10
Alex_Gaynorfijal: well, even if I fix that for numpy.add(2, 3) it'll still be a problem21:10
Alex_Gaynorfijal: because 2 + array will cause a getinteriorfield_raw for the 221:11
Alex_Gaynorwell, maybe I can avoid this with a clever iterator or so21:11
Alex_GaynorI'll work on it21:11
mwhudsonfijal: can you run21:11
mwhudsonpython -c "import sys; sys.path.insert(1, '/usr/share/python/'); from debpython.version import get_requested_versions; print get_requested_versions(None, available=True)"21:11
mwhudsonfor me?21:11
fijalmattip: I think for now if you want to set shape on Scalar it's fine to raise applevel IndexError21:12
fijalor something21:12
fijalmwhudson: sure21:12
fijalset([(2, 6)])21:12
fijalmwhudson: that's a very magic incantation :)21:12
mwhudsonfijal: no kidding21:12
fijalmwhudson: you can get an ssh account for what is worth :)21:12
mattipfijal: ok21:12
mwhudsonfijal: oh, that might help21:12
mwhudsoni also appear to have the FLUFL's attention21:13
Alex_Gaynorfijal, mattip: I'm goign to get lunch, then I'll try to kill Scalars21:13
mwhudsonfijal: which version of ubuntu is this?21:13
mwhudsonfijal: also https://launchpad.net/~mwhudson/+sshkeys :)21:14
fijalmwhudson: maverick I think?21:15
fijalmaybe even one less :)21:15
fijallucid21:15
mattipok. On to flatitter.21:15
ousado (~ousado@31-18-121-45-dynip.superkabel.de) joined #pypy.21:15
fijalmwhudson: lucid21:17
berkerpeksagHi! Can anyone suggest me a bug to start? I'd like to work on the RPython toolchain(and maybe tests?).21:20
Action: amaury_ would like a % operator which supports unicode21:22
`fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) left irc: Read error: Connection reset by peer21:22
`fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) joined #pypy.21:27
Alex_Gaynorfijal: What exactly is force_token()?21:38
fijalhaha :)21:39
fijalit's exactly the description of virtualizable state21:39
Alex_Gaynorfijal: specifically is there a penalty to generating 500 of them: http://paste.pocoo.org/show/536956/21:39
bivab (~david@89-40.5-85.cust.bluewin.ch) left irc: Quit: bivab21:39
fijalAlex_Gaynor: no21:39
fijalAlex_Gaynor: it's like mov eax, ebp or so21:39
Alex_Gaynorfijal: it doesn't waste ergisters or anything?21:39
fijal(it's frame pointer address)21:40
Alex_Gaynorare you sure it generates an instruction? all of those have the same offset21:40
fijalnot necesarilly21:40
fijalit might just track ebp21:40
Alex_Gaynorok, so no instructions or registers wasted21:41
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 272 seconds21:44
ericflo (~ericflo@c-50-131-58-97.hsd1.ca.comcast.net) joined #pypy.21:46
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.21:56
`fox` (~fox@host19-111-dynamic.20-79-r.retail.telecomitalia.it) left irc: Ping timeout: 244 seconds21:59
bbot23Success: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/1018 [12fijal]21:59
stakkars_ (~tismer@88.130.181.110) joined #pypy.22:00
fijalpfff22:00
Eruquen (Eruquen@server3.raumopol.de) left irc: Quit: waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah22:00
stargaming (stargaming@unaffiliated/stargaming) left irc: Quit: Quit22:00
dmalcolm (david@nat/redhat/x-nogddzigzypbvehr) left irc: Read error: Connection reset by peer22:01
dmalcolm (david@nat/redhat/x-pcfpauncgbzuxmew) joined #pypy.22:01
Eruquen (Eruquen@server3.raumopol.de) joined #pypy.22:01
DanielHolth (~daniel@209.251.142.125) left irc: Quit: Leaving22:03
stakkars_ (~tismer@88.130.181.110) left irc: Ping timeout: 252 seconds22:04
oal (u4126@gateway/web/irccloud.com/x-ojgqdwkhupfkmnjx) left irc: Read error: Connection reset by peer22:06
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-tmrunrthqkacfnfp) left irc: Read error: Connection reset by peer22:06
bfirsh (u1308@gateway/web/irccloud.com/x-ftlwdepijpelspgp) left irc: Remote host closed the connection22:06
icrazyhack (~horieyui@222.47.134.145) joined #pypy.22:06
lesshaste (~lesshaste@87-194-206-189.bethere.co.uk) left irc: Quit: Leaving22:08
Alex_Gaynor (u1246@gateway/web/irccloud.com/x-wxrjennfvylbfocx) joined #pypy.22:08
#pypy: mode change '+o Alex_Gaynor' by ChanServ!ChanServ@services.22:08
bfirsh (u1308@gateway/web/irccloud.com/x-vnszrpbmopdavihq) joined #pypy.22:10
mikefcfijal: ping22:11
dmalcolm (david@nat/redhat/x-pcfpauncgbzuxmew) left irc: Read error: Connection reset by peer22:11
dmalcolm (david@nat/redhat/x-umhxqbylxvguiplb) joined #pypy.22:11
stargaming (stargaming@server3.raumopol.de) joined #pypy.22:13
mat^2 (~mathias@212.130.113.35) left irc: Ping timeout: 252 seconds22:17
elipsion (~elipsion@81-232-141-35-no217.tbcn.telia.com) left irc: Ping timeout: 252 seconds22:18
Alex_Gaynorfijal: WTF is wrong with numpy: http://bpaste.net/show/22055/22:18
elipsion (~elipsion@81-232-141-35-no217.tbcn.telia.com) joined #pypy.22:18
mattipthey too need more tests?22:20
mikefcfijal:  I had an attempt at interp level diag: http://paste.pocoo.org/show/536709/   I'd be interested in any feedback.  (I have to go to work now, so I'm just throwing this out there if you get the chance for a look)22:20
Alex_Gaynorfijal: I forget, what does http://paste.pocoo.org/show/536971/ mean?22:22
Nick change: _habnabit -> _theresa22:23
Nick change: _theresa -> _habnabit22:25
mattipmaybe do get_concrete() and use the result instead of self? Ahh no, you are in __init__22:25
Alex_Gaynoryes, self really should have the correct annotation :)22:25
Alex_Gaynorfijal and I debugged this once before, I just don't remeber what causes it22:25
oal (u4126@gateway/web/irccloud.com/x-qttccmaudkvbcems) joined #pypy.22:27
mattipI guess saying "trying to set shape on a BaseArray instead of one of its children" is too simplistic.22:28
Alex_Gaynorfijal: ok, I just pushed teh Scalar killing code, however it needs some new Signature support otherwise you get extra int_adds and getinteriorfield_raws22:40
kenaan12alex_gaynor default 110b188f082267 15/pypy/module/_codecs/test/test_ztranslation.py: Added ztranslation tests for _codecs22:43
kenaan12alex_gaynor numpypy-remove-scalar 116cb068520d24 15/pypy/module/micronumpy/: Remove scalar. It needs some new support in signatures though.22:43
kenaan12alex_gaynor default 11f254dc780358 15/pypy/module/_codecs/test/test_ztranslation.py: merged default22:43
berkerpeksag (~berkerpek@46.197.8.7) left irc: Quit: Leaving22:46
tumbleweeddoes anyone look after freebsd? I'm getting some test lockups on gnukfreebsd that look locking related22:53
JaRoel|4d (~jaroel|4d@office.fourdigits.nl) left irc: Remote host closed the connection22:53
Tobu (~Tobu@unaffiliated/tobu) left irc: Read error: Operation timed out22:54
tilgovi (~randall@couchdb/developer/tilgovi) joined #pypy.22:55
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.22:56
bbot2Started: 15http://buildbot.pypy.org/builders/own-macosx-x86-32/builds/78023:00
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64/builds/20923:00
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-32/builds/101923:00
bbot2Started: 15http://buildbot.pypy.org/builders/jit-benchmark-linux-x86-64-2/builds/3623:00
antocuni (~antocuni@89-40.5-85.cust.bluewin.ch) left irc: Ping timeout: 252 seconds23:01
mvt (~mvantelli@53530442.cm-6-4a.dynamic.ziggo.nl) left irc: Quit: This computer has gone to sleep23:01
nedbat (~nedbat@python/psf/nedbat) left irc: Ping timeout: 255 seconds23:10
kenaan12amauryfa py3k 11fc8fcd7a4f56 15/pypy/module/thread/: Test and fix RLock context manager.23:11
kenaan12amauryfa py3k 11a218f270838c 15/lib_pypy/binascii.py: Fix octal notation in binascii.py23:11
kenaan12amauryfa py3k 118b47ef4c3162 15/: Fixes for the struct module: the builtin part is now named _struct.23:11
kenaan12amauryfa py3k 11af6e253e47d6 15/pypy/interpreter/pyopcode.py: Fix translation23:11
mikefc_ (9665bcc5@gateway/web/freenode/ip.150.101.188.197) joined #pypy.23:13
Nick change: mikefc_ -> mikefc_work23:13
amaury_ (~amaury_@46-127-23-192.dynamic.hispeed.ch) left irc: Ping timeout: 276 seconds23:21
ousado (~ousado@31-18-121-45-dynip.superkabel.de) left irc: Quit: bye23:22
ousado (~ousado@31-18-121-45-dynip.superkabel.de) joined #pypy.23:23
whitelynx (~whitelynx@63.241.75.144) left irc: Quit: Ex-Chat23:25
fprimex (~fprimex@brent-macbook.sc.fsu.edu) left irc: Quit: http://www.fprimex.com23:29
Tobu (~Tobu@unaffiliated/tobu) left irc: Ping timeout: 252 seconds23:30
rguillebert (~rguillebe@89-40.5-85.cust.bluewin.ch) left irc: Quit: Quitte23:37
tilgovi (~randall@couchdb/developer/tilgovi) left irc: Ping timeout: 252 seconds23:42
icrazyhack (~horieyui@222.47.134.145) left irc: Quit: http://www.cnblogs.com/crazyhack23:43
nedbat (~nedbat@python/psf/nedbat) joined #pypy.23:44
dmalcolm (david@nat/redhat/x-umhxqbylxvguiplb) left irc: Quit: Leaving23:56
Tobu (~Tobu@unaffiliated/tobu) joined #pypy.23:56
Rhy0lite (dje@nat/ibm/x-iiexvveqhenxcwir) left irc: Quit: Leaving23:59
--- Thu Jan 19 201200:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!